/* Hummingbird — stationery house (design 2a). Shared by every page. */
:root {
  --paper: #faf8f2; --ink: #111110; --yellow: #FFC20E; --taupe: #a59788;
  --sand: #ece8de; --chip: #f1ede4; --line: #d9d4cb;
  --muted: rgba(17,17,16,0.72);
  --gut: 56px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Manrope', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgba(255,194,14,0.25); }
a:hover { opacity: 0.6; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.page { max-width: 1280px; margin: 0 auto; }
.a { font-family: 'Archivo', system-ui, sans-serif; }
.cap { font-family: 'Archivo', system-ui, sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 50; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 36px; padding: 28px var(--gut); }
.logo { font-family: 'Archivo', system-ui, sans-serif; font-weight: 800; font-size: 17px; letter-spacing: 0.05em; text-transform: uppercase; padding-bottom: 5px; border-bottom: 3px solid var(--yellow); }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 36px; margin-left: auto; }
.nav .here { border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.lang { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.lang .on { border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.lang .off { opacity: 0.45; }
.lang .sep { opacity: 0.3; }

/* Home */
.hero-img { margin: 0 var(--gut); height: clamp(240px, 44vw, 560px); background: var(--sand); overflow: hidden; }
.hero-img img, .sq img { width: 100%; height: 100%; object-fit: cover; }
.hero { display: flex; flex-direction: column; gap: 32px; padding: 72px var(--gut) 112px; }
h1.big { font-family: 'Archivo', system-ui, sans-serif; font-weight: 800; font-size: clamp(46px, 8.2vw, 104px); line-height: 0.94; letter-spacing: -0.03em; margin: 0; max-width: 18ch; text-wrap: balance; }
.lead { font-size: 21px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 46ch; }
.block { padding: 0 var(--gut) 112px; scroll-margin-top: 16px; }
.rule { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-bottom: 2px solid var(--ink); padding-bottom: 22px; }
h2.t48 { font-family: 'Archivo', system-ui, sans-serif; font-weight: 800; font-size: clamp(32px, 4.2vw, 48px); letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.brand { display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: 0 40px; align-items: center; padding: 44px 0; border-bottom: 2px solid var(--ink); }
.brand-logo { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.brand-logo img { width: auto; max-width: 240px; }
.brand-logo .since { font-size: 11px; letter-spacing: 0.16em; color: var(--muted); }
.brand-text { display: flex; flex-direction: column; gap: 12px; }
.brand-tag { font-family: 'Archivo', system-ui, sans-serif; font-weight: 800; font-size: 32px; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
.brand-text p:last-child { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 44ch; }
.shop { font-size: 13px; border-bottom: 2px solid var(--ink); padding-bottom: 4px; white-space: nowrap; justify-self: end; }
.squares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.sq { aspect-ratio: 1 / 1; background: var(--sand); overflow: hidden; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 40px; }
.col { display: flex; flex-direction: column; gap: 32px; }
.body19 { font-size: 19px; line-height: 1.7; color: var(--muted); margin: 0; }
.values { container-type: inline-size; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; height: 440px; }
.tile { padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.tile .no { font-family: 'Archivo', system-ui, sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.12em; }
.tile .v { font-family: 'Archivo', system-ui, sans-serif; font-weight: 800; font-size: 24px; font-size: clamp(16px, calc(6.2cqi - 5.5px), 32px); line-height: 1.02; letter-spacing: -0.02em; }
.t1 { background: var(--yellow); } .t2 { background: var(--taupe); } .t3 { background: var(--ink); color: var(--paper); } .t4 { background: var(--chip); border: 1px solid var(--line); }
.how { display: flex; flex-direction: column; gap: 32px; margin-top: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { border-top: 2px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.step h3 { font-family: 'Archivo', system-ui, sans-serif; font-weight: 800; font-size: 28px; line-height: 1.05; letter-spacing: -0.015em; margin: 0; }
.step p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0; }

/* Yellow call-to-action band (contact / apply) */
.band { background: var(--yellow); padding: 88px var(--gut) 96px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: end; scroll-margin-top: 16px; }
.band .cap { margin-bottom: 24px; }
.band h2 { font-family: 'Archivo', system-ui, sans-serif; font-weight: 800; font-size: clamp(50px, 7.5vw, 96px); line-height: 0.95; letter-spacing: -0.03em; margin: 0; }
.band-side { display: flex; flex-direction: column; gap: 18px; }
.band-side p { font-size: 17px; line-height: 1.6; margin: 0; }
.band-side .addr { font-size: 15px; margin-top: 8px; }
.mail { font-family: 'Archivo', system-ui, sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.01em; border-bottom: 3px solid var(--ink); padding-bottom: 6px; align-self: flex-start; overflow-wrap: anywhere; }

/* Footer */
.foot { padding: 28px var(--gut) 36px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 28px; font-size: 11px; }
.foot-row span:last-child { display: flex; gap: 28px; }
.disclaimer { font-size: 12.5px; line-height: 1.6; color: rgba(17,17,16,0.6); margin: 0 0 22px; max-width: 80ch; }
.disclaimer a { text-decoration: underline; text-underline-offset: 3px; }

/* Careers */
.c-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; padding: 96px var(--gut); align-items: end; }
.c-hero p { font-size: 19px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 40ch; }
.job { border-bottom: 2px solid var(--ink); }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 48px; gap: 32px; align-items: center; padding: 32px 0; }
.job summary::-webkit-details-marker { display: none; }
.job .jt { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; font-family: 'Archivo', system-ui, sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 36px); line-height: 1.05; letter-spacing: -0.02em; }
.job .jm { color: var(--muted); }
.job .sign { font-family: 'Archivo', system-ui, sans-serif; font-weight: 800; font-size: 32px; text-align: right; }
.job .sign::before { content: "+"; }
.job[open] .sign::before { content: "\2212"; }
.job-body { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 32px; padding: 0 0 48px; }
.job-in { display: flex; flex-direction: column; gap: 40px; }
.job-in > p { font-size: 19px; line-height: 1.7; color: rgba(17,17,16,0.78); margin: 0; max-width: 62ch; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.two > div { display: flex; flex-direction: column; gap: 18px; }
.dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dots li { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; font-size: 16px; line-height: 1.6; color: rgba(17,17,16,0.78); }
.dots li::before { content: ""; width: 6px; height: 6px; background: var(--ink); margin-top: 10px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.facts div { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.55; }
.facts .cap { font-size: 11px; color: rgba(17,17,16,0.6); }
.fine { display: flex; flex-direction: column; gap: 10px; max-width: 72ch; }
.fine p { font-size: 15px; line-height: 1.65; color: rgba(17,17,16,0.78); margin: 0; }
.apply { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.apply li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; font-size: 16px; line-height: 1.55; border-top: 1px solid rgba(17,17,16,0.25); padding-top: 10px; }
.apply li span { font-family: 'Archivo', system-ui, sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.1em; padding-top: 3px; }
.band-side .data { font-size: 14px; margin-top: 12px; padding-top: 16px; border-top: 1px solid rgba(17,17,16,0.25); }
.band-side .data a { text-decoration: underline; }

/* Legal pages: wording is copied verbatim from the live site; only this styling is new */
.legal { padding: 72px var(--gut) 112px; }
.legal h1 { font-family: 'Archivo', system-ui, sans-serif; font-weight: 800; font-size: clamp(40px, 6.5vw, 80px); line-height: 0.98; letter-spacing: -0.03em; margin: 0 0 20px; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.legal .stand { font-family: 'Archivo', system-ui, sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(17,17,16,0.6); margin: 0; }
.legal .body { max-width: 860px; margin-top: 56px; border-top: 2px solid var(--ink); }
.legal .body > div { padding: 36px 0; border-bottom: 1px solid var(--line); }
.legal .body > div:last-of-type { border-bottom: 2px solid var(--ink); }
.legal .body > p { font-family: 'Archivo', system-ui, sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin: 28px 0 0; }
.legal h2 { font-family: 'Archivo', system-ui, sans-serif; font-weight: 800; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 16px; }
.legal .body > div p, .legal li { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0 0 10px; }
.legal ul { margin: 0 0 10px; padding-left: 20px; }
.legal li { margin: 0 0 6px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .body a { text-decoration: underline; text-underline-offset: 3px; }

/* Tablet */
@media (max-width: 960px) {
  :root { --gut: 32px; }
  .brand { grid-template-columns: 180px minmax(0, 1fr); gap: 24px 32px; }
  .brand-logo img { max-width: 180px; }
  .shop { grid-column: 2; justify-self: start; }
  .story, .band, .c-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .values { height: auto; }
  .tile { min-height: 180px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .band { padding: 72px var(--gut); }
  .job summary { grid-template-columns: minmax(0, 1fr) 32px; gap: 8px 16px; padding: 24px 0; }
  .job summary .no { grid-column: 1 / -1; }
  .job summary .jm { grid-column: 1; grid-row: 3; }
  .job summary .sign { grid-column: 2; grid-row: 2; }
  .job-body { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 36px; }
  .job-body > span { display: none; }
}
/* Phone */
@media (max-width: 640px) {
  :root { --gut: 20px; }
  .top { display: grid; grid-template-columns: 1fr auto; gap: 18px 16px; padding: 18px var(--gut) 8px; padding-top: max(18px, env(safe-area-inset-top)); }
  .logo { justify-self: start; }
  .lang { grid-row: 1; grid-column: 2; margin-left: 0; font-size: 12px; }
  .lang a { padding: 10px 2px; }
  .nav { grid-row: 2; grid-column: 1 / -1; margin-left: 0; justify-content: space-between; flex-wrap: nowrap; gap: 8px; font-size: 11px; letter-spacing: 0.1em; border-top: 1px solid var(--line); }
  .nav a { padding: 12px 0; }
  .nav a.here { padding-bottom: 10px; }
  .foot-row span:last-child a { padding: 10px 0; }
  .logo, .lang a, .foot-row a { position: relative; }
  .logo::after, .lang a::after, .foot-row a::after { content: ""; position: absolute; inset: -10px -8px; }
  .squares { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .squares .sq:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .hero { padding: 40px var(--gut) 72px; gap: 20px; }
  .lead { font-size: 18px; }
  .block { padding-bottom: 72px; }
  .brand { grid-template-columns: minmax(0, 1fr); padding: 32px 0; gap: 20px; }
  .brand-logo { align-items: flex-start; }
  .brand-logo img { max-width: 160px; max-height: 72px; }
  .shop { grid-column: 1; }
  .brand-tag { font-size: 26px; }
  .squares { margin-top: 32px; }
  .story { margin-top: 28px; }
  .body19 { font-size: 17px; }
  .values { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tile { min-height: 112px; }
  .tile .v { font-size: clamp(22px, 8cqi, 32px); }
  .band { padding: 56px var(--gut) 64px; }
  .c-hero { padding: 48px var(--gut) 64px; }
  .job-in > p { font-size: 17px; }
  .two, .facts { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .legal { padding: 40px var(--gut) 72px; }
  .legal .body { margin-top: 36px; }
  .legal .body > div { padding: 28px 0; }
}

/* ------------------------------------------------------------------ motion & polish (2026-10-01)
   All progressive: browsers without support show the static page; "reduce motion" switches it all off. */

/* 1. Page changes cross-fade; the header stays in place (View Transitions, cross-document) */
@view-transition { navigation: auto; }
.top { view-transition-name: site-header; }
::view-transition-old(root) { animation: 260ms cubic-bezier(.4,0,.2,1) both vt-out; }
::view-transition-new(root) { animation: 420ms cubic-bezier(.2,0,0,1) 60ms both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* 2. Content settles in as it scrolls into view; the hero photo drifts slower than the page */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .brand, .sq, .tile, .step, .story .col > :not(.values), .how > .cap, .rule, .job, .band > *, .legal .body > div {
      animation: settle linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 45%;
    }
    .sq:nth-child(2), .tile:nth-child(2n), .step:nth-child(2) { animation-range: entry 12% entry 52%; }
    .sq:nth-child(3), .step:nth-child(3) { animation-range: entry 19% entry 59%; }
    .hero-img img { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  }
}
@keyframes settle { from { opacity: 0; transform: translateY(28px); } }
@keyframes drift { from { transform: scale(1.08) translateY(-3%); } to { transform: scale(1.08) translateY(4%); } }

/* 3. The heading font is variable: links thicken smoothly on hover instead of fading */
.nav a, .shop, .mail, .foot-row a { transition: font-weight 220ms ease, opacity 220ms ease; }
.nav a { display: inline-flex; flex-direction: column; align-items: center; }
.nav a::after { content: attr(data-text); font-weight: 800; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; }
.shop .arr { display: inline-block; transition: transform 220ms ease; }
@media (hover: hover) {
  .nav a:hover, .shop:hover, .mail:hover { opacity: 1; font-weight: 800; }
  .mail:hover { font-weight: 900; }
  .shop:hover .arr, .brand:hover .shop .arr { transform: translateX(5px); }
  .brand:hover .shop { font-weight: 800; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .nav a, .shop, .mail, .foot-row a, .shop .arr { transition: none; }
}
.shop { display: inline-grid; }
.shop .lbl, .shop::after { grid-area: 1 / 1; }
.shop::after { content: attr(data-text); font-weight: 800; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; padding-right: 5px; white-space: nowrap; }
