/* De ronde tafel — one motif (the round table seen from above), one face, soft fields. */
:root {
  --ground: #F5F2EE; --ink: #1D2722; --ink-soft: #44504A;
  --green: #2E4A3B; --green-deep: #24392D; --green-ink: #F5F2EE;
  --sage: #C9D8CC; --sage-soft: #DCE6DE; --sage-deep: #A9C2B1;
  --blush: #EBD5CB; --blush-ink: #4E3F3A; --mist: #C8D4DC;
  --clay: #B98D7C; --slate: #6F8796;
  --radius: 28px; --pill: 999px;
  --m: 16px;                               /* outer margin */
  --font: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* scrollcraft tokens */
  --sc-canvas: var(--ground); --sc-surface: var(--sage-soft);
  --sc-ink: var(--ink); --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--green); --sc-accent-ink: var(--green-ink);
  --sc-font-display: var(--font); --sc-font-text: var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
html, body { overflow-x: clip; }
.hero, .points, .who, .about, .contact { overflow-x: clip; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--green); color: var(--green-ink); padding: 12px 18px; border-radius: var(--pill); font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 3px; border-radius: 6px; }

/* entrances stay visible when the engine does not run */
html:not(.sc-ready) [data-sc-in], html:not(.sc-ready) [data-sc-stagger] > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  [data-sc-in]:not(.sc-in), [data-sc-stagger]:not(.sc-in) > * { transform: translate3d(0, 24px, 0); }
  [data-sc-in], [data-sc-stagger] > * { transition-duration: 760ms; }
  .hero-copy > * { animation: rise 720ms var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 90ms; }
  .hero-copy > :nth-child(3) { animation-delay: 180ms; }
  .hero-circle { animation: settle 1100ms var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  [data-sc-in], [data-sc-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- shared pieces ---------- */
.circle { border-radius: 50%; overflow: hidden; background: var(--sage); }
.circle img, .arch img { width: 100%; height: 100%; object-fit: cover; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border: 0; border-radius: var(--pill); background: var(--green); color: var(--green-ink); font: 600 18px/1 var(--font); letter-spacing: -0.01em; cursor: pointer; transition: background-color 200ms var(--ease), transform 160ms var(--ease); }
.btn:hover { background: var(--green-deep); }
.btn:active { transform: scale(.97); }
.btn-light { background: var(--ground); color: var(--green); }
.btn-light:hover { background: var(--sage-soft); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn-wide { width: 100%; }
.link { font-weight: 600; font-size: 18px; color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-underline-offset 200ms var(--ease), color 200ms; }
.link:hover { text-underline-offset: 3px; color: var(--green-deep); }
.dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; flex: none; }
.d-green { background: var(--green); } .d-clay { background: var(--clay); } .d-slate { background: var(--slate); }

/* ---------- bar ---------- */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; padding: 0 var(--m); padding-top: env(safe-area-inset-top, 0px); background: var(--ground); }
.lockup { display: flex; align-items: center; }
.logo { height: 34px; width: auto; }
.biglogo { width: min(100%, 720px); height: auto; }
.lockup .mark { width: 36px; height: 36px; flex: none; }
.lockup-name { display: block; font-weight: 600; font-size: 18px; letter-spacing: -0.03em; line-height: 1.1; }
.lockup-desc { display: block; font-size: 16px; color: var(--ink-soft); margin-top: 2px; }
.bar-btn { display: none; }
.menu-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--sage); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; transition: background-color 200ms var(--ease); }
.menu-btn:hover { background: var(--sage-deep); }
.menu-btn i { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform 220ms var(--ease), opacity 220ms; }
.menu-btn[aria-expanded="true"] i:nth-child(2) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(3) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(4) { transform: translateY(-7.5px) rotate(-45deg); }
.nav { position: absolute; left: var(--m); right: var(--m); top: calc(100% + 4px); background: var(--ground); border-radius: var(--radius); padding: 12px; box-shadow: 0 18px 40px -18px rgba(29, 39, 34, .35); /* taste-skill-ignore: floating menu */ display: none; }
.nav.open { display: block; }
.nav a { display: block; padding: 14px 16px; font-weight: 600; font-size: 20px; border-radius: 16px; }
.nav a:hover { background: var(--sage-soft); }

