/* Ray Abadilla: a warm kitchen look built around the kawali (the round pan)
   from Ray's favorite saying. Round shapes, peach and soy-brown, one chili accent. */
:root {
  --paper: #FFF3E4;
  --peach: #F8C694;
  --peach-soft: #FCE1C2;
  --soy: #3A2214;
  --soy-soft: #75523C;
  --chili: #D4512A;
  --pandan: #4C7A2C;
  --noodle: #FFD476;
  --line: rgba(58, 34, 20, .14);

  --title: "Bebas Neue", "Oswald", Impact, "Arial Narrow Bold", sans-serif;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Consolas, monospace;
  --hand: "Caveat", "Comic Sans MS", cursive;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--soy);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--chili); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--title); font-weight: 400; line-height: .92; letter-spacing: .01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.9rem, 6.5vw, 4.6rem); }
h3 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font: 500 .78rem/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--chili);
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--soy); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* Buttons */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  border: 2px solid var(--soy); background: transparent;
  font: 700 1rem/1 var(--body); text-decoration: none; color: var(--soy);
  transition: transform .25s var(--ease-out), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-solid { background: var(--soy); color: var(--paper); }
.btn-solid:hover { background: var(--chili); border-color: var(--chili); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.2rem/1 var(--display); }
.brand img { width: 40px; height: auto; transition: rotate .4s var(--ease-spring); }
.brand:hover img { rotate: -12deg; }
.nav ul { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav ul a:not(.nav-cta):hover { color: var(--chili); }
.nav-cta { padding: 8px 16px; border-radius: 999px; background: var(--soy); color: var(--paper) !important; }
.nav-cta:hover { background: var(--chili); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--peach) 0%, var(--peach-soft) 100%); overflow: hidden; }
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(48px, 8vw, 96px);
}
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero h1 { font-size: clamp(4.2rem, 10vw, 8rem); line-height: .88; }
.hero h1 .hl { color: var(--chili); white-space: nowrap; }
.lede { font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--soy-soft); max-width: 34ch; }
.socials { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; font: 500 .85rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.socials a { text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 3px; transition: border-color .2s; }
.socials a:hover { border-color: var(--chili); }

/* The kawali */
@property --spin { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.kawali {
  --size: min(480px, 84vw);
  --r: calc(var(--size) * .4);
  position: relative; width: var(--size); aspect-ratio: 1; justify-self: center;
}
/* The sun from the Philippine flag: golden disc ringing the pan, eight main rays
   of three points each, turning slowly */
.kawali-sun {
  position: absolute; inset: -18%; width: 136%; height: 136%;
  fill: #F7B928; opacity: 1; filter: drop-shadow(0 6px 14px rgba(180, 110, 20, .25));
  animation: sun 120s linear infinite reverse;
}
@keyframes sun { to { rotate: 360deg; } }
.kawali-ring { position: absolute; inset: 0; animation: spin 70s linear infinite; }
.kawali:hover .kawali-ring { animation-play-state: paused; }
.dish {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--size) * .2); aspect-ratio: 1; margin: calc(var(--size) * -.1) 0 0 calc(var(--size) * -.1);
  border-radius: 28%; object-fit: cover;
  border: 4px solid var(--paper);
  box-shadow: 0 10px 24px -12px rgba(58, 34, 20, .55);
  transform: rotate(calc(var(--a) + var(--spin))) translateY(calc(-1 * var(--r))) rotate(calc(-1 * (var(--a) + var(--spin))));
}
/* Hand-drawn cast-iron kawali (SVG) with Ray in the bowl.
   Pan circle is 62% of the orbit; the SVG is wider to fit the loop handles. */
.kawali-pan {
  position: absolute; left: 6.6%; top: 16.9%; width: 86.8%; height: 66.1%;
  animation: pop 1s .2s var(--ease-spring) both;
}
.pan-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kawali-pan img {
  position: absolute; left: 50%; top: 50%; width: 57.1%; aspect-ratio: 1; height: auto;
  translate: -50% -50%; object-fit: cover; border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.2);
}
.kawali-pan::before { left: -14%; border-right-color: transparent; }
.kawali-pan::after { right: -14%; border-left-color: transparent; }
@keyframes spin { to { --spin: 360deg; } }
@keyframes pop { from { opacity: 0; scale: .85; } }

