/* Segoro Nusantara Food — landing page */

:root {
  --brand: #8A5A24;
  --brand-dark: #6E4519;
  --gold: #E9B85E;
  --ink: #2B2620;
  --body: #36302A;
  --muted: #5F574E;
  --cream: #F7F5F1;
  --tint: #EFEBE4;
  --line: #E2DACB;
  --white: #FFFFFF;
  --dark: #2E2822;

  --shell: 1360px;
  --wrap: 1240px;
  --pad: clamp(16px, 3vw, 40px);
  --gutter: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  --chrome: 128px;
  --radius: 22px;
  --radius-lg: 40px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .map__info.is-changing > * { animation: none; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Type */
.h2 { margin: 0; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; color: var(--brand); }
.h2--light { color: var(--white); }
.h2--ink { color: var(--ink); }
.h2--ink span { color: var(--brand); }
.h3 { margin: 0; font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--brand); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: 16px; border: 2px solid transparent;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease;
}
.btn span { transition: transform var(--t-hover) var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.8); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--brand-dark); }
  .btn:hover span { transform: translateX(4px); }
  .btn--light:hover { background: var(--gold); color: var(--ink); }
  .btn--ghost:hover { background: var(--white); color: var(--ink); }
}

/* Top bar + header */
.topbar { background: var(--brand); color: var(--white); }
.topbar__inner {
  padding: 10px var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-size: 14px;
}
.topbar__left, .topbar__right { display: flex; gap: 8px 24px; flex-wrap: wrap; align-items: center; }
.topbar a { color: var(--white); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.topbar svg { width: 16px; height: 16px; }

.header { position: sticky; top: 0; z-index: 20; background: var(--white); transition: box-shadow var(--t-ui) ease; }
.header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(43, 38, 32, 0.45); } /* taste-skill-ignore: sticky bar */
.header__inner { padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: padding var(--t-ui) var(--ease-out); }
.header.is-scrolled .header__inner { padding-top: 8px; padding-bottom: 8px; }
.header__logo img { width: 150px; transition: width var(--t-ui) var(--ease-out); }
.header.is-scrolled .header__logo img { width: 120px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.nav a { color: var(--ink); text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform var(--t-hover) var(--ease-out); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
.nav .nav__cta { background: var(--brand); color: var(--white); padding: 8px 18px; border-radius: 999px; }
.nav .nav__cta::after { display: none; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  :root { --chrome: 116px; }
  .topbar__right { display: none; }
  .header__inner { padding: 12px var(--pad); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--tint); cursor: pointer; }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform var(--t-ui) var(--ease-out), background-color var(--t-ui) ease; }
  .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bar::before { top: -6px; }
  .nav-toggle__bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: var(--pad); right: var(--pad);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px;
    background: var(--white); border-radius: 18px; box-shadow: 0 20px 40px -20px rgba(43, 38, 32, 0.5); /* taste-skill-ignore: open menu overlay */
    transform-origin: top right; transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out), visibility var(--t-ui);
  }
  .nav a { padding: 14px 16px; border-radius: 12px; }
  .nav a::after { display: none; }
  .nav .nav__cta { text-align: center; margin-top: 6px; padding: 14px 16px; }
  .js .nav:not(.is-open) { opacity: 0; transform: scale(0.97) translateY(-6px); visibility: hidden; pointer-events: none; }
}

