/* Nōho — A more connected way to live.
   Layout and components on the Nōho design system (tokens mirror the design-system artifact).
   Plain CSS, no build step, no JavaScript. */

/* ------------------------------------------------------------------ fonts
   Montserrat, self-hosted WOFF2 subsets (SIL OFL 1.1, see assets/fonts/OFL.txt).
   Weights used: 400, 400 italic, 500, 600, 700. To follow the handbook's Helvetica route
   instead, delete these rules and set --font-sans to "Helvetica Neue", Helvetica, Arial, sans-serif. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/montserrat-700.woff2") format("woff2"); }

/* ------------------------------------------------------------------ tokens */
:root {
  --noho-green: #005C17;      /* primary; lime on it 4.8:1, white 8.3:1 */
  --noho-black: #231815;      /* warm ink and the dark panel */
  --noho-lime: #B8D200;       /* accent, dark grounds only */
  --noho-white: #FFFFFF;
  --grey-50: #F6F6F5;
  --grey-200: #DCDCDA;
  --grey-600: #565859;        /* body text on white, 7.2:1 */
  --fg1: var(--noho-black);
  --fg2: var(--grey-600);
  --fg-on-dark: #FFFFFF;
  --fg-on-dark-2: rgba(255, 255, 255, 0.66);
  --rule-on-dark: rgba(255, 255, 255, 0.16);
  --rule-on-green: rgba(255, 255, 255, 0.24);

  --font-sans: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ls-tight: -0.02em;
  --ls-wider: 0.12em;

  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 9vw, 128px);
  --radius-md: 4px;

  --dur: 240ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noho-white);
  color: var(--fg1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure, ol, ul, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--noho-green); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--noho-lime); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 10;
  padding: 12px 16px; border-radius: var(--radius-md);
  background: var(--noho-lime); color: var(--noho-black);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ------------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.ground-green { background: var(--noho-green); color: var(--fg-on-dark); }
.ground-dark { background: var(--noho-black); color: var(--fg-on-dark); }
.ground-white { background: var(--noho-white); color: var(--fg1); }

/* ------------------------------------------------------------------ type */
.eyebrow {
  font-size: 14px; line-height: 1.4; font-weight: 600;
  letter-spacing: var(--ls-wider); text-transform: uppercase;
  color: var(--noho-green);
}
.on-dark .eyebrow { color: var(--noho-lime); }
.display {
  font-size: clamp(44px, 7vw, 100px); line-height: 1.04; font-weight: 700;
  letter-spacing: var(--ls-tight); color: var(--noho-lime);
  text-wrap: balance;
}
.title {
  font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; font-weight: 700;
  letter-spacing: var(--ls-tight); text-wrap: balance;
}
.title--lime { color: var(--noho-lime); }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; }
.body { font-size: 16px; line-height: 1.65; }
.muted { color: var(--fg2); }
.on-dark .muted { color: var(--fg-on-dark-2); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: var(--radius-md);
  font: 600 15px/1.2 var(--font-sans); letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--lime { background: var(--noho-lime); border-color: var(--noho-lime); color: var(--noho-black); }
.btn--lime:hover { background: var(--noho-white); border-color: var(--noho-white); color: var(--noho-black); }
.btn--outline { background: transparent; border-color: var(--noho-lime); color: var(--noho-lime); }
.btn--outline:hover { background: var(--noho-lime); color: var(--noho-green); }

/* ------------------------------------------------------------------ header */
.site-header { background: var(--noho-green); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-tile { display: block; flex: none; line-height: 0; }
.brand-tile img { width: clamp(132px, 10vw, 148px); height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.site-nav__links { display: flex; gap: 32px; }
.site-nav__links a {
  display: block; padding-block: 12px;
  color: var(--fg-on-dark); text-decoration: none;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  transition: color var(--dur) var(--ease-out);
}
.site-nav__links a:hover { color: var(--noho-lime); }

/* ------------------------------------------------------------------ hero */
.hero { padding-top: clamp(56px, 7vw, 104px); }
.hero .display { margin-top: 20px; max-width: 11em; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 64px; align-items: end;
  margin-top: clamp(40px, 5vw, 64px);
}
.hero__lead { max-width: 32em; color: var(--fg-on-dark); }
.hero__note { font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--noho-lime); }
.hero__actions { margin-top: 24px; }
.hero__band {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px;
  margin-top: clamp(56px, 7vw, 96px); padding-block: 28px 36px;
}
.hero__band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--rule-on-green); transform-origin: left center;
}
.hero__triad { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; font-weight: 700; letter-spacing: var(--ls-tight); }
.hero__scroll {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--fg-on-dark-2); text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}
.hero__scroll:hover { color: var(--noho-lime); }

/* ------------------------------------------------------------------ section intro */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: end; }
.intro .title { margin-top: 16px; }
.intro__copy { display: grid; gap: 16px; max-width: 38em; }

/* ------------------------------------------------------------------ food */
.shape-photo { margin-top: clamp(48px, 6vw, 80px); }
/* The image sits inside the brand shape element (rounded corners), defined once as #shape-clip */
.shape-photo__frame {
  aspect-ratio: 372.77 / 161.02; max-width: 100%;
  overflow: hidden; background: var(--grey-50);
  -webkit-clip-path: url(#shape-clip); clip-path: url(#shape-clip);
}
.shape-photo__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.shape-photo figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; margin-top: 16px; font-size: 14px; line-height: 1.5; }
.shape-photo__title { font-weight: 600; color: var(--fg1); }
.shape-photo__note { color: var(--fg2); }