/* Page-load stagger for hero copy */
.load { animation: rise .8s var(--ease-out) both; animation-delay: calc(var(--i) * 90ms); }
@keyframes rise { from { opacity: 0; translate: 0 24px; } }

/* Scroll reveal: only hidden once JS confirms it can reveal */
.js .reveal { opacity: 0; translate: 0 32px; transition: opacity .7s var(--ease-out) var(--d, 0ms), translate .8s var(--ease-out) var(--d, 0ms); }
.js .reveal.in { opacity: 1; translate: none; }

/* Sections */
section { padding-block: clamp(64px, 10vw, 120px); overflow-x: clip; }
.sec-head { display: grid; gap: 10px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 60ch; }
.sec-head p:not(.eyebrow) { color: var(--soy-soft); }

/* Story */
.story-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; margin-bottom: clamp(40px, 6vw, 64px); }
.story-text { display: grid; gap: 16px; }
.story-text p:not(.eyebrow) { color: var(--soy-soft); max-width: 58ch; font-size: 1.12rem; }
.quote { margin: 0; display: grid; gap: 14px; padding-top: 22px; border-top: 3px solid var(--chili); }
.quote blockquote { margin: 0; font: 400 clamp(2.6rem, 5.4vw, 4rem)/.95 var(--title); letter-spacing: .01em; text-wrap: balance; }
.quote figcaption { font: 500 .85rem/1.4 var(--mono); color: var(--soy-soft); letter-spacing: .04em; }
.spread { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; object-position: 60% 50%; border-radius: 28px; }

/* Featured work: plates */
.work { background: var(--peach-soft); }
.plates { list-style: none; margin: 0 0 clamp(56px, 8vw, 96px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
.plate { display: grid; justify-items: center; gap: 18px; text-decoration: none; text-align: center; }
.plate-rim {
  position: relative; display: block; width: 100%; max-width: 280px; aspect-ratio: 544 / 560;
  background: var(--plate) center / 100% 100% no-repeat;
  filter: drop-shadow(0 18px 22px rgba(58, 34, 20, .28));
  transition: rotate .6s var(--ease-spring), translate .4s var(--ease-out);
}
/* the food sits in the plate's well, which is a little up-left of the image centre */
.plate-rim :is(img, video) {
  position: absolute; left: 48.6%; top: 46.6%; width: 77%; aspect-ratio: 1; height: auto;
  translate: -50% -50%; object-fit: cover; border-radius: 50%;
}
.plate:hover .plate-rim { rotate: 8deg; translate: 0 -6px; }

/* ---- The table: wood top, inabel runner, banig placemats, spoon & fork ---- */
.table {
  position: relative; z-index: 1; isolation: isolate; margin-bottom: 0;
  padding: clamp(44px, 5.5vw, 64px) clamp(8px, 1.4vw, 16px);
  gap: 6px;
  background: #8a5a35 url(img/table-wood.webp?v=2) center / cover;
  border-radius: 22px;
  box-shadow: inset 0 0 0 6px rgba(58, 34, 20, .25), 0 30px 50px -30px rgba(58, 34, 20, .6);
}
/* Ilocano inabel-style runner: cream cloth, red and indigo bands, a row of diamonds */
.table::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 50%; height: 52%; translate: 0 -50%;
  --red: #B3282D; --indigo: #233466; --cloth: #F6F0E4;
  background:
    linear-gradient(45deg, transparent 44%, var(--indigo) 44% 56%, transparent 56%) center / 26px 26px repeat-x,
    linear-gradient(-45deg, transparent 44%, var(--indigo) 44% 56%, transparent 56%) center / 26px 26px repeat-x,
    linear-gradient(to bottom,
      var(--red) 0 5%, var(--cloth) 5% 8%, var(--indigo) 8% 11%, var(--cloth) 11% 14%, var(--red) 14% 16%,
      var(--cloth) 16% 84%,
      var(--red) 84% 86%, var(--cloth) 86% 89%, var(--indigo) 89% 92%, var(--cloth) 92% 95%, var(--red) 95% 100%);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45);
}
.table > li { position: relative; container-type: inline-size; --plate-w: min(100cqw - 26px, 400px); }
.table .plate { position: relative; z-index: 2; }
.table .plate-rim { width: var(--plate-w); max-width: none; }
/* banig (woven mat) placemat under each plate */
.table > li::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -16px; translate: -50% 0;
  width: calc(var(--plate-w) + 24px); height: calc(var(--plate-w) * 1.03 + 32px);
  border-radius: 12px;
  background:
    repeating-linear-gradient(45deg, rgba(150, 105, 50, .28) 0 5px, transparent 5px 10px),
    repeating-linear-gradient(-45deg, rgba(255, 240, 200, .35) 0 5px, transparent 5px 10px),
    #D9B57A;
  box-shadow:
    inset 0 0 0 7px #D9B57A, inset 0 0 0 11px #B23A5A, inset 0 0 0 14px #D9B57A,
    inset 0 0 0 17px #3F8A5C, inset 0 0 0 20px #D9B57A, inset 0 0 0 22px #E8A93A,
    0 10px 18px -10px rgba(0, 0, 0, .55);
}
.utensil {
  position: absolute; z-index: 1; top: calc(var(--plate-w) * .12); height: calc(var(--plate-w) * .8); width: auto;
  pointer-events: none; filter: drop-shadow(3px 6px 4px rgba(0, 0, 0, .35));
}
/* fork and spoon tuck under the plate rim, as if resting against it */
.utensil.fork { right: calc(50% + var(--plate-w) * .38); rotate: -6deg; }
.utensil.spoon { left: calc(50% + var(--plate-w) * .36); rotate: 6deg; }