/* ---------- hero ---------- */
.hero { display: flex; flex-direction: column; }
.hero-circle { order: -1; }
.hero-circle { width: min(118vw, 620px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 8px 0 0 calc(-1 * var(--m)); background: var(--sage) url("../img/hero-800.jpg") center / cover; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { padding: 32px var(--m) 0; }
.hero h1 { font-size: clamp(36px, 9.8vw, 52px); }
.lead { font-size: 18px; line-height: 1.45; margin-top: 20px; }
.actions { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 32px; }
.actions .btn { width: 100%; max-width: 420px; }

/* ---------- points ---------- */
.points { padding-top: 120px; }
.points-shape { width: min(82vw, 440px); aspect-ratio: 1; margin-left: -40px; }
.points-body { padding: 40px var(--m) 0; }
.points h2, .how h2, .who h2 { font-size: 34px; }
.intro { font-size: 18px; margin-top: 16px; }
.col h3 { font-size: 24px; letter-spacing: -0.02em; color: var(--green); margin: 40px 0 20px; }
.col li { margin-bottom: 22px; }
.col strong { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.col span { display: block; font-size: 16px; color: var(--ink-soft); line-height: 1.45; margin-top: 6px; padding-left: calc(.7em + 10px); }

/* ---------- who (audience picker) ---------- */
.who { background: var(--blush); margin-top: 120px; padding: 56px 0 64px; }
.who-inner { display: flex; flex-direction: column; }
.who-list { order: 1; }
.who-disc { order: 2; width: min(86vw, 420px); aspect-ratio: 1; border-radius: 50%; background: var(--sage-deep); margin: 32px auto 0; padding: 16px; }
.who-fact { order: 3; padding: 20px var(--m) 0; }
.who h2 { padding: 0 var(--m); color: var(--blush-ink); font-weight: 500; }
.who-photo { position: relative; width: 100%; height: 100%; }
.who-img { position: absolute; inset: 0; opacity: 0; transition: opacity 320ms var(--ease); }
.who-img.is-on { opacity: 1; }
.picker { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px var(--m) 4px; }
.picker button { display: flex; align-items: center; gap: 10px; white-space: nowrap; min-height: 48px; padding: 0 18px; border: 0; border-radius: var(--pill); background: rgba(245, 242, 238, .55); color: var(--blush-ink); font: 500 18px/1 var(--font); letter-spacing: -0.02em; cursor: pointer; transition: background-color 200ms var(--ease), color 200ms; }
.picker button:hover { background: var(--ground); }
.picker button[aria-pressed="true"] { background: var(--ground); color: var(--ink); font-weight: 600; }
.picker .dot { width: .5em; height: .5em; background: transparent; }
.picker button[aria-pressed="true"] .dot { background: var(--green); }
.who-fact-title { font-size: 24px; letter-spacing: -0.02em; }
.who-fact-text { font-size: 18px; margin-top: 10px; }
.who-fact-link { display: inline-block; margin-top: 16px; font-size: 18px; }

/* ---------- how ---------- */
.how { padding: 120px var(--m) 0; }
.tiles { margin-top: 8px; }
.tile { margin-top: 32px; }
.arch { overflow: hidden; background: var(--sage); border-radius: 999px 999px var(--radius) var(--radius); }
.t1 .arch { height: min(56vw, 300px); } .t2 .arch { height: min(64vw, 360px); } .t3 .arch { height: min(80vw, 440px); }
.t1 .arch { aspect-ratio: auto; }
.tile h3 { font-size: 24px; letter-spacing: -0.02em; margin-top: 16px; }
.tile p { font-size: 16px; color: var(--ink-soft); margin-top: 8px; }
/* signature move: the table turns with the scroll until the cups face each other */
.spin img { transform: rotate(calc(var(--spin, 0) * 1deg - 3.5deg)) scale(1.42); transform-origin: 50% 50%; will-change: transform; }

/* ---------- about ---------- */
.about { padding: 120px 10px 0; }
.about-panel { background: var(--green); color: var(--green-ink); border-radius: var(--radius); padding: 40px 22px 0; overflow: hidden; }
.about h2 { font-size: clamp(28px, 8.2vw, 40px); line-height: 1.02; }
.about-blocks > div { margin-top: 32px; }
.about-blocks h3 { font-size: 24px; letter-spacing: -0.02em; }
.about-blocks p { font-size: 18px; margin-top: 10px; }
.about-shape { width: min(77vw, 360px); aspect-ratio: 1; margin: 48px auto 0; transform: translateY(25%); margin-top: 24px; background: var(--green-deep); }
.about-panel::after { content: ""; display: block; }

/* ---------- contact coupon ---------- */
.contact { padding: 120px 24px; }
.coupon { position: relative; background: var(--sage); border-radius: var(--radius); display: grid; grid-template-columns: 1fr; max-width: 1136px; margin: 0 auto; }
.coupon-l { padding: 32px 24px 48px; display: flex; flex-direction: column; gap: 24px; }
.coupon h2 { font-size: 34px; }
.coupon-l p { font-size: 18px; margin-top: 16px; }
.coupon .lines { font-size: 18px; font-weight: 600; line-height: 1.7; margin: 0; }
.sel { user-select: all; }
.coupon-r { padding: 48px 24px 32px; display: flex; flex-direction: column; gap: 12px; }
.field { width: 100%; min-height: 56px; border: 0; border-radius: var(--pill); background: var(--sage-soft); padding: 0 24px; font: 400 18px/1.4 var(--font); color: var(--ink); appearance: none; }
.field::placeholder { color: var(--ink-soft); opacity: 1; }
select.field { color: var(--ink-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' stroke='%232E4A3B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 22px center; padding-right: 48px; }
select.field.chosen { color: var(--ink); }
.field.area { min-height: 120px; border-radius: var(--radius); padding: 18px 24px; resize: vertical; }
.field:focus-visible { outline-offset: 0; border-radius: inherit; }
.field[aria-invalid="true"] { outline: 2px solid var(--clay); outline-offset: -2px; }
.form-msg { font-size: 16px; min-height: 1.5em; }
.notch { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: var(--ground); }
.perf { position: absolute; }
/* phone: perforation runs across, between text and form */
.coupon .n1 { left: -22px; top: var(--seam, 50%); transform: translateY(-50%); }
.coupon .n2 { right: -22px; top: var(--seam, 50%); transform: translateY(-50%); }
.coupon .perf { left: 34px; right: 34px; top: var(--seam, 50%); height: 0; transform: translateY(-50%); border-top: 6px dotted var(--ground); }

/* ---------- footer ---------- */
.foot { background: var(--mist); padding: 64px var(--m) calc(32px + env(safe-area-inset-bottom, 0px)); }
.bigmark { display: flex; align-items: center; gap: 16px; }
.bigmark svg { width: 88px; height: 88px; flex: none; }
.bigname { font-size: clamp(40px, 13vw, 132px); font-weight: 600; letter-spacing: -0.045em; line-height: .95; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; font-size: 16px; }
.fgrid h2 { font-size: 16px; letter-spacing: 0; margin-bottom: 10px; }
.fgrid a, .fgrid span { display: block; line-height: 1.9; }
.fgrid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fcontact { grid-column: 1 / -1; }
.fbot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; font-size: 16px; color: var(--ink-soft); }

/* =================== DESKTOP =================== */
@media (min-width: 960px) {
  :root { --m: 32px; --u: min(1vw, 14.4px); }
  body { font-size: 18px; }
  .lead { max-width: 560px; } .intro { max-width: 600px; } .who-fact-text { max-width: 40ch; } .tile p { max-width: 40ch; } .about-blocks p { max-width: 46ch; } .coupon-l p { max-width: 38ch; }
  .bar { height: 96px; }
  .logo { height: 44px; }
  .biglogo { width: min(100%, 1020px); }
  .lockup-name { font-size: 24px; }
  .lockup-desc { font-size: 16px; }
  .menu-btn { display: none; }
  .bar-btn { display: inline-flex; }
  .nav { position: static; display: block; background: none; box-shadow: none; /* taste-skill-ignore: removes the phone menu shadow */ padding: 0; }
  .nav ul { display: flex; gap: clamp(20px, 2.5vw, 36px); }
  .nav a { padding: 8px 2px; font-size: 18px; border-radius: 6px; text-decoration: underline 2px transparent; text-underline-offset: 8px; transition: text-decoration-color 200ms var(--ease), text-underline-offset 200ms var(--ease); }
  .nav a:hover { background: none; text-decoration-color: var(--green); text-underline-offset: 5px; }
  .nav-contact { display: none; }

  .hero { display: block; position: relative; height: calc(62.5 * var(--u)); max-width: 1440px; margin: 0 auto; }
  .hero-copy { position: absolute; left: var(--m); top: calc(10.4 * var(--u)); width: calc(50 * var(--u)); padding: 0; }
  .hero h1 { font-size: calc(5.7 * var(--u)); }
  .lead { font-size: clamp(18px, 1.67 * var(--u), 24px); margin-top: calc(2.8 * var(--u)); }
  .actions { flex-direction: row; align-items: center; gap: 32px; margin-top: calc(3.3 * var(--u)); }
  .actions .btn { width: auto; }
  .hero-circle { position: absolute; left: calc(51.4 * var(--u)); top: 0; width: calc(61.1 * var(--u)); margin: 0; background-image: url("../img/hero-1600.jpg"); }

  .points { display: grid; grid-template-columns: calc(38.9 * var(--u)) 1fr; gap: calc(4.4 * var(--u)); align-items: start; padding: calc(13.9 * var(--u)) var(--m) 0 0; max-width: 1440px; margin: 0 auto; }
  .points-shape { width: calc(47.2 * var(--u)); margin-left: calc(-8.3 * var(--u)); }
  .points-body { padding: 0; }
  .points h2, .how h2 { font-size: clamp(40px, 3.9 * var(--u), 56px); }
  .intro { font-size: 18px; margin-top: 24px; }
  .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(2.8 * var(--u)); margin-top: 56px; }
  .col h3 { font-size: 24px; margin: 0 0 28px; }
  .col li { margin-bottom: 30px; }

  .who { margin-top: calc(13.9 * var(--u)); padding: 0; height: calc(62.5 * var(--u)); }
  .who-inner { position: relative; height: 100%; max-width: 1440px; margin: 0 auto; display: block; }
  .who-disc { position: absolute; left: calc(41.7 * var(--u)); top: calc(8.3 * var(--u)); width: calc(41 * var(--u)); margin: 0; padding: calc(1.9 * var(--u)); }
  .who-list { position: absolute; left: var(--m); bottom: calc(11.1 * var(--u)); }
  .who h2 { padding: 0; font-size: clamp(30px, 2.78 * var(--u), 40px); margin-bottom: 12px; }
  .picker { display: block; overflow: visible; padding: 0; }
  .picker button { min-height: 0; padding: 0; background: none; border-radius: 6px; font-size: clamp(30px, 2.78 * var(--u), 40px); line-height: 1.15; letter-spacing: -0.035em; gap: 16px; }
  .picker button:hover { background: none; color: var(--ink); }
  .picker button[aria-pressed="true"] { background: none; }
  .picker .dot { width: .42em; height: .42em; }
  .who-fact { position: absolute; left: calc(84 * var(--u)); top: calc(29 * var(--u)); width: min(200px, 14 * var(--u)); padding: 0; }
  .who-fact-title { font-size: 24px; }

  .how { position: relative; max-width: 1440px; margin: 0 auto; padding: calc(13.9 * var(--u)) var(--m) 0; height: calc(69.4 * var(--u) + 120px); }
  .how h2 { position: absolute; left: var(--m); top: calc(13.9 * var(--u)); }
  .tiles { position: absolute; left: var(--m); right: var(--m); top: calc(13.9 * var(--u)); height: calc(54 * var(--u) + 120px); margin: 0; display: flex; align-items: flex-end; gap: 12px; }
  .tile { margin: 0; }
  .t1 { width: calc(22.2 * var(--u)); } .t1 .arch { height: calc(20.8 * var(--u)); }
  .t2 { width: calc(31.25 * var(--u)); } .t2 .arch { height: calc(29.9 * var(--u)); }
  .t3 { flex: 1; } .t3 .arch { height: calc(38.9 * var(--u)); }
  .tile h3 { font-size: 24px; margin-top: 24px; }

  .about { max-width: 1440px; margin: 0 auto; padding: calc(5.6 * var(--u)) var(--m) 0; }
  .about-panel { position: relative; height: calc(63.9 * var(--u)); padding: 0; }
  .about h2 { position: absolute; left: 64px; top: 64px; font-size: calc(3.9 * var(--u)); }
  .about-blocks { position: absolute; left: calc(61.1 * var(--u)); top: 64px; width: min(380px, 26.4 * var(--u)); }
  .about-blocks > div { margin: 0 0 56px; }
  .about-blocks h3 { font-size: 24px; }
  .about-shape { position: absolute; left: 64px; top: calc(30.5 * var(--u)); width: calc(38.9 * var(--u)); margin: 0; transform: none; }

  .contact { padding: calc(13.9 * var(--u)) calc(10.6 * var(--u)); max-width: 1440px; margin: 0 auto; }
  .coupon { grid-template-columns: 46% 54%; min-height: 520px; }
  .coupon-l { padding: 56px; justify-content: space-between; gap: 0; }
  .coupon h2 { font-size: clamp(40px, 3.9 * var(--u), 56px); }
  .coupon-l p { margin-top: 20px; }
  .coupon-r { padding: 56px; }
  .coupon .n1 { left: calc(46% - 22px); top: -22px; transform: none; }
  .coupon .n2 { left: calc(46% - 22px); right: auto; top: auto; bottom: -22px; transform: none; }
  .coupon .perf { left: calc(46% - 3px); right: auto; top: 40px; bottom: 40px; width: 0; height: auto; transform: none; border-top: 0; border-left: 6px dotted var(--ground); }

  .foot { padding: 96px var(--m) 40px; }
  .foot > * { max-width: 1376px; margin-left: auto; margin-right: auto; }
  .bigmark { gap: 40px; }
  .bigmark svg { width: calc(15.3 * var(--u)); height: calc(15.3 * var(--u)); }
  .bigname { font-size: calc(9.2 * var(--u)); }
  .fgrid { grid-template-columns: repeat(4, 1fr) 1.4fr; gap: 32px; margin-top: 72px; font-size: 16px; }
  .fcontact { grid-column: auto; }
  .fbot { margin-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spin img { transform: rotate(-3.5deg) scale(1.42); }
  .who-img { transition: none; }
}