/* Hero */
.hero { position: relative; min-height: max(600px, calc(100svh - var(--chrome))); overflow: hidden; background: var(--dark); display: flex; align-items: center; justify-content: flex-end; padding-right: max(0px, calc((100vw - var(--shell)) / 2)); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.hero::after { content: ""; position: absolute; inset: 0; /* taste-skill-ignore: scrim over photo */ background: linear-gradient(90deg, rgba(20, 16, 12, 0) 30%, rgba(20, 16, 12, 0.55) 62%, rgba(20, 16, 12, 0.75)); pointer-events: none; }
.hero__content { position: relative; z-index: 1; width: min(720px, 100%); padding: 72px clamp(24px, 5vw, 64px) 120px 24px; color: var(--white); }
.hero__title { margin: 0; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }
.hero__title-sub { font-weight: 400; font-size: 0.625em; }
.hero__row { margin-top: 28px; display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.hero__thumbs { display: flex; gap: 12px; }
.hero__thumbs img { width: 132px; height: 104px; object-fit: cover; border-radius: 18px; border: 3px solid rgba(255, 255, 255, 0.85); }
.hero__row p { margin: 0; flex: 1 1 200px; font-size: 16px; color: #F3EEE6; }
.hero__actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .hero { min-height: 0; flex-direction: column; padding-right: 0; }
  .supply { padding: 0 var(--pad) 96px; }
  .supply__media { border-radius: var(--radius); }
  .infostrip { margin-top: -24px; justify-content: flex-start; }
  .hero__media { position: relative; height: 260px; }
  .hero::after { display: none; }
  .hero__content { padding: 32px 20px 40px; width: 100%; }
}

.infostrip {
  position: relative; z-index: 2; max-width: calc(var(--wrap) - 2 * var(--pad)); margin: -48px auto 0; width: calc(100% - 2 * var(--pad));
  background: var(--white); border-radius: var(--radius);
  padding: 20px 28px; display: flex; justify-content: space-around; align-items: center; gap: 16px 24px; flex-wrap: wrap; font-size: 16px;
}
.infostrip a:not(.btn) { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.infostrip__halal { display: flex; flex-direction: column; line-height: 1.3; }
.infostrip__halal strong { font-size: 18px; }
.infostrip__halal span, .infostrip__muted { color: var(--muted); }

/* Marquee */
.marquee { margin-top: 72px; overflow: hidden; background: var(--tint); padding: 20px 0; }
.marquee__track { display: flex; width: max-content; gap: 56px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; color: var(--brand); white-space: nowrap; }
.marquee__track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 70s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* About */
.about { padding-top: 120px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about__collage { flex: 1 1 460px; min-width: 0; position: relative; height: 560px; }
.about__badge { position: absolute; left: 0; top: 96px; z-index: 2; width: 120px; height: 120px; border-radius: var(--radius); background: var(--brand); display: flex; align-items: center; justify-content: center; padding: 16px; }
.about__badge img { filter: brightness(0) invert(1); }
.about__big { position: absolute; left: 70px; top: 0; right: 0; bottom: 0; border-radius: 40px 120px 40px 120px; overflow: hidden; }
.about__big img { width: 100%; height: 100%; object-fit: cover; }
.about__small { position: absolute; left: 30%; bottom: -20px; width: min(220px, 50%); aspect-ratio: 1 / 1; border-radius: 32px; overflow: hidden; border: 8px solid var(--white); z-index: 2; }
.about__small img { width: 100%; height: 100%; object-fit: cover; }
.about__text { flex: 1 1 440px; min-width: 0; }
.about__text > p { margin: 20px 0 0; max-width: 52ch; color: var(--body); }
.stats { margin: 40px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats { gap: 16px; }
.stats > div { display: flex; flex-direction: column; justify-content: flex-start; background: var(--cream); border-radius: 16px; padding: 18px 18px 16px; }
.stats dd { order: -1; }
.stats dd { margin: 0; font-size: clamp(28px, 2.8vw, 40px); font-weight: 600; color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums; }
.stats dt { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Story */
.story { padding: 0 0 96px; }
.story__inner { background: var(--tint); padding: 72px var(--gutter); display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.story__title { margin: 0; flex: 1 1 300px; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.15; font-weight: 500; }
.story__title span { color: var(--brand); font-weight: 600; }
.story__text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; color: var(--body); }
.story__text p { margin: 0; }

/* Dark banner + floating cutout */
.banner { padding: 0; }
.banner__frame { position: relative; min-height: 480px; overflow: hidden; background: var(--dark); }
.banner__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__frame::after { content: ""; position: absolute; inset: 0; background: rgba(20, 16, 12, 0.45); }
.banner__text { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 72px 24px 170px; text-align: center; color: var(--white); }
.banner__text p { margin: 14px auto 0; max-width: 56ch; color: #EDE6D6; }
.banner__cutout { position: relative; z-index: 2; width: min(520px, 80%); margin: -150px auto 0; }

/* Products */
.products { padding-top: 96px; padding-bottom: 120px; }
.section-head p { margin: 12px 0 0; color: var(--body); }
.section-head--center { text-align: center; }
.section-head--center p { margin-left: auto; margin-right: auto; max-width: 60ch; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; }
.section-head--split p { max-width: 52ch; margin: 0; }
.products__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--cream); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card__media { overflow: hidden; aspect-ratio: 4 / 3; }
.card__media > img:not(.halal-logo) { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-soft); }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.card h3 { margin: 0; font-size: 18px; font-weight: 600; }
.card p { margin: 0 0 6px; font-size: 16px; color: var(--body); }
.card .btn { margin-top: auto; align-self: flex-start; }
@media (hover: hover) and (pointer: fine) { .card:hover .card__media > img:not(.halal-logo) { transform: scale(1.05); } }

/* Why band */
.why { padding: 0; }
.why__band { background: var(--brand); color: var(--white); border-radius: 120px 0 0 0; padding: 80px var(--gutter) 150px; display: flex; flex-wrap: wrap; gap: 32px 48px; }
.why__title { margin: 0; flex: 1 1 320px; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.15; font-weight: 500; }
.why__text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 14px; color: #F3EEE6; }
.why__text p { margin: 0; }
.why__cutout { position: relative; width: min(680px, 90%); margin: -120px auto 0; }

/* Commitment */
.icon { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--brand); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.icon svg { width: 20px; height: 20px; }
.icon--soft { width: 36px; height: 36px; border-radius: 10px; background: #F1E9D6; color: var(--brand); }

/* Supply */
.supply { padding: 0 var(--gutter) 120px 0; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.supply__media { flex: 1 1 520px; min-width: 0; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; overflow: hidden; aspect-ratio: 4 / 3; }
.supply__media img { width: 100%; height: 100%; object-fit: cover; }
.supply__text { flex: 1 1 420px; min-width: 0; }
.supply__text p { margin: 16px 0 24px; max-width: 48ch; color: var(--body); }

/* Who + map */
.who { padding: 0; }
.who__inner { background: var(--cream); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 96px var(--gutter) 80px; text-align: center; }
.who__title { margin: 0; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; font-weight: 700; color: var(--brand); }
.who__inner > p { margin: 14px 0 0; color: var(--body); }
.who__list { list-style: none; margin: 40px auto 0; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; text-align: left; }
.who__list li { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 16px; padding: 14px 16px; font-size: 16px; font-weight: 500; }
.map { margin: 56px auto 0; max-width: 1240px; }
.map__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: center; text-align: left; }
.map__canvas { position: relative; }
.map__pin { position: absolute; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; transform: translate(-50%, -50%); cursor: pointer; }
.map__pin::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 3px solid var(--brand); opacity: 0; transform: scale(0.6); transition: opacity var(--t-ui) ease, transform var(--t-ui) var(--ease-out); }
.map__pin.is-active::before { opacity: 1; transform: scale(1.35); }
.map__tag { position: absolute; left: 50%; top: 50%; background: var(--white); color: var(--ink); padding: 4px 10px; border-radius: 999px; font: 600 14px/1.4 'Plus Jakarta Sans', sans-serif; white-space: nowrap; outline: 2px solid var(--line); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, outline-color var(--t-hover) ease; }
.map__pin.is-active .map__tag, .map__pin--hq .map__tag { background: var(--brand); color: var(--white); outline-color: var(--brand); }
.map__pin--hq:not(.is-active) .map__tag { background: var(--white); color: var(--brand); outline-color: var(--brand); }
@media (hover: hover) and (pointer: fine) { .map__pin:hover .map__tag { outline-color: var(--brand); } }
.map__tag--up { transform: translate(-50%, calc(-100% - 14px)); }
.map__tag--down { transform: translate(-50%, 14px); }
.map__tag--up-left { transform: translate(calc(-100% - 8px), calc(-100% - 12px)); }
.map__tag--down-left { transform: translate(calc(-100% - 6px), 12px); }
.map__info { background: var(--white); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.map__role { margin: 0; font-size: 16px; font-weight: 600; color: var(--brand); }
.map__city { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 700; color: var(--ink); }
.map__count { margin: 8px 0 0; color: var(--body); }
.map__count strong { font-size: 24px; color: var(--brand); font-variant-numeric: tabular-nums; }
.map__desc { margin: 0 0 12px; color: var(--body); }
.map__info .btn { align-self: flex-start; }
.map__info.is-changing > * { animation: info-in 420ms var(--ease-out) both; }
.map__legend { list-style: none; margin: 24px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.map__chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 2px solid transparent; border-radius: 999px; background: var(--white); color: var(--ink); font: 500 16px 'Plus Jakarta Sans', sans-serif; cursor: pointer; transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease; }
.map__chip.is-active { border-color: var(--brand); background: #F3ECDF; }
@media (hover: hover) and (pointer: fine) { .map__chip:hover { border-color: var(--line); } .map__chip.is-active:hover { border-color: var(--brand); } }
@keyframes info-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.dot--hq { background: var(--brand); box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--brand); } /* taste-skill-ignore: ring marker, not a shadow */
.dot--branch { background: var(--brand); }
.dot--area { background: var(--white); border: 2px solid var(--brand); }

/* Brand banner */
.brand { padding: 0; }
.brand__frame { position: relative; min-height: 380px; overflow: hidden; background: var(--dark); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 56px var(--gutter); }
.brand__bg { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: right center; }
.brand__frame::after { content: ""; position: absolute; inset: 0; /* taste-skill-ignore: scrim over photo */ background: linear-gradient(90deg, rgba(20, 16, 12, 0.7) 20%, rgba(20, 16, 12, 0.1) 70%); }
.brand__text { position: relative; z-index: 1; color: var(--white); }
.brand__title { margin: 0; font-size: clamp(30px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; font-weight: 700; }
.brand__title span { font-weight: 400; }
.brand__tagline { margin: 14px 0 0; max-width: 36ch; color: #F3EEE6; }

/* Ideas */
.ideas { padding-top: 96px; padding-bottom: 64px; }
.ideas__grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.idea { background: var(--cream); border-radius: var(--radius); overflow: hidden; }
.idea__media { aspect-ratio: 16 / 10; overflow: hidden; }
.idea__media img { width: 100%; height: 100%; object-fit: cover; }
.idea__body { padding: 20px 22px 24px; }
.idea__tag { margin: 0; font-size: 14px; font-weight: 600; color: var(--brand); }
.idea h3 { margin: 6px 0 0; font-size: 18px; line-height: 1.35; font-weight: 600; }
.idea__body p:last-child { margin: 8px 0 0; font-size: 16px; color: var(--body); }

/* CTA */
.cta { padding-bottom: 96px; }
.cta__box { background: var(--brand); color: var(--white); border-radius: var(--radius); padding: 32px clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta__box h2 { margin: 0; font-size: 24px; font-weight: 600; }
.cta__box p { margin: 6px 0 0; font-size: 16px; color: #F3EEE6; }

/* Footer */
.footer { background: var(--brand); color: #F3EEE6; }
.footer__inner { padding: 64px var(--gutter) 28px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer__logo { width: 170px; filter: brightness(0) invert(1); }
.footer__grid > div > p { margin: 18px 0 0; font-size: 16px; }
.footer__social { margin-top: 18px; display: flex; gap: 10px; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .footer__social a:hover { background: var(--gold); color: var(--ink); } }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer__col h2 { margin: 0 0 4px; color: var(--white); font-size: 18px; font-weight: 600; }
.footer__col a { color: var(--white); }
.footer__legal { margin: 56px 0 0; font-size: 14px; color: #F3EEE6; }

/* Customers */
.clients { padding: 104px var(--gutter) 112px; }
.clients__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.clients__title { margin: 0; max-width: 16ch; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
.clients__title span { color: var(--brand); font-variant-numeric: tabular-nums; }
.clients__head p { margin: 0; max-width: 46ch; color: var(--body); }
.clients__cities { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.clients__cities li { background: var(--cream); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.clients__cities strong { font-size: 40px; line-height: 1; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.clients__city { font-size: 18px; font-weight: 600; color: var(--ink); }
.clients__note { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .clients { padding: 72px var(--pad) 80px; }
  .clients__cities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
  .clients__cities li { padding: 18px; }
  .clients__cities strong { font-size: 30px; }
}

/* Customer logos */
.marquee--logos { padding: 22px 0; }
.marquee--logos .marquee__track { gap: 16px; align-items: center; }
.marquee__logo { display: inline-flex; align-items: center; justify-content: center; height: 84px; min-width: 150px; padding: 12px 24px; background: var(--white); border-radius: 18px; }
.marquee--logos .marquee__track span::after { display: none; }
.marquee__logo img { height: 56px; width: auto; max-width: 170px; object-fit: contain; }
.clients__logos { margin-top: 64px; }
.clients__sub { margin: 0; font-size: 24px; font-weight: 600; color: var(--ink); }
.logo-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.logo-grid li { height: 112px; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--cream); border-radius: var(--radius); }
.logo-grid img { max-height: 68px; max-width: 85%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.clients__fine { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .marquee__logo { height: 64px; min-width: 112px; padding: 8px 16px; border-radius: 14px; }
  .marquee__logo img { height: 40px; max-width: 120px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .logo-grid li { height: 92px; }
  .logo-grid img { max-height: 54px; }
  .clients__logos { margin-top: 48px; }
}

/* Product cards link to product pages */
.card__link { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .card__link:hover { color: var(--brand); } }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
@media (hover: hover) and (pointer: fine) { .btn--outline:hover { background: var(--brand); color: var(--white); } }

/* Product pages */
.pd { max-width: 1440px; margin: 0 auto; padding: 32px var(--pad) 0; }
.pd__crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.pd__crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.pd__crumbs a { color: var(--muted); }
.pd__hero { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.pd__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream); }
.pd__media img { width: 100%; height: 100%; object-fit: cover; }
.pd__title { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
.pd__lead { margin: 16px 0 0; font-size: 18px; color: var(--body); max-width: 46ch; }
.pd__badges { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pd__badges li:first-child { background: var(--brand); color: var(--white); }
.pd__badges li { padding: 6px 14px; border-radius: 999px; background: var(--cream); font-size: 14px; font-weight: 500; }
.pd__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.pd__details { margin-top: 96px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
.pd__text p { margin: 16px 0 0; max-width: 60ch; color: var(--body); }
.pd__lists { display: grid; gap: 28px; align-content: start; }
.pd__lists h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.pd__list { margin: 0; padding-left: 20px; color: var(--body); display: grid; gap: 6px; }
.pd__list li::marker { color: var(--brand); }
.pd__info { margin-top: 96px; }
.pd__facts { margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pd__facts > div { background: var(--cream); border-radius: var(--radius); padding: 22px; }
.pd__facts dt { font-weight: 600; color: var(--ink); }
.pd__facts dd { margin: 6px 0 0; color: var(--body); }
.pd__related { margin-top: 96px; }
.pd__related .products__grid { margin-top: 28px; }
.pd .cta { margin-top: 96px; padding-left: 0; padding-right: 0; max-width: none; }
@media (max-width: 760px) {
  .pd { padding: 20px var(--pad) 0; }
  .pd__hero, .pd__details { grid-template-columns: 1fr; gap: 24px; }
  .pd__details, .pd__info, .pd__related, .pd .cta { margin-top: 64px; }
  .pd__actions { flex-direction: column; align-items: stretch; }
  .pd__actions .btn { justify-content: center; }
}

/* Fleet */
.fleet { padding: 0 var(--gutter) 120px; }
.fleet__grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.fleet__item { margin: 0; }
.fleet__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream); }
.fleet__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) { .fleet__item:hover .fleet__media img { transform: scale(1.04); } }
.fleet__item figcaption { margin-top: 12px; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .fleet { padding: 0 var(--pad) 80px; } .fleet__grid { gap: 16px; } }

/* Halal label */
.halal-logo { width: auto; height: 44px; flex: none; }
.infostrip__halal { flex-direction: row; align-items: center; gap: 12px; }
.infostrip__halal > div { display: flex; flex-direction: column; line-height: 1.3; }
.card__media { position: relative; }

/* Commitment: title and intro left, four points right */
.commit { padding-top: 72px; padding-bottom: 112px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.commit > .section-head { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 16px; position: sticky; top: 120px; }
.commit > .section-head p { max-width: 40ch; }
.commit__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.commit__list li { background: var(--cream); border-radius: var(--radius); padding: 26px 24px; }
.commit__list h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 600; color: var(--brand); }
.commit__list p { margin: 10px 0 0; color: var(--body); }
@media (max-width: 900px) {
  .commit { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 72px; }
  .commit > .section-head { position: static; }
}
@media (max-width: 560px) { .commit__list { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Motion (content stays visible without JS and under reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Signature: hero headline rises from behind its baseline */
  .lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
  .lines [data-line] { display: block; }
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 110ms + 150ms); }
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }

  /* Moving picture: slow settle on the hero photograph */
  .hero__media img { animation: hero-settle 9s var(--ease-soft) both; }

  /* Section entrances, once */
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* Collage photos settle from a slight scale */
  .js .settle[data-reveal] { transform: scale(0.94); }
  .js .settle[data-reveal].is-in { transform: none; }

  /* Banner and supply photo open like a shutter */
  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter[data-reveal] img { transform: scale(1.12); transition: transform 1500ms var(--ease-soft); }
  .js .shutter[data-reveal].is-in { clip-path: inset(0); }
  .js .shutter[data-reveal].is-in img { transform: none; }

  /* Cutouts drop in with a small tilt, then drift with scroll */
  .js .cutout[data-reveal] { transform: translateY(40px) rotate(-4deg); }
  .js .cutout[data-reveal].is-in { transform: none; }

  /* Map labels pop in after the map */
  .js .map[data-reveal] .map__tag { opacity: 0; transition: opacity 500ms var(--ease-out) 600ms; }
  .js .map[data-reveal].is-in .map__tag { opacity: 1; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .drift { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .why__cutout.is-in, .banner__cutout.is-in { animation: float-scroll linear both; animation-timeline: view(); animation-range: entry 40% exit 100%; }
  }
}

@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes drift { from { transform: translateY(-4%); } to { transform: translateY(4%); } }
@keyframes float-scroll { from { transform: translateY(0); } to { transform: translateY(-24px); } }

/* ---------- Phone layout ---------- */
body { overflow-x: clip; }
.infostrip a:not(.btn) { overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .topbar__inner { justify-content: center; padding-top: 8px; padding-bottom: 8px; }
  .topbar__left > span { display: none; }
  .header__logo img, .header.is-scrolled .header__logo img { width: 112px; }

  .hero__media { height: 240px; }
  .hero__title { font-size: 34px; }
  .hero__title-sub { font-size: 0.7em; }
  .hero__row { flex-direction: column; gap: 16px; margin-top: 22px; }
  .hero__thumbs { width: 100%; }
  .hero__thumbs img { flex: 1 1 0; width: auto; min-width: 0; height: auto; aspect-ratio: 5 / 4; border-radius: 14px; }
  .hero__row p { flex: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }

  .infostrip { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; margin-top: -20px; font-size: 14px; }
  .infostrip .btn { align-self: stretch; justify-content: center; }

  .marquee { margin-top: 48px; padding: 14px 0; }
  .marquee__track { font-size: 18px; gap: 32px; }
  .marquee__track span { gap: 32px; }

  .about { padding-top: 72px; padding-bottom: 72px; gap: 48px; }
  .about__collage { flex-basis: 100%; height: 400px; }
  .about__badge { width: 84px; height: 84px; top: 40px; padding: 12px; border-radius: 16px; }
  .about__big { left: 42px; border-radius: 28px 72px 28px 72px; }
  .about__small { left: 18%; width: 46%; border-width: 6px; border-radius: 24px; }
  .stats { gap: 8px; margin: 28px 0; }
  .stats > div { padding: 14px 12px; }
  .stats dd { font-size: 24px; }
  .stats dt { font-size: 14px; }

  .story { padding-bottom: 72px; }
  .story__inner { padding: 48px var(--pad); gap: 20px; }
  .story__title, .story__text { flex-basis: 100%; }

  .banner__frame { min-height: 380px; }
  .banner__text { padding: 56px var(--pad) 120px; }
  .banner__cutout { width: 88%; margin-top: -90px; }

  .products { padding-top: 72px; padding-bottom: 72px; }
  .products__grid { margin-top: 32px; gap: 18px; }

  .why__band { border-radius: 56px 0 0 0; padding: 56px var(--pad) 110px; gap: 20px; }
  .why__title, .why__text { flex-basis: 100%; }
  .why__cutout { width: 94%; margin-top: -80px; }

  .commit { padding-top: 72px; padding-bottom: 72px; }
  
  .supply { gap: 28px; padding-bottom: 72px; }
  .supply__media, .supply__text { flex-basis: 100%; }

  .who__inner { padding: 64px var(--pad) 56px; border-radius: 28px 28px 0 0; }
  .who__list { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .map { margin-top: 36px; }
  .map__layout { grid-template-columns: 1fr; }
  .map__pin { pointer-events: none; }
  .map__tag { display: none; }
  .map__legend { justify-content: flex-start; gap: 8px; }
  .map__chip { font-size: 14px; padding: 0 14px; }

  .brand__title { font-size: 34px; }
  .brand__frame { min-height: 0; flex-direction: column; align-items: flex-start; padding: 48px var(--pad) 72px; gap: 28px; }
  .brand__bg { object-position: 70% center; }
  .brand__frame::after { background: rgba(20, 16, 12, 0.6); }
    
  .ideas { padding-top: 72px; }
  .cta__box { flex-direction: column; align-items: stretch; text-align: left; }
  .cta__box .btn { justify-content: center; }
  .cta { padding-bottom: 72px; }

  .footer__inner { padding-top: 48px; }
  .footer__grid { gap: 32px; }
}

@media (max-width: 360px) {
  .h2, .story__title, .why__title { font-size: 24px; }
  .hero__media { height: 180px; }
  .hero__content { padding-top: 24px; }
  .hero__title { font-size: 30px; }
  .topbar__inner { font-size: 13px; }
  .infostrip a:not(.btn) svg { display: none; }
  .infostrip a:not(.btn) { font-size: 14px; overflow-wrap: normal; }
}