/* Personal highlight: noodles hanging from the top, the story beside the
   ramen video framed like the brand Shorts with garnishes around it. */
.ramen {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  column-gap: clamp(28px, 5vw, 64px); align-items: center;
  padding-top: clamp(130px, 15vw, 200px);
}
/* noodles hang off the underside of the table above and run all the way down
   to the next section, behind the story and video; inset past the table's corners */
.noodles {
  position: absolute; z-index: 0; top: -18px; left: 30px; width: calc(100% - 60px);
  /* explicit height: an svg won't stretch between top and bottom like a div */
  height: calc(100% + 18px + clamp(64px, 10vw, 120px));
}
.noodles path { fill: none; stroke: var(--noodle); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
/* scroll-driven descent (script sets each strand's offset); the transition smooths it */
.noodles.scrolly path { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.25, .6, .3, 1); }


.ramen-copy { position: relative; z-index: 1; display: grid; gap: 16px; justify-items: start; }
.ramen-copy > p:not(.eyebrow) { color: var(--soy-soft); max-width: 54ch; }

.ramen-video { position: relative; z-index: 1; justify-self: center; width: 100%; max-width: 270px; }
.ramen-frame {
  position: relative; overflow: hidden; aspect-ratio: 9 / 16;
  border: 7px solid #24140C; border-radius: 30px; background: #24140C;
  box-shadow: 0 30px 46px -28px rgba(58, 34, 20, .6);
}
.ramen-frame video { width: 100%; height: 100%; object-fit: cover; }
.garnish { position: absolute; z-index: 2; pointer-events: none; animation: bob 4s ease-in-out infinite alternate; filter: drop-shadow(0 8px 8px rgba(58, 34, 20, .25)); }
.g-egg { width: clamp(70px, 9vw, 104px); left: -18%; top: 30%; }
.g-naruto { width: clamp(64px, 8vw, 92px); right: -14%; top: -4%; animation-delay: -1.5s; }
.g-scallion { width: clamp(48px, 6vw, 68px); left: -10%; bottom: 8%; animation-delay: -2.6s; }
@keyframes bob { from { rotate: -6deg; translate: 0 0; } to { rotate: 6deg; translate: 0 -6px; } }

/* Collaborations: soft clay band, the brand Shorts shown vertical as
   they were made, and a cream ribbon of partner logos */
