/* Flavour – Craft. Black, cream and one red. Switzer (Fontshare, free for commercial use). */
@font-face { font-family: Switzer; src: url(../fonts/switzer-300.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: Switzer; src: url(../fonts/switzer-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Switzer; src: url(../fonts/switzer-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --black: #0d0b09;
  --ink: #18130f;
  --cream: #f2e5ca;
  --cream-deep: #e6d2ab;
  --red: #a6271c;
  --line: rgba(242, 229, 202, 0.27);
  --pad: clamp(20px, 3vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --body: clamp(19px, 1.4vw, 23px);
}

* { box-sizing: border-box; }
html { background: var(--black); color: var(--cream); scroll-behavior: smooth; }
body {
  margin: 0;
  font: 300 var(--body) / 1.42 Switzer, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
figure { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.logo {
  display: block;
  aspect-ratio: 2160 / 1407;
  background: currentColor;
  -webkit-mask: url(../logo.svg) no-repeat left bottom / contain;
  mask: url(../logo.svg) no-repeat left bottom / contain;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.55em 0.95em 0.6em;
  border-radius: 2px;
  background: var(--cream);
  color: var(--black);
  font-weight: 400;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.4s, color 0.4s;
}
.btn:hover { background: var(--red); color: var(--cream); }

.t-xl {
  margin: 0;
  font-weight: 300;
  font-size: clamp(52px, 7.6vw, 136px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

/* ---------- header ---------- */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
  transition: color 0.5s;
  animation: fade 1.2s ease 2.3s both;
}
.top::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(13, 11, 9, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.5s, background 0.5s; }
.top.past::before { opacity: 1; }
.top.on-cream::before { background: rgba(242, 229, 202, 0.92); }
.top.on-red::before { background: rgba(166, 39, 28, 0.94); }
.top.on-red .btn:hover { background: var(--black); }
.top-logo { width: 84px; opacity: 0; transition: opacity 0.6s; }
.top.past .top-logo { opacity: 1; }
.top-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); font-size: 18px; }
.top-nav > a:not(.btn) { text-decoration: none; padding: 4px 0; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size 0.5s var(--ease); }
.top-nav > a:not(.btn):hover { background-size: 100% 1px; }
.top.on-cream { color: var(--black); }
.top.on-cream .btn { background: var(--black); color: var(--cream); }
.top.on-cream .btn:hover { background: var(--red); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 62%;
  animation: settle 2.8s var(--ease) both;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 11, 9, 0.45) 0%, rgba(13, 11, 9, 0) 26%, rgba(13, 11, 9, 0) 52%, rgba(13, 11, 9, 0.62) 100%);
}
.hero-logo {
  position: absolute; z-index: 2; margin: 0;
  left: calc(var(--pad) - 0.4vw); bottom: calc(var(--pad) - 0.6vw);
  width: min(60vw, 1060px);
  color: var(--cream);
  animation: write 2s cubic-bezier(0.65, 0, 0.35, 1) 0.6s both;
}
.hero-side {
  position: absolute; z-index: 2; right: var(--pad); bottom: var(--pad);
  width: min(380px, 30vw);
  animation: rise 1.2s var(--ease) 2s both;
}
.hero-side p { margin: 0 0 22px; font-size: clamp(21px, 1.6vw, 27px); line-height: 1.28; letter-spacing: -0.01em; }

@keyframes settle { from { opacity: 0; scale: 1.06; } to { opacity: 1; scale: 1; } }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -2% 0 0); } }
@keyframes rise { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- big statements: words light up one after another ---------- */
.statement { padding: clamp(130px, 25vh, 280px) var(--pad) clamp(120px, 21vh, 240px); }
.lead {
  width: min(100%, 13.4em);
  margin: 0 0 0 auto;
  font-size: clamp(34px, 4.8vw, 86px);
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-align: right;
}
.lead .l { display: block; }
.lead .l1 { text-align: left; }
.js .lead .w { opacity: 0.16; transition: opacity 1s ease calc(var(--i) * 85ms); }
.lead.in .w { opacity: 1; }
.lead-dark { color: var(--black); }

/* ---------- reveals (timed, never tied to scroll position) ---------- */
.js [data-reveal] { opacity: 0; translate: 0 80px; transition: opacity 1.2s ease, translate 1.2s var(--ease); }
.js [data-reveal].in { opacity: 1; translate: 0 0; }

.bleed { height: min(94vh, 64vw); overflow: hidden; }
.bleed img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.js .bleed[data-reveal] { translate: none; }
.js .bleed img { scale: 1.06; transition: scale 2.4s var(--ease); }
.js .bleed.in img { scale: 1; }

/* ---------- houses ---------- */
.houses { padding: clamp(110px, 18vh, 220px) var(--pad) clamp(90px, 14vh, 180px); }
.houses-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw; margin-bottom: clamp(56px, 8vw, 130px); }
.houses-head p { margin: 0 0 0.5em; font-size: clamp(21px, 1.6vw, 27px); line-height: 1.28; }
.houses-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(60px, 7vw, 120px); }
.house { display: block; text-decoration: none; }
.house:nth-child(2n) { margin-top: 13vw; }
.house-img { display: block; overflow: hidden; border-radius: 2px; }
.house-img img { width: 100%; aspect-ratio: var(--ar); object-fit: cover; transition: scale 1.6s var(--ease); }
.house:hover .house-img img { scale: 1.035; }
.house-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; margin-top: 20px; }
.house-name { font-size: clamp(28px, 2.5vw, 42px); letter-spacing: -0.03em; line-height: 1.05; }
.house-cap, .house-line { font-size: clamp(18px, 1.3vw, 21px); opacity: 0.66; }
.house-cap { white-space: nowrap; }
.house-line { display: block; margin-top: 6px; }
.catering { margin: clamp(70px, 9vw, 150px) 0 0; max-width: 12em; font-size: clamp(34px, 3.8vw, 68px); line-height: 1.04; letter-spacing: -0.035em; }

