/* =========================================================
   The Attic Espresso Bar: vintage watercolour theme
   ========================================================= */

:root {
  --paper: #e8cfa8;
  --ink: #4a2c17;
  --ink-2: #634029;
  --ink-soft: #85603f;
  --caramel: #a8683a;
  --line: rgba(74, 44, 23, 0.42);
  --serif: "Caprasimo", "Cooper Black", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --gutter: clamp(18px, 4vw, 64px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis: none; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
main, .site-footer { overflow-x: clip; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-weight: 450;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-2);
  background-color: var(--paper);
  background-image:
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(120, 70, 30, 0.16) 100%),
    url("../img/parchment.jpg");
  background-size: 100% 100%, 1100px auto;
  background-attachment: fixed, scroll;
  /* clip (not hidden) so the body doesn't become a scroll box, which would stop the sticky phone header */
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 550; color: var(--ink); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px dashed var(--caramel); outline-offset: 4px; border-radius: 6px; }

.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
  color: var(--ink);
}
.h1 { font-size: clamp(32px, 4.1vw, 60px); }
.h2 { font-size: clamp(26px, 2.8vw, 42px); }
.h3 { font-size: clamp(20px, 1.7vw, 25px); }
.lede { font-size: 15.5px; max-width: 560px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* watercolour art: illustrations are transparent cut-outs */
.art { position: absolute; pointer-events: none; user-select: none; }
.wash { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; filter: brightness(1.14) saturate(0.88); }
.ring {
  position: absolute;
  inset: -16px;
  border: 1.5px dashed var(--line);
  border-radius: 999px;
  pointer-events: none;
}

/* ---------- Arrow link (text + circled arrow) ---------- */

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 550;
  color: var(--ink);
  transition: color 0.25s;
}
.arrow-link svg { width: 46px; height: 26px; flex-shrink: 0; transition: transform 0.35s cubic-bezier(.2, .8, .2, 1); }
.arrow-link:hover { color: var(--caramel); }
.arrow-link:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px var(--gutter) 10px;
  max-width: 1440px;
  margin: 0 auto;
}

.brand { display: inline-flex; flex-direction: column; align-items: center; width: fit-content; line-height: 1; color: var(--ink); }
.brand-mark { width: 34px; height: 30px; margin-bottom: 2px; }
.brand-name { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: 0.01em; text-transform: uppercase; }
.brand-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 8.5px;
  font-weight: 550;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.brand-sub::before, .brand-sub::after { content: ""; width: 14px; height: 1px; background: currentColor; }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); font-size: 13.5px; font-weight: 550; }
.main-nav a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; color: var(--ink-2); transition: color 0.25s; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a svg { width: 15px; height: 15px; }