.collabs { background: #F1D5C3; color: var(--soy); padding-bottom: 0; }
.collabs .eyebrow { color: var(--chili); }
.collab-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.collab-lede { color: var(--soy-soft); font-size: 1.1rem; max-width: 46ch; }
/* Carousel: centre card large, neighbours smaller and faded either side */
.carousel { position: relative; --w: clamp(200px, 26vw, 290px); --gap: calc(var(--w) * .92); }
.shorts { position: relative; list-style: none; margin: 0; padding: 0; height: calc(var(--w) * 19.5 / 9 + 80px); }
.short {
  position: absolute; left: 50%; top: 0; width: var(--w); display: grid; gap: 12px; justify-items: center;
  translate: calc(-50% + var(--x, 0px)) 0; scale: var(--s, 1); opacity: var(--o, 1); z-index: var(--z, 1);
  transform-origin: 50% 40%;
  transition: translate 1.3s var(--ease-out), scale 1.3s var(--ease-out), opacity 1s ease;
}
.short[data-pos="0"]  { --x: 0px; --s: 1; --o: 1; --z: 3; }
.short[data-pos="-1"] { --x: calc(-1 * var(--gap)); --s: .78; --o: .55; --z: 2; cursor: pointer; }
.short[data-pos="1"]  { --x: var(--gap); --s: .78; --o: .55; --z: 2; cursor: pointer; }
/* Phone mockup: dark body with a metal edge and side buttons, a notched screen,
   status bar, Shorts-style actions and caption, home bar. */
.short-frame {
  position: relative; width: 100%; aspect-ratio: 9 / 19.5;
  padding: calc(var(--w) * .035); border-radius: calc(var(--w) * .16);
  background: #141110;
  box-shadow: 0 0 0 2px #4a4440, 0 0 0 3px #1d1916, 0 30px 46px -26px rgba(58, 34, 20, .6);
}
/* volume buttons (left) and power button (right) */
.short-frame::before, .short-frame::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #3a3430;
}
.short-frame::before { left: -5px; top: 22%; height: 9%; box-shadow: 0 calc(var(--w) * .26) 0 #3a3430; }
.short-frame::after { right: -5px; top: 30%; height: 13%; }
.screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w) * .125); background: #000; }
.screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-ui { position: absolute; inset: 0; color: #fff; font: 600 calc(var(--w) * .048)/1.2 var(--body); pointer-events: none; }
.phone-ui::before { /* soft shade so the white UI reads on any frame */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 14%, transparent 70%, rgba(0,0,0,.55));
}
.status { position: absolute; left: 9%; right: 8%; top: 3.2%; display: flex; justify-content: space-between; align-items: center; font-size: calc(var(--w) * .05); }
.sys { display: flex; gap: 4px; align-items: center; }
.sys i { display: block; background: #fff; }
.sig { width: 14px; height: 9px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.wifi { width: 12px; height: 9px; border-radius: 12px 12px 0 0; clip-path: polygon(50% 100%, 0 0, 100% 0); }
.bat { width: 20px; height: 9px; border-radius: 2px; background: transparent !important; box-shadow: inset 0 0 0 1.5px #fff, inset -6px 0 0 1.5px #fff; }
.island { position: absolute; left: 50%; top: 2.2%; translate: -50% 0; width: 32%; height: 3.6%; border-radius: 99px; background: #000; }
.actions { position: absolute; right: 5%; bottom: 17%; display: grid; gap: calc(var(--w) * .07); }
.actions span { display: grid; place-items: center; width: calc(var(--w) * .13); height: calc(var(--w) * .13); }
.actions svg { width: 100%; height: 100%; fill: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.caption { position: absolute; left: 6%; right: 22%; bottom: 6.5%; display: grid; gap: 2px; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.caption b { font-weight: 700; }
.caption span { font-weight: 400; opacity: .9; }
.home-bar { position: absolute; left: 50%; bottom: 1.6%; translate: -50% 0; width: 34%; height: 4px; border-radius: 4px; background: rgba(255,255,255,.85); }
.short:not([data-pos="0"]):hover { --o: .8; }
.short h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); transition: opacity .5s; }
.short:not([data-pos="0"]) h3 { opacity: 0; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
/* arrows sit at the left and right edges, level with the middle of the phones */
.cbtn {
  position: absolute; z-index: 5; top: calc(var(--w) * 19.5 / 9 / 2); translate: 0 -50%;
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--soy); background: var(--paper); color: var(--soy);
  font: 700 1.2rem/1 var(--body); cursor: pointer; box-shadow: 0 8px 16px -8px rgba(58, 34, 20, .5);
  transition: background-color .2s, color .2s, scale .2s var(--ease-out);
}
.cbtn.prev { left: 0; }
.cbtn.next { right: 0; }
.cbtn:hover { background: var(--soy); color: var(--paper); }
.cbtn:active { scale: .94; }
.dots { display: flex; gap: 10px; }
.dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(58, 34, 20, .3); cursor: pointer; transition: background-color .3s, width .3s; }
.dot[aria-current="true"] { width: 28px; border-radius: 5px; background: var(--chili); }
.short p { color: var(--soy-soft); max-width: 34ch; }
.logos {
  margin-top: clamp(64px, 9vw, 110px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; overflow: hidden;
  background: var(--paper); color: var(--soy); padding-block: 26px 30px;
}
.logos .eyebrow { color: var(--chili); }
.logos-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos ul { display: flex; align-items: center; gap: clamp(36px, 5vw, 64px); list-style: none; margin: 0; padding: 0 clamp(18px, 2.5vw, 32px); }
.logos img { width: auto; height: auto; max-height: 52px; max-width: 150px; }
@keyframes marquee { to { translate: -50% 0; } }

/* Case studies */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.case + .case { margin-top: clamp(72px, 10vw, 120px); }
.case-flip .case-media { order: 2; }
.case-media { position: relative; display: grid; gap: 14px; }
.case-media :is(img, video) { border-radius: 18px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: 0 20px 40px -26px rgba(58, 34, 20, .6); }
.case-media > :nth-child(2) { width: 82%; justify-self: end; margin-top: -18%; border: 6px solid var(--paper); }
.case-media .sticker { position: absolute; width: clamp(70px, 10vw, 120px); aspect-ratio: auto; left: -14px; bottom: -18px; box-shadow: none; border-radius: 0; margin: 0; border: 0; filter: drop-shadow(0 10px 12px rgba(58, 34, 20, .35)); animation: bob 5s ease-in-out infinite alternate; }
.case-media .sticker-square { border-radius: 10px; }
/* Nordstrom wordmark as a white fridge magnet */
.case-media .logo-magnet {
  width: clamp(130px, 16vw, 180px); left: auto; right: -12px; bottom: auto; top: -22px;
  padding: 12px 16px; background: #fff; border-radius: 8px; rotate: 5deg;
  box-shadow: 0 10px 18px -8px rgba(58, 34, 20, .45); filter: none; animation: none;
}
.case-copy { display: grid; gap: 14px; justify-items: start; }
.case-copy p:not(.client) { color: var(--soy-soft); }
/* client names in the indigo from the table runner, so they read apart from the orange section labels */
.client { font: 500 .95rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: #2B3D8F; }
.chips { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; font: 500 .8rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--soy-soft); }
.chips li:not(:last-child)::after { content: "/"; margin-inline: .7em; color: var(--chili); }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--chili); padding-bottom: 2px; }
.text-link::after { content: " →"; display: inline-block; transition: translate .25s var(--ease-out); }
.text-link:hover::after { translate: 4px 0; }

/* Skills: tickets on the kitchen pass */
/* Watercolor kitchen (from the Canva Tools & Skills page), washed lighter so the tickets stay readable */
.skills {
  background:
    linear-gradient(180deg, rgba(255, 243, 228, .55), rgba(255, 243, 228, .25) 45%, rgba(255, 243, 228, .6)),
    #EDE6DC url(img/kitchen-watercolor.webp) center 40% / cover;
}
.pass { position: relative; }
/* ticket rail: a thick steel bar painted in watercolor (fridge texture under a metal sheen) */
.rail {
  position: relative; height: 32px; border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .2) 22%, rgba(255, 255, 255, 0) 38%, rgba(30, 36, 46, .28) 68%, rgba(30, 36, 46, .62) 100%),
    url(img/fridge-watercolor.webp) center / 100% 900%,
    #8F97A2;
  background-blend-mode: normal, multiply, normal;
  box-shadow: 0 10px 16px -8px rgba(40, 30, 20, .45), inset 0 0 0 1px rgba(60, 66, 76, .25);
}
.tickets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); align-items: start; padding-inline: clamp(8px, 2vw, 24px); margin-top: -8px; }
.ticket {
  background: #FFFDF6; padding: 22px 22px 30px; font-family: var(--mono); font-size: .92rem;
  rotate: var(--r); transform-origin: 50% 0;
  box-shadow: 0 16px 28px -18px rgba(58, 34, 20, .55);
  /* torn bottom edge */
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
}
.ticket header { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--soy-soft); padding-bottom: 8px; font-size: .8rem; color: var(--soy-soft); }
.ticket h3 { font: 500 1.5rem/1 var(--mono); margin: 14px 0 6px; text-align: center; letter-spacing: .02em; }
.ticket-type { text-align: center; font-size: .8rem; color: var(--soy-soft); border-bottom: 1px dashed var(--soy-soft); padding-bottom: 12px; margin-bottom: 12px; }
.ticket ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
/* quantity in its own column so wrapped item names stay aligned */
.ticket li { display: grid; grid-template-columns: 3ch minmax(0, 1fr); align-items: start; }
.ticket li::before { content: "1"; color: var(--soy-soft); }
.ticket small { grid-column: 2; display: block; font-size: .72rem; color: var(--soy-soft); }
.ticket-links a { color: var(--chili); text-underline-offset: 3px; }
.ticket-links a:hover { color: var(--soy); }
.js .ticket.reveal { translate: none; rotate: -14deg; transition: opacity .4s ease-out var(--d, 0ms), rotate 1.1s var(--ease-spring) var(--d, 0ms); }
.js .ticket.reveal.in { rotate: var(--r); }
.ticket:hover { rotate: 0deg !important; }

