/* The homepage: one screen on a desktop, two on a phone. Light only. */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/fraunces-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/fraunces-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-greek-wght-normal.woff2) format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

:root {
  --bg: #ecebe7;
  --panel: #f8f7f4;
  --card: #ffffff;
  --ink: #1d1d1b;
  --muted: #6b6a66;
  --line: #d9d7d1;
  --accent: #2f72d6;
  --accent-ink: #1d4fa0;
  --wood-100: #f3eadc;
  --wood-300: #d9bf96;
  --wood-500: #a9773f;
  --wood-700: #5e3f21;
  --radius: 8px;
  --radius-photo: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  /* the page edges line up with the 1280 px content column on wide screens */
  --edge: max(var(--gutter), calc((100% - 1280px) / 2 + var(--gutter)));
  --serif: "Fraunces", "Inter", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------------------------------------ wordmark */
/* Any short name drops in: the type carries it, the ruler tick is the mark. */
.wordmark {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.wordmark svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--wood-500); stroke-width: 1.6; stroke-linecap: round; }
.wordmark.small { font-size: 16px; gap: 7px; }
.wordmark.small svg { width: 17px; height: 17px; }

/* ----------------------------------------------------------------- top */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--edge);
}
.top select {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-size: 14px; color: var(--ink);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236b6a66' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center / 10px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 7px 30px 7px 12px; cursor: pointer;
}
.top select:hover { border-color: var(--muted); }

/* ---------------------------------------------------------------- hero */
.home {
  flex: 1; width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3.2vh, 36px);
}
.hero {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px); align-items: center;
}
.copy { display: flex; flex-direction: column; gap: 28px; }
h1 {
  margin: 0; font-family: var(--serif); font-weight: 600;
  font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.02em;
  max-width: 13ch; text-wrap: balance;
}
.go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.start {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 28px; border-radius: var(--radius);
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 17px;
  transition: background-color 0.15s ease;
}
.start:hover { background: var(--accent-ink); }
.continue { font-weight: 500; font-size: 15px; color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--wood-500); }
.continue:hover { color: var(--wood-700); }

.steps {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: 15px; font-weight: 500; color: var(--muted);
}
.steps li { display: inline-flex; align-items: center; gap: 9px; }
.steps .n {
  display: inline-grid; place-items: center; width: 24px; height: 24px;
  border: 1px solid var(--wood-300); border-radius: 50%;
  font-family: var(--serif); font-size: 13px; color: var(--wood-700);
  font-variant-numeric: tabular-nums;
}

.photo { display: block; }
.photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3;
  max-height: min(58vh, 620px); object-fit: cover;
  border-radius: var(--radius-photo); background: var(--wood-100);
}

/* --------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.card {
  display: flex; align-items: center; gap: 14px; min-height: 76px;
  padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: 16px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--wood-500); transform: translateY(-2px); }
.card svg { width: 46px; height: 46px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

/* -------------------------------------------------------------- footer */
.foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: clamp(20px, 3.2vh, 36px);
  padding: 16px var(--edge) calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.foot .wordmark { color: var(--ink); }
.foot .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.foot .links a { color: var(--muted); text-decoration: none; }
.foot .links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot { flex-wrap: wrap; }
.foot .contact { flex-basis: 100%; order: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-style: normal; }
.foot .contact strong { color: var(--ink); font-weight: 600; }
.foot .contact a { color: var(--muted); }
.foot .contact a:hover { color: var(--ink); }
.foot .contact .delivery { flex-basis: 100%; text-align: center; }

/* ------------------------------------------------- contact and requests */
.info {
  flex: 1; width: 100%; max-width: 760px; margin: 0 auto;
  padding: clamp(8px, 2vh, 24px) var(--gutter) 0;
}
.info h1 { max-width: none; font-size: clamp(32px, 3.6vw, 46px); }
.info .lead { font-size: 19px; line-height: 1.5; color: var(--ink); margin: 16px 0 8px; }

.inq { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 8px; }
.inq .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inq .field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 550; }
.inq input, .inq select, .inq textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 12px; width: 100%;
}
.inq textarea { resize: vertical; min-height: 140px; }
.inq input:focus, .inq select:focus, .inq textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.inq .note { margin: 0; font-size: 14px; color: var(--muted); }
.inq .start { align-self: flex-start; border: 0; cursor: pointer; font-family: inherit; }
.inq .start:disabled { opacity: 0.6; cursor: wait; }
.inq .msg { margin: 0; min-height: 1.4em; font-weight: 550; color: #a3361f; }
.inq .msg.ok { color: #2f6b3a; }
/* the honeypot: out of sight, not display:none (some bots skip those) */
.inq .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .card, .start { transition: none; }
  .card:hover { transform: none; }
}

/* --------------------------------------------------------------- phone */
@media (max-width: 899px) {
  .foot { flex-wrap: wrap; justify-content: center; text-align: center; }
  .foot .links { order: 3; flex-basis: 100%; }
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .copy { gap: 22px; }
  h1 { max-width: 16ch; }
  .photo img { max-height: none; }
  .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card:first-child, .card:last-child { grid-column: span 2; }
  .card { flex-direction: column; justify-content: center; gap: 8px; min-height: 112px; text-align: center; font-size: 15px; }
  .card svg { width: 44px; height: 44px; }
}
@media (max-width: 520px) {
  .inq .pair { grid-template-columns: 1fr; }
  .inq .start { align-self: stretch; }
  .top { padding-top: 14px; padding-bottom: 14px; }
  .wordmark { font-size: 19px; }
  .start { flex: 1 1 100%; }
  .go { gap: 14px; }
  .continue { margin: 0 auto; }
  .steps { gap: 8px 20px; font-size: 14px; }
}

/* the design assistant (designer phase F): describe it, the builder opens with it */
.ask { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.ask label { font-weight: 600; font-size: 16px; }
.ask-row { display: flex; gap: 12px; align-items: stretch; }
.ask textarea {
  flex: 1; min-width: 0; resize: none; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--ink);
  border: 1.5px solid var(--line, #d9d7d1); border-radius: 10px; background: #fff;
}
.ask textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.ask .start { border: 0; cursor: pointer; font-family: inherit; }
@media (max-width: 640px) { .ask-row { flex-direction: column; } }