.header-icons { display: flex; justify-content: flex-end; gap: 14px; }
.header-icons a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink); transition: background-color 0.25s; }
.header-icons a:hover { background: rgba(74, 44, 23, 0.08); }
.header-icons svg { width: 19px; height: 19px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px dashed var(--line); position: relative; justify-self: end; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform 0.3s, top 0.3s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- HOME: Hero ---------- */

.hero { position: relative; max-width: 1440px; margin: 0 auto; padding: 46px 0 0; min-height: clamp(620px, 66vw, 960px); }

.hero-stage {
  position: relative;
  width: 78%;
  margin: 34px auto 0;
  aspect-ratio: 2.05;
}

/* The pill-shaped watercolour wash: light caramel on top, deeper coffee at the base,
   soft dry-brush edges (SVG filter #f-brush), watercolour blotches and paper grain inside. */
.hero-wash {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  overflow: hidden;
  background:
    radial-gradient(64% 60% at 50% 28%, rgba(252, 238, 214, 0.7), transparent 72%),
    linear-gradient(180deg, #ead0a8 0%, #e0bf93 34%, #cc9a63 68%, #a5683a 92%, #8f5529 100%);
  filter: url(#f-brush);
}
.hero-wash::before {
  content: "";
  position: absolute;
  inset: -6%;
  background: url("../img/wash-wide.webp") center / 100% 100% no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.16;
}
.hero-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/parchment.jpg") center / 900px auto;
  mix-blend-mode: multiply;
  opacity: 0.45;
}
.hero-stage .ring { inset: -26px -30px; border-radius: 999px; border-width: 1.3px; }

.hero-copy {
  position: relative;
  z-index: 3;
  padding-top: 8.5%;
  text-align: center;
}
.hero-copy h1 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 400;
  color: var(--hero-title, #5c1d0b);
  text-shadow: 0 1px 0 rgba(255, 240, 218, 0.45);
}
.hero-copy p { max-width: 520px; margin: 0 auto 26px; font-size: 14.5px; font-weight: 550; color: #2e1a0c; }
.hero-links { display: flex; justify-content: center; gap: 36px; }

.hero .art-table { z-index: 4; left: 50%; bottom: -32%; width: 54%; translate: -50% 0; }
.hero .art-man { z-index: 5; left: 0; top: 50%; width: clamp(140px, 15vw, 230px); }
.hero .art-woman { z-index: 5; right: 1%; top: 9%; width: clamp(140px, 15vw, 222px); }
.hero .art-moka { z-index: 5; right: 0; top: 70%; width: clamp(140px, 15vw, 220px); }

/* ---------- Split sections ---------- */

.split { position: relative; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: clamp(420px, 44vw, 640px); }
.split-copy { position: relative; z-index: 2; padding: 0 var(--gutter); }
.split-copy h2 { margin-bottom: 26px; max-width: 520px; }
.split-copy p { max-width: 470px; font-size: 14px; }
.split-copy .arrow-link { margin-top: 12px; }

.blob { position: relative; height: 100%; min-height: inherit; }
.blob .wash { inset: 6% -8% 6% 4%; width: auto; height: auto; }
.blob-left .wash { inset: 6% 4% 6% -8%; transform: scaleX(-1); }
.blob .art-main { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 74%; }

.charm { padding-top: 40px; }
.charm .blob .wash { inset: 2% -34% 2% 6%; }
.charm .blob .art-main { width: 72%; translate: -40% -52%; }
.brewed .blob .wash { inset: 2% 6% 2% -34%; }

.brewed .split-copy { padding-left: 0; padding-right: var(--gutter); }
.brewed .blob .art-main { width: 62%; translate: -55% -50%; }
/* Home page: size the brown shape exactly (an image with width:auto ignores the right inset) and
   put the quiche dead centre on it */
.page-home .brewed .blob .wash { top: 3%; bottom: auto; left: -6%; right: auto; width: 96%; height: 94%; }
.page-home .brewed .blob .art-main { left: 44.5%; top: 47%; width: 58%; translate: -50% -50%; }
.brewed .art-kettle { right: 0; bottom: -12%; width: clamp(150px, 15vw, 230px); z-index: 3; }

.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; max-width: 520px; }
.feature-pair h3, .mini-feature h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
  margin-bottom: 8px;
}
.feature-pair p, .mini-feature p { font-size: 12.5px; line-height: 1.6; margin: 0; }
.icon-pot { width: 22px; height: 18px; color: var(--ink); flex-shrink: 0; }

/* ---------- Menu cards (arches) ---------- */

.comfort { position: relative; max-width: 1440px; margin: 0 auto; padding: clamp(70px, 8vw, 120px) 0 clamp(40px, 5vw, 80px); }
.comfort-head { text-align: center; margin-bottom: clamp(34px, 4vw, 54px); }
.comfort-head p { font-size: 13.5px; margin-top: 18px; }
.comfort .art-flowers { left: -2%; top: 52%; width: clamp(110px, 12vw, 190px); z-index: 0; }

.arch-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 44px) clamp(16px, 2.6vw, 40px);
  width: min(1240px, 100% - 2 * var(--gutter));
  margin: 0 auto;
}
.arch {
  position: relative;
  aspect-ratio: 0.73;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10% 13%;
  text-align: center;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(.2, .8, .2, 1);
}
.arch .wash { z-index: -1; }
.arch:nth-child(even) .wash { transform: scaleX(-1); }
.arch:hover { transform: translateY(-6px) rotate(-0.6deg); }
.arch .art-item { position: absolute; left: 50%; top: 9%; width: 66%; translate: -50% 0; transition: transform 0.4s cubic-bezier(.2, .8, .2, 1); }
.arch:hover .art-item { transform: scale(1.05) rotate(2deg); }
/* Home only: the long black and mocha drawings are slimmer than the rest, so scale them up and line them up with their row */
.page-home .arch .art-press { width: 78%; top: 11%; translate: -48% 0; }
.page-home .arch .art-mocha { width: 76%; top: 8.3%; translate: -55% 0; }
.arch h3 { font-family: var(--sans); font-size: clamp(14px, 1.15vw, 17px); font-weight: 550; color: #3a2312; margin-bottom: 10px; }
.arch .price { font-size: clamp(15px, 1.25vw, 19px); font-weight: 650; color: #3a2312; letter-spacing: 0.02em; }
.arch p.desc { font-size: 12.5px; line-height: 1.5; margin: -4px 0 10px; color: var(--ink-2); }

/* ---------- Slow down ---------- */

.slow { position: relative; max-width: 1440px; margin: 0 auto; padding: clamp(60px, 7vw, 100px) 0 clamp(40px, 5vw, 70px); }
.slow-head { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 40px; }
.slow-head p { font-size: 13px; max-width: 400px; margin-bottom: 14px; }
.slow-stage { position: relative; height: clamp(440px, 46vw, 660px); margin-top: 10px; }
.slow-oval { position: absolute; left: 50%; top: 8%; width: clamp(320px, 37vw, 540px); aspect-ratio: 1.02; translate: -50% 0; }
.slow-oval .art-couple { position: absolute; left: 50%; top: 52%; width: 92%; translate: -50% -50%; z-index: 2; }
.slow .art-sack { left: 0; top: 3%; width: clamp(130px, 14vw, 220px); }
.slow .art-sidetable { right: 1%; bottom: -2%; width: clamp(120px, 13vw, 200px); }
/* left column: Local Roast + Warm Hospitality, then Slow Moments underneath */
.slow .slow-notes { position: absolute; left: var(--gutter); bottom: 12%; display: grid; gap: 30px; }
.slow .mini-feature { position: static; max-width: 230px; }
.slow .mf-right { display: grid; gap: 18px; }

/* ---------- Moments carousel ---------- */

.moments { position: relative; max-width: 1440px; margin: 0 auto; padding: clamp(40px, 5vw, 70px) 0 clamp(60px, 7vw, 100px); text-align: center; }
.moments-head p { font-size: 13px; max-width: 470px; margin: 18px auto 0; }
.moment-row { display: grid; grid-template-columns: 1fr 1.45fr 1fr; align-items: center; gap: clamp(12px, 2vw, 30px); width: min(1160px, 100% - 2 * var(--gutter)); margin: clamp(34px, 4vw, 54px) auto 30px; }
.moment {
  position: relative;
  aspect-ratio: 1.9;
  display: grid;
  place-content: center;
  padding: 0 14%;
  isolation: isolate;
  transition: opacity 0.4s, transform 0.4s;
}
.moment .wash { z-index: -1; }
.moment.is-main { aspect-ratio: 1.75; }
.moment h3 { font-family: var(--serif); font-size: clamp(16px, 1.4vw, 21px); font-weight: 400; color: var(--ink); margin-bottom: 4px; }
.moment p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #4a2c17; }
.moment .moment-icon { width: clamp(46px, 5vw, 70px); margin: 0 auto 6px; }
.moment.is-swapping { opacity: 0; transform: translateY(8px); }

.carousel-btns { display: flex; justify-content: center; gap: 4px; }
.carousel-btns button { width: 46px; height: 28px; color: var(--ink); transition: transform 0.3s; }
.carousel-btns button:hover { transform: scale(1.1); }
.carousel-btns svg { width: 100%; height: 100%; }
.moments .art-grinder { right: 1%; bottom: -14%; width: clamp(120px, 12vw, 190px); z-index: 3; }

/* ---------- Footer ---------- */

.site-footer { position: relative; max-width: 1440px; margin: 0 auto; padding: 40px 0 0; }
.footer-stage { position: relative; width: 86%; margin: 0 auto; padding: clamp(40px, 5vw, 70px) clamp(30px, 6vw, 110px) clamp(40px, 4vw, 60px); isolation: isolate; }
.footer-stage .wash { z-index: -1; filter: brightness(1.3) saturate(0.8); }
.footer-stage .ring { inset: -18px; border-radius: 280px / 50%; }
.footer-nav { display: flex; justify-content: center; align-items: center; gap: clamp(26px, 5vw, 80px); font-size: 14.5px; font-weight: 550; color: #24140a; }
.site-footer { color: #24140a; }
.footer-col ul, .copyright { color: #24140a !important; font-weight: 500; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-nav .art-waiter { position: static; width: 74px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 30px; align-items: start; margin-top: 34px; }
.footer-grid .brand { transform: scale(1.5); transform-origin: left top; margin-top: 6px; }
.footer-col h4 { font-family: var(--serif); font-size: 16px; font-weight: 400; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 12.5px; color: #3a2312; }
.footer-col li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.5; }
.footer-col li svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li a { display: inline-flex; gap: 8px; align-items: flex-start; }
.copyright { text-align: center; font-size: 12px; margin: 38px 0 0; color: #3a2312; }
.site-footer .art-store { left: -1%; bottom: 0; width: clamp(150px, 17vw, 260px); z-index: 2; }
.footer-spacer { height: 30px; }

/* ---------- Inner pages ---------- */

.page-hero { position: relative; max-width: 1440px; margin: 0 auto; padding: 40px 0 20px; }
.page-stage { position: relative; width: min(980px, 100% - 2 * var(--gutter)); aspect-ratio: 2.4; margin: 0 auto; display: grid; place-content: center; text-align: center; isolation: isolate; }
.page-stage .wash { z-index: -1; }
.page-stage .ring { border-radius: 300px / 50%; }
.crumbs { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; color: #3f2614; }
.crumbs a:hover { text-decoration: underline; }
.page-stage p { max-width: 460px; margin: 16px auto 0; font-size: 14px; color: #3f2614; }
.page-hero .art-l { left: 2%; bottom: -6%; width: clamp(120px, 15vw, 230px); }
.page-hero .art-r { right: 2%; bottom: -6%; width: clamp(120px, 15vw, 220px); }

.section { position: relative; max-width: 1440px; margin: 0 auto; padding: clamp(50px, 7vw, 100px) 0; }
.section-head { text-align: center; margin-bottom: clamp(30px, 4vw, 54px); }
.section-head p { font-size: 13.5px; max-width: 520px; margin: 16px auto 0; }

/* menu list */
.menu-board { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 60px); width: min(1120px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.menu-cat { position: relative; padding: clamp(30px, 4vw, 48px) clamp(26px, 4vw, 54px); isolation: isolate; }
.menu-cat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1.5px dashed var(--line);
  border-radius: 34px;
  background: rgba(255, 244, 225, 0.28);
}
.menu-cat h3 { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-weight: 400; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.menu-cat h3 img { width: 52px; }
.menu-line { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px; padding: 9px 0; }
.menu-line + .menu-line { border-top: 1px solid rgba(74, 44, 23, 0.1); }
.menu-line b { font-weight: 550; color: var(--ink); font-size: 15px; }
.menu-line i { border-bottom: 1.5px dotted rgba(74, 44, 23, 0.35); transform: translateY(-4px); }
.menu-line span { font-weight: 650; color: var(--ink); }
.menu-line small { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-soft); margin-top: -4px; }
.menu-note { text-align: center; font-size: 13px; margin-top: 34px; }

/* stories (about) */
.story { position: relative; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: clamp(380px, 40vw, 560px); }
.story .split-copy p { font-size: 14.5px; }

.oval-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 34px); width: min(1180px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.oval-card { position: relative; aspect-ratio: 1.35; display: grid; place-content: center; text-align: center; padding: 0 14%; isolation: isolate; }
.oval-card .wash, .moment .wash, .arch .wash, .cta-band .wash, .page-stage .wash { filter: brightness(1.28) saturate(0.8); }
.oval-card .wash { z-index: -1; }
.oval-card:nth-child(2) .wash { transform: scaleX(-1); }
.oval-card img.ico { width: clamp(60px, 7vw, 100px); margin: 0 auto 6px; }
.oval-card h3 { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 23px); font-weight: 400; margin-bottom: 6px; }
.oval-card p { font-size: 13px; line-height: 1.55; margin: 0; color: #24140a; font-weight: 500; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); width: min(1080px, 100% - 2 * var(--gutter)); margin: 0 auto; counter-reset: step; }
.step { position: relative; padding: 34px 26px 28px; text-align: center; border: 1.5px dashed var(--line); border-radius: 999px 999px 30px 30px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
  color: var(--caramel);
  margin-bottom: 12px;
}
.step h3 { font-family: var(--serif); font-size: 19px; font-weight: 400; margin-bottom: 8px; }
.step p { font-size: 13.5px; margin: 0; }
.note { width: min(760px, 100% - 2 * var(--gutter)); margin: 28px auto 0; text-align: center; font-size: 13px; color: var(--ink-soft); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.6vw, 40px); width: min(1240px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.team-card { aspect-ratio: 0.62; padding-bottom: 12%; }
.team-card .art-item { width: auto; height: 50%; top: 6%; }
.team-card .role { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.team-card h3 { font-family: var(--serif); font-size: clamp(17px, 1.5vw, 22px); font-weight: 400; }
.team-card p.desc { margin: 8px 0 0; }

/* contact */
.info-trio .oval-card p a { text-decoration: underline; text-underline-offset: 3px; }
.find-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; width: min(1180px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.map-frame { position: relative; aspect-ratio: 1.25; padding: 7%; isolation: isolate; }
.map-frame .wash { z-index: -1; }
.map-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 46% 54% 50% 50% / 40% 40% 60% 60%; filter: sepia(0.45) saturate(0.85) contrast(0.95); }

.form-card { position: relative; width: min(860px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: clamp(28px, 5vw, 60px) clamp(22px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; isolation: isolate; }
.form-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1.5px dashed var(--line); border-radius: 46px; background: rgba(255, 244, 225, 0.3); }
.form-card h3 { grid-column: 1 / -1; text-align: center; font-family: var(--serif); font-size: clamp(24px, 2.3vw, 32px); font-weight: 400; margin-bottom: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full, .form-card .btn, .form-status { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 550; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(74, 44, 23, 0.25);
  border-radius: 12px;
  background: rgba(255, 249, 238, 0.75);
  font: 500 14.5px var(--sans);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field ::placeholder { color: #ad8a6c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--caramel); box-shadow: 0 0 0 4px rgba(168, 104, 58, 0.18); }
.field [aria-invalid="true"] { border-color: #a8401c; }
.btn {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  border: 1.5px dashed rgba(255, 240, 220, 0.6);
  background: #6b4024;
  color: #fbecd6;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: 0.04em;
  transition: background-color 0.25s, transform 0.25s;
}
.btn:hover { background: #4a2c17; }
.btn svg { width: 40px; height: 22px; }
.form-status { margin: 0; text-align: center; font-size: 14px; font-weight: 550; min-height: 1.4em; }
.form-status.is-ok { color: #3d6b3a; }
.form-status.is-warn { color: #9a3d14; }

.faq-list { width: min(860px, 100% - 2 * var(--gutter)); margin: 0 auto; display: grid; gap: 10px; }
.faq-list details { border: 1.5px dashed var(--line); border-radius: 26px; background: rgba(255, 244, 225, 0.22); transition: background-color 0.25s; }
.faq-list details[open] { background: rgba(255, 244, 225, 0.5); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; cursor: pointer; font-family: var(--serif); font-size: 17px; font-weight: 400; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--sans); font-size: 22px; font-weight: 450; transition: transform 0.3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 24px 18px; font-size: 14px; }

.cta-band { position: relative; width: min(1080px, 100% - 2 * var(--gutter)); margin: 0 auto; aspect-ratio: 3.2; display: grid; place-content: center; text-align: center; isolation: isolate; }
.cta-band .wash { z-index: -1; }
.cta-band .ring { border-radius: 300px / 50%; }
.cta-band p { font-size: 14px; max-width: 460px; margin: 14px auto 18px; color: #3f2614; }

/* ---------- Reveal ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(.2, .8, .2, 1), transform 0.9s cubic-bezier(.2, .8, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.hero .art, .page-hero .art { animation: drift-in 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.hero .art-woman, .page-hero .art-r { animation-delay: 0.15s; }
.hero .art-moka { animation-delay: 0.3s; }
.hero .art-table { animation-name: table-in; animation-delay: 0.2s; }
@keyframes drift-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes table-in { from { opacity: 0; transform: translateY(30px) scale(0.97); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */

/* Phone-only helpers: hidden on larger screens, switched on in the phone block below */
.nav-extras, .quick-bar, .jump-nav, .footer-nav .mobile-only { display: none; }

@media (max-width: 1080px) {
  .arch-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .brand { transform: scale(1.25); }
}

@media (max-width: 860px) {
  /* ---- Sticky, compact header ---- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    grid-template-columns: 1fr auto;
    padding: 10px 16px;
    background: #e9d0aa url("../img/parchment.jpg") center top / 1100px auto;
    border-bottom: 1px dashed transparent;
    transition: box-shadow 0.3s, border-color 0.3s;
  }
  .site-header.is-scrolled { box-shadow: 0 12px 26px -20px rgba(74, 44, 23, 0.75); border-bottom-color: var(--line); }
  .site-header .brand { display: grid; grid-template-columns: auto auto; column-gap: 9px; align-items: center; justify-items: start; }
  .site-header .brand-mark { grid-row: 1 / 3; width: 30px; height: 27px; margin: 0; }
  .site-header .brand-name { font-size: 19px; }
  .site-header .brand-sub { font-size: 8.5px; letter-spacing: 0.3em; margin-top: 3px; }
  .site-header .brand-sub::before, .site-header .brand-sub::after { display: none; }
  .header-icons { display: none; }
  .nav-toggle { display: block; width: 46px; height: 46px; background: rgba(255, 244, 225, 0.4); }
  .nav-toggle span { left: 13px; right: 13px; }
  .nav-toggle span:first-child { top: 18px; }
  .nav-toggle span:last-child { top: 26px; }
  .nav-toggle[aria-expanded="true"] span:first-child,
  .nav-toggle[aria-expanded="true"] span:last-child { top: 22px; }

  /* ---- Menu panel ---- */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 20px 22px;
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #ecd6b2 url("../img/parchment.jpg") center / 1100px auto;
    border-bottom: 1.5px dashed var(--line);
    box-shadow: 0 30px 50px -30px rgba(74, 44, 23, 0.6);
  }
  .main-nav:not(.is-open) { display: none; }
  .main-nav > a {
    justify-content: space-between;
    width: 100%;
    padding: 15px 4px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 22px;
    color: var(--ink);
    border-bottom: 1px solid rgba(74, 44, 23, 0.12);
  }
  .main-nav > a svg { display: none; }
  .main-nav > a::after {
    content: "\2192";
    position: static;
    height: auto;
    background: none;
    transform: none;
    font-family: var(--sans);
    font-size: 18px;
    color: var(--caramel);
  }
  .main-nav > a[aria-current="page"] { color: var(--caramel); }
  .main-nav > a[aria-current="page"]::after { content: "\2022"; }
  .nav-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  .main-nav .nav-extras .btn { justify-self: stretch; justify-content: center; margin: 0; padding: 14px 10px; font-size: 15px; color: #fbecd6; }
  .main-nav .nav-extras .btn::after { display: none; }
  .nav-extras .btn svg { width: 18px; height: 18px; }
  .main-nav .nav-extras .btn-light { background: rgba(255, 244, 225, 0.55); color: var(--ink); border-color: var(--line); }
  .nav-extras p { grid-column: 1 / -1; margin: 8px 0 0; text-align: center; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
  html.nav-open { overflow: hidden; } /* lock scrolling on the root so the sticky header keeps working */
  body.nav-open::before { content: ""; position: fixed; inset: 0; z-index: 35; background: rgba(40, 22, 10, 0.5); }
  body.nav-open .quick-bar { display: none; }

  .hero { min-height: 0; padding-top: 24px; }
  .hero-stage { width: calc(100% - 20px); aspect-ratio: auto; min-height: 520px; max-height: none; padding-bottom: 210px; }
  .hero-stage .ring { inset: -12px; border-radius: 999px; }
  .hero-wash::before { display: none; }
  .hero-copy { padding: 96px 40px 0; }
  .hero-copy h1 { font-size: clamp(24px, 6.8vw, 32px); }
  .footer-stage { padding-top: 70px !important; padding-bottom: 70px !important; }
  .footer-stage .wash { filter: brightness(1.36) saturate(0.75); }
  .charm .blob .wash, .brewed .blob .wash { inset: 4% 6%; }
  .hero-links { flex-direction: column; align-items: center; gap: 10px; }
  .hero .art-table { width: 82%; bottom: -12%; }
  .hero .art-man { top: auto; bottom: -26%; width: 100px; left: -4px; }
  .hero .art-woman { width: 96px; top: auto; bottom: -24%; right: -4px; }
  .hero .art-moka { display: none; }
  .hero { margin-bottom: 120px; }

  .split, .story { grid-template-columns: 1fr; min-height: 0; }
  .split .blob, .story .blob { height: 340px; min-height: 0; order: 2; }
  .split-copy, .brewed .split-copy { padding: 40px var(--gutter) 0; }
  .blob .wash, .blob-left .wash { inset: 4% 6%; }
  .charm .blob .art-main, .brewed .blob .art-main { width: 70%; translate: -50% -50%; }
  .brewed .art-kettle { width: 120px; bottom: -6%; }
  .feature-pair { grid-template-columns: 1fr; gap: 16px; }

  .comfort .art-flowers { display: none; }
  .arch-grid { gap: 14px; }
  .arch h3 { font-size: 13.5px; margin-bottom: 4px; }

  .slow-head { grid-template-columns: 1fr; gap: 14px; padding: 0 var(--gutter); }
  .slow-stage { height: auto; padding: 260px 0 0; }
  .slow .art-sack { width: 120px; top: -10px; }
  .slow-oval { width: min(400px, 88%); top: 40px; }
  .slow .mini-feature { position: static; margin: 0 var(--gutter) 18px; }
  .slow .mf-right { display: grid; }
  .slow .art-sidetable { display: none; }
  .slow-stage { display: flex; flex-direction: column; }
  .slow-stage .slow-oval { position: relative; left: auto; top: auto; translate: none; margin: -230px auto 30px; }

  .moment-row { grid-template-columns: 1fr; max-width: 420px; }
  .moment:not(.is-main) { display: none; }
  .moments .art-grinder { width: 100px; bottom: -6%; }

  .footer-stage { width: calc(100% - 20px); padding: 48px 26px 40px; }
  .footer-stage .ring { inset: -10px; border-radius: 60px; }
  .footer-stage .wash { border-radius: 50px; }
  .footer-nav { flex-wrap: wrap; gap: 14px 24px; }
  .footer-nav .art-waiter { order: -1; width: 100%; display: flex; justify-content: center; }
  .footer-nav .art-waiter img { width: 64px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; padding: 0 18px; }
  .footer-col li { justify-content: center; text-align: left; }
  .footer-grid .brand { transform: none; margin: 0 auto; }
  .site-footer .art-store { width: 120px; position: relative; left: auto; margin: 10px 0 0 10px; }

  .page-stage { aspect-ratio: auto; min-height: 300px; padding: 50px 20px; }
  .page-stage .ring { border-radius: 120px / 90px; inset: -10px; }
  .page-hero .art-l, .page-hero .art-r { width: 90px; bottom: -14%; }
  .page-hero { margin-bottom: 30px; }

  .menu-board { grid-template-columns: 1fr; }
  .oval-trio, .steps { grid-template-columns: 1fr; max-width: 440px; }
  .find-grid { grid-template-columns: 1fr; }
  .form-card { grid-template-columns: 1fr; }
  .cta-band { aspect-ratio: auto; padding: 60px 26px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .team-card p.desc { display: none; }
}

/* ---------- Phone polish: navigation, tap targets, readability ---------- */
@media (max-width: 860px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); -webkit-tap-highlight-color: rgba(168, 104, 58, 0.15); }
  [id] { scroll-margin-top: calc(var(--header-h, 68px) + 64px); }

  /* Quick-action bar */
  .quick-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    z-index: 45;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding: 5px;
    border-radius: 999px;
    background: #4a2c17;
    box-shadow: 0 18px 30px -14px rgba(40, 22, 10, 0.7);
  }
  .quick-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 54px;
    border-radius: 999px;
    color: #fbecd6;
    font-size: 12.5px;
    font-weight: 550;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.2s;
  }
  .quick-bar a:active, .quick-bar a:hover { background: rgba(251, 236, 214, 0.14); }
  .quick-bar svg { width: 21px; height: 21px; }

  /* Menu page jump links */
  .jump-nav {
    display: flex;
    gap: 8px;
    position: sticky;
    top: var(--header-h, 68px);
    z-index: 30;
    margin: 0 0 6px;
    padding: 10px 16px;
    overflow-x: auto;
    scrollbar-width: none;
    background: #e9d0aa url("../img/parchment.jpg") center / 1100px auto;
    border-bottom: 1px dashed var(--line);
  }
  .jump-nav::-webkit-scrollbar { display: none; }
  .jump-nav a {
    flex: 0 0 auto;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1.5px dashed var(--line);
    background: rgba(255, 244, 225, 0.5);
    font-size: 14px;
    font-weight: 550;
    color: var(--ink);
    transition: background-color 0.2s, color 0.2s;
  }
  .jump-nav a.is-active { background: #4a2c17; color: #fbecd6; border-color: #4a2c17; }

  /* Bigger tap targets */
  .arrow-link { min-height: 46px; font-size: 15px; }
  .carousel-btns { gap: 14px; }
  .carousel-btns button { width: 66px; height: 46px; }
  .crumbs a { display: inline-block; padding: 10px 4px; margin: -10px 0; }
  .footer-nav a { padding: 10px 6px; font-size: 15.5px; }
  .footer-nav .mobile-only { display: inline-block; }
  .footer-col li { padding: 2px 0; }
  .footer-col li a { display: inline-flex; gap: 8px; align-items: flex-start; padding: 11px 0; margin: -11px 0; }
  .site-header .brand { padding: 6px 0; }
  .moment.is-main { aspect-ratio: 1.4; padding: 0 17%; }
  .oval-card p a { display: inline-block; padding: 10px 2px; margin: -10px 0; }
  .faq-list summary { min-height: 56px; }

  /* Readable text sizes */
  .split-copy p, .story .split-copy p, .hero-copy p, .slow-head p, .moments-head p,
  .comfort-head p, .section-head p, .page-stage p, .cta-band p { font-size: 15.5px; line-height: 1.7; }
  .feature-pair p, .mini-feature p, .moment p, .oval-card p, .step p, .menu-line small,
  .menu-note, .footer-col ul, .faq-list details p, .arch p.desc { font-size: 14.5px; }
  .feature-pair h3, .mini-feature h3 { font-size: 16px; }
  .arch h3 { font-size: 15px; }
  .arch .price { font-size: 17px; }
  .team-card .role { font-size: 12px; }
  .copyright { font-size: 13px; }
  .menu-line b { font-size: 16px; }
  .field label { font-size: 14.5px; }

  /* Stop iPhones zooming into form fields */
  .field input, .field select, .field textarea { font-size: 16px; padding: 14px 15px; }
  .form-card .btn { width: 100%; justify-content: center; padding: 16px 20px; font-size: 15px; }

  /* Lighter washes behind text so it stays readable */
  .page-stage .wash, .oval-card .wash, .cta-band .wash, .moment .wash { filter: brightness(1.42) saturate(0.72); }
  .page-stage p, .oval-card p, .cta-band p, .moment p { color: #24140a; }
  .page-stage .crumbs { color: #3f2614; }
}

/* ---------- Home page on phones only (body.page-home): clean images, less text, compact footer ---------- */
.phone-only { display: none; }

@media (max-width: 860px) {
  /* Small decorative extras collide with shapes and text on a narrow screen, so the home page skips them */
  .page-home .brewed .art-kettle, .page-home .slow .art-sack, .page-home .slow .art-sidetable,
  .page-home .moments .art-grinder, .page-home .site-footer .art-store, .page-home .footer-nav .art-waiter { display: none; }

  /* Shorter copy: long paragraphs swap for one-liners, secondary lines are hidden */
  .page-home .phone-hide { display: none; }
  .page-home .phone-only { display: block; }

  /* Hero: table centred, baristas standing either side of it instead of piled on top */
  .page-home .hero { margin-bottom: 92px; }
  .page-home .hero-stage { padding-bottom: 170px; }
  .page-home .hero .art-table { width: 62%; bottom: -12%; }
  .page-home .hero .art-man { width: 84px; left: -2px; top: auto; bottom: -12%; }
  .page-home .hero .art-woman { width: 80px; right: -2px; top: auto; bottom: -12%; }

  /* Cup and quiche: keep the brown shape fully inside the screen (an image with width:auto keeps
     its own proportions and ignores the right inset, which pushed it past the edge) */
  .page-home .split .blob { height: 300px; }
  .page-home .split .blob .wash { top: 0; bottom: auto; left: 20px; right: auto; width: calc(100% - 40px); height: 100%; }
  .page-home .split .blob .art-main { left: 50%; width: 66%; translate: -50% -50%; }
  .page-home .split-copy, .page-home .brewed .split-copy { padding-top: 34px; }

  /* Feature lines become small labels instead of title + sentence */
  .page-home .feature-pair { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
  .page-home .feature-pair h3 {
    margin: 0;
    padding: 9px 15px;
    border-radius: 999px;
    border: 1.5px dashed var(--line);
    background: rgba(255, 244, 225, 0.4);
    font-size: 14.5px;
  }
  .page-home .icon-pot { width: 18px; height: 15px; }

  .page-home .comfort { padding-top: 56px; padding-bottom: 30px; }
  .page-home .comfort-head { margin-bottom: 28px; }

  /* Slow down: heading, oval, then "Slow Moments" and its line underneath */
  .page-home .slow { padding-top: 48px; padding-bottom: 20px; }
  .page-home .slow-stage { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; height: auto; padding: 0 var(--gutter); }
  .page-home .slow-stage .slow-oval { position: relative; left: auto; top: auto; translate: none; flex: 0 0 auto; width: min(360px, 100%); margin: 20px auto 16px; }
  .page-home .slow .mini-feature { position: static; margin: 0; width: auto; max-width: none; }
  .page-home .slow .mf-moments { display: block; width: 100%; text-align: center; }
  .page-home .slow .mf-moments h3 { display: block; margin: 0 0 4px; padding: 0; font-size: 16px; }
  .page-home .slow .mf-moments p { font-size: 14.5px; }
  .page-home .slow .mf-right, .page-home .slow .slow-notes { display: contents; }

  .page-home .moments { padding-top: 30px; padding-bottom: 44px; }
  .page-home .moments-head p { margin-top: 0; }

  /* ---- Compact footer: a rounded, brushed card instead of the tall wash ---- */
  .page-home .site-footer { padding-top: 16px; }
  .page-home .footer-stage { width: calc(100% - 24px); padding: 30px 20px 22px !important; }
  .page-home .footer-stage picture { display: none; }
  .page-home .footer-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 34px;
    background:
      radial-gradient(75% 45% at 50% 18%, rgba(250, 234, 208, 0.65), transparent 72%),
      linear-gradient(180deg, #e7cba3 0%, #ddb98b 45%, #ca9662 82%, #b07541 100%);
    filter: url(#f-brush);
  }
  .page-home .footer-stage .ring { inset: -9px; border-radius: 42px; }
  .page-home .footer-nav { justify-content: center; gap: 0 2px; }
  .page-home .footer-nav a { padding: 10px 8px; font-size: 15px; }
  .page-home .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; margin-top: 14px; padding: 0 4px; text-align: left; }
  .page-home .footer-grid .brand { grid-column: 1 / -1; justify-self: center; margin: 0 0 2px; transform: none; }
  .page-home .footer-col h4 { font-size: 16px; margin-bottom: 8px; }
  .page-home .footer-col ul { gap: 6px; }
  .page-home .footer-col li { justify-content: flex-start; padding: 0; }
  .page-home .footer-contact { grid-column: 1 / -1; order: 3; }
  .page-home .footer-contact h4 { display: none; }
  .page-home .footer-contact ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .page-home .footer-contact li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    margin: 0;
    padding: 0 18px;
    border-radius: 999px;
    border: 1.5px dashed rgba(74, 44, 23, 0.35);
    background: rgba(255, 244, 225, 0.45);
    font-size: 15px;
  }
  .page-home .footer-contact li svg { width: 17px; height: 17px; margin: 0; }
  /* Instagram and Facebook become round icon buttons */
  .page-home .footer-contact li:not(:first-child) a { width: 46px; padding: 0; justify-content: center; }
  .page-home .footer-contact li:not(:first-child) a span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .page-home .copyright { margin-top: 18px; font-size: 12.5px; }
  .page-home .footer-spacer { height: 18px; }

  /* Every page: keep clear of the iPhone notch when the phone is turned sideways (no visual change upright) */
  .site-header { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .quick-bar { left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