/* Contact */
.contact { background: var(--soy); color: var(--paper); }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-copy { display: grid; gap: 18px; justify-items: start; }
.contact h2 { color: var(--paper); }
.contact-copy > p:not(.eyebrow) { color: rgba(255, 243, 228, .78); max-width: 46ch; }
.contact .eyebrow { color: var(--peach); }
.contact-mascot { width: clamp(110px, 14vw, 150px); animation: bob 4s ease-in-out infinite alternate; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 4px 0 0; padding: 0; font: 500 .85rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.contact-links a { color: var(--paper); text-decoration: none; border-bottom: 2px solid rgba(255, 243, 228, .35); padding-bottom: 4px; transition: border-color .2s, color .2s; }
.contact-links a:hover { color: var(--peach); border-color: var(--peach); }

/* the form: a cream card on the dark section */
.contact-form {
  display: grid; gap: 16px; padding: clamp(22px, 3.5vw, 36px);
  background: var(--paper); color: var(--soy); border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font: 500 .78rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--soy-soft); }
.field label span { text-transform: none; letter-spacing: 0; }
.field :is(input, select, textarea) {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--soy);
  padding: 12px 14px; border: 1.5px solid rgba(58, 34, 20, .22); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--chili); box-shadow: 0 0 0 3px rgba(212, 81, 42, .18); }