.approach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; margin-top: clamp(56px, 6vw, 80px); }
.approach__item { padding-top: 24px; border-top: 2px solid var(--noho-green); }
.approach__title { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.approach__item .body { margin-top: 10px; }

/* ------------------------------------------------------------------ vision */
.system { margin-top: clamp(56px, 7vw, 88px); padding-top: 24px; border-top: 1px solid var(--rule-on-dark); }
.system__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; align-items: start; margin-top: 24px; }
.module__frame { position: relative; display: block; aspect-ratio: 376.77 / 165.02; container-type: inline-size; }
.module__frame svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--noho-lime); stroke-width: 1.5; overflow: visible; }
.module__name {
  position: absolute; left: 6.2%; top: 12%; right: 32%;
  font-size: 14px; font-size: clamp(12px, 6.8cqw, 17px); line-height: 1.15; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--noho-lime);
}
.module--start .module__frame svg { fill: var(--noho-lime); }
.module--start .module__name { color: var(--noho-black); }
.module__note { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--noho-lime); }
.module__note::before { content: ""; flex: none; width: 20px; height: 1.5px; background: currentColor; }

.statement { margin-top: clamp(56px, 7vw, 96px); font-size: clamp(30px, 4.2vw, 56px); line-height: 1.12; font-weight: 700; letter-spacing: var(--ls-tight); text-wrap: balance; }
.statement > span { display: block; }
.statement__accent { color: var(--noho-lime); }

/* ------------------------------------------------------------------ contact */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px 80px; align-items: end; }
.contact .title { margin-top: 16px; }
.contact .lead { margin-top: 20px; max-width: 34em; color: var(--fg-on-dark); }
.contact__actions { margin-top: 36px; }
.contact__item { padding-block: 20px 22px; border-top: 1px solid var(--rule-on-green); }
.contact__item:last-child { border-bottom: 1px solid var(--rule-on-green); }
.contact__label { font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--noho-lime); }
.contact__email {
  display: inline-block; margin-top: 8px;
  font-size: clamp(18px, 1.8vw, 22px); line-height: 1.4; font-weight: 600;
  color: var(--fg-on-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  transition: color var(--dur) var(--ease-out);
}
.contact__email:hover { color: var(--noho-lime); }
.contact address { margin-top: 8px; font-style: normal; font-size: 16px; line-height: 1.6; color: var(--fg-on-dark); }

/* ------------------------------------------------------------------ footer (dark panel, lime wordmark) */
.site-footer { background: var(--noho-black); color: var(--fg-on-dark); }
.site-footer__main { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; padding-top: 72px; }
.site-footer__brand { display: inline-block; line-height: 0; }
.site-footer__brand img { width: 116px; height: auto; }
.site-footer__tagline { margin-top: 24px; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--fg-on-dark-2); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; line-height: 1.5; font-weight: 500; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-on-dark); text-decoration: none; transition: color var(--dur) var(--ease-out); }
.site-footer__links a:hover { color: var(--noho-lime); }
.site-footer__links .icon { width: 16px; height: 16px; }
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin-top: 48px; padding-block: 32px 48px; border-top: 1px solid var(--rule-on-dark);
  font-size: 13px; line-height: 1.5; color: var(--fg-on-dark-2);
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  .hero__grid, .intro, .contact { grid-template-columns: minmax(0, 1fr); }
  .approach { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .site-nav__links { display: none; }
}

/* ------------------------------------------------------------------ motion
   Restrained, per the brand: fades and gentle rises, ease-out, no bounce.
   The hero plays once on load. Sections reveal as they scroll into view where the
   browser supports scroll-driven animation (CSS only); elsewhere they simply sit still. */
@keyframes hang   { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes rise   { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes draw   { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes widen  { from { clip-path: inset(0 5vw); } to { clip-path: inset(0 0); } }
@keyframes fill-in { from { fill: rgba(184, 210, 0, 0); } to { fill: var(--noho-lime); } }
@keyframes ink-in  { 0%, 55% { color: var(--noho-lime); } 56%, 100% { color: var(--noho-black); } }

@media (prefers-reduced-motion: no-preference) {
  .brand-tile { animation: hang 700ms var(--ease-out) both; }
  .hero .eyebrow, .hero .display, .hero__lead, .hero__side, .hero__band > * { animation: rise 900ms var(--ease-out) both; }
  .hero .eyebrow { animation-delay: 100ms; }
  .hero .display { animation-delay: 180ms; }
  .hero__lead    { animation-delay: 380ms; }
  .hero__side    { animation-delay: 480ms; }
  .hero__band > * { animation-delay: 700ms; }
  .hero__band::before { animation: draw 1200ms var(--ease-out) 560ms both; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 5% entry 85%; }
    .approach__item:nth-child(2) { animation-range: entry 15% entry 95%; }
    .approach__item:nth-child(3) { animation-range: entry 25% entry 100%; }
    .module:nth-child(2) { animation-range: entry 12% entry 90%; }
    .module:nth-child(3) { animation-range: entry 19% entry 94%; }
    .module:nth-child(4) { animation-range: entry 26% entry 97%; }
    .module:nth-child(5) { animation-range: entry 33% entry 100%; }
    .statement > span:nth-child(2) { animation-range: entry 25% entry 100%; }

    .shape-photo__frame img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    .vision { animation: widen linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    .module--start .module__frame svg { animation: fill-in linear both; animation-timeline: view(); animation-range: entry 100% cover 40%; }
    .module--start .module__name { animation: ink-in linear both; animation-timeline: view(); animation-range: entry 100% cover 40%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Approved text-resize accessibility adjustments, 2026-09-19. */
h1, h2, h3, .contact__email, .module__name { overflow-wrap: anywhere; }
.btn { max-width: 100%; white-space: normal; }
.site-header__bar { flex-wrap: wrap; }
.system__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10em), 1fr)); }