/* ---------- scenes: thin line drawing + real objects ---------- */
.scene { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.stage {
  position: absolute; left: 50%; top: 50%;
  width: min(max(100%, 125svh), 172svh);
  aspect-ratio: var(--ar);
  translate: -50% -50%;
}
.draw { color: var(--line); }
.stage .draw { position: absolute; inset: 0; }
.draw svg { display: block; width: 100%; height: 100%; overflow: visible; }
.js .draw path { stroke-dasharray: 1 2; stroke-dashoffset: 1.001; transition: stroke-dashoffset 1.5s cubic-bezier(0.45, 0, 0.2, 1) calc(var(--g, 0) * 0.26s); }
.in .draw path { stroke-dashoffset: 0; }

.obj {
  position: absolute; z-index: 1;
  left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: auto;
  rotate: var(--r, 0deg);
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.6));
}
.obj.front { z-index: 3; }
.js .obj { opacity: 0; translate: 0 70px; transition: opacity 1.1s ease, translate 1.3s var(--ease); transition-delay: calc(1.2s + var(--i) * 0.34s); }
.in .obj { opacity: 1; translate: 0 0; }

.scene-title {
  position: absolute; z-index: 2; left: var(--pad); right: var(--pad); top: 58%;
  margin: 0; translate: 0 -50%;
  font-weight: 300; font-size: clamp(46px, 6.7vw, 124px); line-height: 0.98; letter-spacing: -0.045em;
  text-align: center;
}
.scene-oven .scene-title { top: 37%; }
.js .scene-title { opacity: 0; translate: 0 calc(-50% + 40px); transition: opacity 1.6s ease 2.3s, translate 1.6s var(--ease) 2.3s; }
.in .scene-title { opacity: 1; translate: 0 -50%; }

/* ---------- craft ---------- */
.craft {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(40px, 5vw, 80px);
  padding: clamp(120px, 20vh, 240px) var(--pad) clamp(120px, 20vh, 240px);
}
.craft-title { grid-column: 1 / span 10; grid-row: 1; }
.craft-img { overflow: hidden; border-radius: 22px; }
.craft-img img { width: 100%; height: 100%; object-fit: cover; }
.craft-img-1 { grid-column: 7 / span 6; grid-row: 2 / span 2; aspect-ratio: 2 / 3; }
.craft-img-2 { grid-column: 1 / span 3; grid-row: 2; aspect-ratio: 3 / 4; margin-top: 4vw; }
.craft-text { grid-column: 1 / span 5; grid-row: 3; align-self: end; }
.craft-text p { margin: 0; font-size: clamp(22px, 1.9vw, 32px); line-height: 1.3; letter-spacing: -0.015em; }

/* ---------- cream part ---------- */
.cream { background: var(--cream); color: var(--black); --line: rgba(13, 11, 9, 0.5); }
.believe { padding: clamp(130px, 24vh, 280px) var(--pad) clamp(90px, 14vh, 180px); }
.believe-img { width: min(86%, 1280px); margin: clamp(90px, 14vh, 180px) auto 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 28px; }
.believe-img img { width: 100%; height: 100%; object-fit: cover; }

.ways { padding: clamp(60px, 10vh, 140px) var(--pad) clamp(130px, 22vh, 260px); }
.ways-row { display: grid; grid-template-columns: 1.15fr 1fr 0.92fr; gap: clamp(14px, 1.6vw, 24px); align-items: start; margin-top: clamp(50px, 6vw, 110px); }
.way { display: flex; flex-direction: column; padding: clamp(26px, 2.6vw, 44px); border-radius: 3px; }
.way-1 { min-height: clamp(460px, 42vw, 680px); background: var(--ink); color: var(--cream); --line: rgba(242, 229, 202, 0.5); }
.way-2 { min-height: clamp(420px, 36vw, 590px); margin-top: 7vw; background: var(--red); color: var(--cream); --line: rgba(242, 229, 202, 0.62); }
.way-3 { min-height: clamp(380px, 31vw, 520px); margin-top: 3vw; background: var(--cream-deep); color: var(--black); --line: rgba(13, 11, 9, 0.55); }
.way-draw { width: min(72%, 300px); margin-bottom: auto; }
.way h3 { margin: 2em 0 0.3em; font-weight: 300; font-size: clamp(36px, 3.4vw, 60px); letter-spacing: -0.04em; line-height: 1; }
.way p { margin: 0; max-width: 21em; font-size: clamp(19px, 1.35vw, 22px); line-height: 1.4; }