.field ::placeholder { color: rgba(117, 82, 60, .6); }
.contact-form .btn-solid { justify-self: start; background: var(--soy); color: var(--paper); border-color: var(--soy); }
.contact-form .btn-solid:hover { background: var(--chili); border-color: var(--chili); }
.contact-form .btn-solid:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #2F6B3A; }
.form-status.err { color: #B3282D; }

.foot { background: var(--soy); color: rgba(255, 243, 228, .7); border-top: 1px solid rgba(255, 243, 228, .15); font: 400 .85rem/1 var(--mono); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px; }
.foot ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); }

/* Tablet and phone */
@media (max-width: 900px) {
  .hero-in, .story-in, .case, .ramen { grid-template-columns: 1fr; }
  .kawali { order: -1; --size: min(400px, 82vw); }
  .case-flip .case-media { order: 0; }
  .ramen-video { max-width: 230px; margin-top: 40px; }
      }
@media (max-width: 720px) {
  .nav ul li:not(:last-child) { display: none; }
  .plates { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; row-gap: 64px; }
  /* on phones the runner runs down the table instead of across */
  .table::before {
    left: 50%; right: auto; top: 0; bottom: 0; height: auto; width: 46%; translate: -50% 0;
    background:
      linear-gradient(45deg, transparent 44%, var(--indigo) 44% 56%, transparent 56%) center / 26px 26px repeat-y,
      linear-gradient(-45deg, transparent 44%, var(--indigo) 44% 56%, transparent 56%) center / 26px 26px repeat-y,
      linear-gradient(to right,
        var(--red) 0 5%, var(--cloth) 5% 8%, var(--indigo) 8% 11%, var(--cloth) 11% 14%, var(--red) 14% 16%,
        var(--cloth) 16% 84%,
        var(--red) 84% 86%, var(--cloth) 86% 89%, var(--indigo) 89% 92%, var(--cloth) 92% 95%, var(--red) 95% 100%);
  }
  .collab-head { grid-template-columns: 1fr; }
  .carousel { --w: min(62vw, 240px); --gap: calc(var(--w) * .8); }
  .tickets { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .contact-in { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .spread { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