/* ---------- contact ---------- */
.contact { padding: clamp(120px, 20vh, 240px) var(--pad) 0; }
.contact-head { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 4vw; }
.contact-head p { justify-self: end; max-width: 23em; margin: 0 0 0.5em; font-size: clamp(21px, 1.6vw, 27px); line-height: 1.3; }
.contact-ways { display: flex; flex-wrap: wrap; gap: 0.3em 1.4em; margin-top: clamp(40px, 5vw, 80px); font-size: clamp(30px, 3.6vw, 64px); letter-spacing: -0.035em; line-height: 1.15; }
.big-link { text-decoration: none; background: linear-gradient(currentColor, currentColor) left 92% / 100% 1px no-repeat; transition: color 0.4s; }
.big-link:hover { color: #e0583f; }
.table-scene { position: relative; height: clamp(320px, 50vw, 860px); margin: clamp(10px, 2vw, 40px) calc(var(--pad) * -1) 0; overflow: hidden; }
.table-scene .stage { width: max(100%, 860px); top: auto; bottom: 0; translate: -50% 0; }
.places { list-style: none; margin: 0; padding: clamp(40px, 5vw, 80px) 0 clamp(100px, 13vw, 200px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw; border-top: 1px solid var(--line); }
.places li { display: flex; flex-direction: column; gap: 6px; }
.place { font-size: clamp(28px, 2.5vw, 42px); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 6px; }
.dim { opacity: 0.62; }

/* ---------- footer ---------- */
.foot { background: var(--red); color: var(--cream); padding: clamp(70px, 9vw, 140px) var(--pad) var(--pad); overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2vw; }
.foot-cols a { display: block; width: fit-content; text-decoration: none; font-size: clamp(21px, 1.7vw, 28px); line-height: 1.5; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.foot-h { margin: 0 0 14px; font-size: 18px; opacity: 0.72; }
.foot-contact { justify-self: end; }
.foot-contact a { margin-left: auto; }
.foot { padding-bottom: 0; }
.foot-legal { display: flex; justify-content: space-between; gap: 1em; margin-top: clamp(50px, 6vw, 90px); font-size: 18px; opacity: 0.8; }
.foot-logo { width: min(88%, 1320px); margin: clamp(30px, 4vw, 60px) auto calc(min(88vw, 1320px) * -0.24); }

/* ---------- small screens ---------- */
@media (max-width: 820px) {
  .top-nav > a:not(.btn) { display: none; }
  .top-logo { width: 74px; }
  .hero-logo { width: 88vw; bottom: auto; top: 50%; translate: 0 -40%; }
  .hero-side { left: var(--pad); width: auto; }
  .lead { width: auto; text-align: left; }
  .obj { left: calc(var(--xm, var(--x)) * 1%); top: calc(var(--ym, var(--y)) * 1%); width: calc(var(--wm, var(--w)) * 1%); }
  .scene { display: flex; flex-direction: column; height: auto; min-height: 0; padding: 18vh 0 4vh; }
  .scene .stage { position: relative; left: 50%; top: auto; width: 230vw; translate: -50% 0; }
  .scene-title, .scene-oven .scene-title { order: -1; position: relative; inset: auto; padding: 0 var(--pad); margin-bottom: 2vh; }
  .js .scene-title { translate: 0 40px; }
  .in .scene-title { translate: 0 0; }
  .believe-img { width: 100%; aspect-ratio: 4 / 5; border-radius: 20px; }
  .lead .l { display: inline; }
  .houses-head { flex-direction: column-reverse; align-items: flex-start; }
  .houses-grid { grid-template-columns: 1fr; }
  .house:nth-child(2n) { margin-top: 0; }
  .craft { display: flex; flex-direction: column; gap: 36px; }
  .craft-img-2 { display: none; }
  .ways-row { grid-template-columns: 1fr; }
  .way-2, .way-3 { margin-top: 0; }
  .way { min-height: 0 !important; }
  .contact-head { grid-template-columns: 1fr; }
  .contact-head p { justify-self: start; }
  .places { grid-template-columns: 1fr; gap: 34px; }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .foot-contact { justify-self: start; }
  .foot-contact a { margin-left: 0; }
  .foot-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .obj, .js .scene-title { opacity: 1; translate: none; }
  .js .scene-title { translate: 0 -50%; }
  .js .lead .w { opacity: 1; }
  .js .draw path { stroke-dashoffset: 0; }
  .js .bleed img { scale: 1; }
}
