/* Collin Gibb portfolio. Clean, system type, one green accent. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --hair: rgba(0, 0, 0, .08);
  --accent: #0b7a4b;
  --accent-hover: #08643d;
  --accent-soft: #e6f4ec;
  --warn: #9a5200;
  --warn-soft: #fff3df;
  --hot: #c4321f;
  --hot-soft: #fdebe8;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --nav-h: 56px;
  --radius-lg: 28px;
  --radius: 20px;
  --gutter: 20px;
}
@media (min-width: 740px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--ink); }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 10px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Nav: translucent material ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  transition: box-shadow 200ms ease;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--hair); }
.nav-inner {
  max-width: 1120px; height: 100%;
  margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: relative;
}
.brand { font-family: var(--font-display); font-weight: 650; font-size: 1.05rem; letter-spacing: -.01em; color: var(--ink); }
.brand:hover { text-decoration: none; }

.nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  font-size: .875rem; color: var(--ink-2); border-radius: 999px;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.nav-links .nav-cta { background: var(--ink); color: #fff; padding: 0 16px; margin-left: 6px; min-height: 34px; font-weight: 500; }
.nav-links .nav-cta:hover { background: #000; color: #fff; }

.menu-btn {
  display: none;
  font: 500 .9rem var(--font); color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  min-height: 40px; padding: 0 16px; cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.menu-btn:active { transform: scale(.97); }

@media (max-width: 819px) {
  .nav-inner { gap: 0; }
  .menu-btn { display: inline-flex; align-items: center; margin-left: auto; }
  .nav-inner > nav { width: 0; }
  .nav-links {
    position: absolute; top: calc(var(--nav-h) - 4px); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 2px;
    min-width: 220px; padding: 8px;
    background: #fff; /* solid: never stack translucent material on translucent material */
    border: 1px solid var(--hair); border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
    transform-origin: top right;
    opacity: 0; transform: scale(.96) translateY(-4px); visibility: hidden;
    transition: opacity 150ms ease, transform 150ms var(--ease-out), visibility 0s linear 150ms;
  }
  .nav.open .nav-links {
    opacity: 1; transform: none; visibility: visible;
    transition: opacity 200ms ease, transform 200ms var(--ease-out), visibility 0s;
  }
  .nav-links a { display: flex; min-height: 44px; padding: 0 14px; font-size: 1rem; border-radius: 12px; }
  .nav-links a:hover { background: var(--bg-alt); }
  .nav-links .nav-cta { margin: 4px 0 0; justify-content: center; min-height: 44px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 0 24px;
  font: 500 1rem var(--font);
  border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-quiet { color: var(--accent); padding: 0 10px; }
.btn-quiet:hover { text-decoration: underline; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Hero ---------- */

.hero { padding: 56px 0 88px; }
@media (min-width: 900px) { .hero { padding: 96px 0 120px; } }

.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }

.hero-name {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.75rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.038em;
  max-width: 12ch;
}
.hero-sub {
  margin-top: 22px; max-width: 34em;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5;
  color: var(--ink-2); letter-spacing: -.005em;
}
.hero-sub em { font-style: normal; color: var(--ink); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 32px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 700ms var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: 60ms; }
  .hero-copy > :nth-child(3) { animation-delay: 130ms; }
  .hero-copy > :nth-child(4) { animation-delay: 190ms; }
  .this-week { animation: rise-card 900ms var(--ease-out) 220ms both; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy, .this-week { animation: fade 300ms ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes rise-card { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }

/* This-week card */
.this-week {
  display: block; color: var(--ink);
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 60px -12px rgba(0,0,0,.14);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.this-week:hover { text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .this-week:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 32px 70px -12px rgba(0,0,0,.18); }
}
.this-week:active { transform: scale(.99); }
.tw-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.tw-label {
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  color: var(--accent); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 999px;
}
.tw-title { font-weight: 600; font-size: 1rem; }

.sheet {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  font-family: var(--mono); font-size: .75rem; color: var(--ink-2);
  background: #fff;
}
.sheet-row { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); border-top: 1px solid #ececf0; }
.sheet-row:first-child { border-top: 0; }
.sheet-row span { padding: 8px 10px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-row span:first-child { text-align: left; }
.sheet-head { background: var(--bg-alt); font-weight: 600; color: var(--ink); }
.flag-col { background: var(--warn-soft); color: var(--warn); }
.sheet-head .flag-col { box-shadow: inset 0 -2px 0 #e7a43c; }
@media (max-width: 519px) {
  .sheet-row { grid-template-columns: 1.1fr repeat(3, 1fr); }
  .sheet-row span:nth-child(3) { display: none; }
}
.sheet-note {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-top: 1px solid #ececf0;
  font-family: var(--font); font-size: .8rem; color: var(--warn); background: #fffaf2;
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-warn { background: #e7a43c; }

.tw-stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 18px; }
.tw-nums { display: inline-flex; align-items: baseline; gap: 10px; }
.tw-was { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--hot); text-decoration-thickness: 2px; }
.tw-now { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; letter-spacing: -.035em; color: var(--accent); }
.tw-cap { font-size: .9rem; color: var(--muted); max-width: 22em; }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
@media (min-width: 900px) { .section { padding: 128px 0; } }
.section-alt { background: var(--bg-alt); }

.section-head { margin-bottom: 48px; }
@media (min-width: 900px) { .section-head { margin-bottom: 64px; } }
.eyebrow { font-size: 1rem; font-weight: 600; color: var(--accent); margin-bottom: 10px; letter-spacing: -.005em; }
.section h2 {
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -.032em;
}
.section-sub { margin-top: 16px; max-width: 36em; font-size: 1.15rem; line-height: 1.5; color: var(--muted); }

/* ---------- Bento of builds ---------- */

.bento { display: grid; gap: 16px; }
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile-6, .tile-4 { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .tile-6 { grid-column: span 6; } .tile-4 { grid-column: span 4; }
  .tile-3 { grid-column: span 3; } .tile-2 { grid-column: span 2; }
}

.tile {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 24px;
  overflow: hidden;
}
@media (min-width: 900px) { .tile { padding: 36px; } }
.tile-split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 820px) { .tile-split { grid-template-columns: 1.15fr 1fr; gap: 40px; } }
@media (min-width: 1000px) { .tile-4.tile-split { grid-template-columns: 1fr 1fr; gap: 28px; } }

.tile-meta { font-size: .85rem; color: var(--muted); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.tile h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.12; letter-spacing: -.024em; }
.tile-text > p:not(.tile-meta) { margin-top: 10px; color: var(--ink-2); }

.pbr { margin: 16px 0 0; display: grid; gap: 12px; }
.pbr div { display: grid; gap: 2px; }
@media (min-width: 560px) { .pbr div { grid-template-columns: 72px 1fr; gap: 12px; } }
.pbr dt { font-size: .8rem; font-weight: 600; color: var(--muted); padding-top: 2px; }
.pbr dd { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }

.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .78rem; font-weight: 500; color: var(--ink-2); background: var(--bg-alt); padding: 4px 10px; border-radius: 999px; }

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #e7a43c; box-shadow: 0 0 0 4px var(--warn-soft); }

.viz { background: var(--bg-alt); border-radius: var(--radius); padding: 18px; }

/* flow (payroll) */
.viz-flow { display: grid; gap: 10px; padding: 20px; }
.flow-step { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 12px 14px; }
.flow-step b { display: block; font-size: .95rem; font-weight: 600; }
.flow-step small { display: block; font-size: .8rem; color: var(--muted); }
.flow-ico {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; color: var(--ink-2); background: var(--bg-alt);
}
.flow-done .flow-ico { background: var(--accent); color: #fff; }

/* inbox (instagram) */
.viz-inbox { display: grid; gap: 8px; }
.dm { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 12px; min-width: 0; }
.dm-dim { opacity: .6; }
.av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #f58529, #dd2a7b); }
.av-2 { background: linear-gradient(135deg, #2f9e6b, #0b7a4b); }
.av-3 { background: #a1a1a6; }
.dm-txt { flex: 1; min-width: 0; }
.dm-txt b { display: block; font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-txt small { display: block; font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { flex: none; font-size: .7rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); }
.tag-hot { background: var(--hot-soft); color: var(--hot); }
.tag-ok { background: var(--accent-soft); color: var(--accent); }

/* sms (timetextclock) */
.viz-sms { display: flex; flex-direction: column; gap: 6px; }
.bubble { max-width: 80%; padding: 8px 13px; border-radius: 18px; font-size: .88rem; line-height: 1.35; }
.bubble.out { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.bubble.in { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 6px; }

/* map (variance) */
.viz-map { display: grid; gap: 14px; }
.map-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pill { font-size: .8rem; font-weight: 600; background: #fff; border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; }
.arrow { color: var(--muted); font-size: .9rem; }
.ask { display: grid; gap: 8px; }
.ask-q, .ask-a { font-size: .88rem; line-height: 1.4; padding: 10px 13px; border-radius: 16px; }
.ask-q { justify-self: end; max-width: 88%; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.ask-a { justify-self: start; max-width: 92%; background: #fff; color: var(--ink); border-bottom-left-radius: 6px; }

/* bars (like-um) */
.viz-bars { display: flex; align-items: flex-end; justify-content: center; gap: 18px; height: 168px; padding: 28px 18px 30px; }
.bar { position: relative; width: 38px; height: calc(var(--v) / 67 * 100%); min-height: 6px; background: #c7c7cc; border-radius: 8px 8px 4px 4px; }
.bar-good { background: var(--accent); }
.bar b { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: .82rem; font-weight: 700; }
.bar span { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-size: .72rem; color: var(--muted); white-space: nowrap; }

/* rows (salesforce) */
.viz-rows { display: grid; gap: 8px; }
.rows-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 11px 14px; font-size: .85rem; }
.rows-line b { font-weight: 600; white-space: nowrap; }
.rows-old b { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--hot); }
.rows-new b { color: var(--accent); }
.rows-small { color: var(--muted); }
.rows-small b { color: var(--accent); }

/* timeline (glovebox) */
.viz-timeline { display: grid; gap: 0; padding: 20px 22px; }
.tl { position: relative; display: flex; gap: 14px; padding: 10px 0 10px; }
.tl::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl:first-child::before { top: 18px; }
.tl:last-child::before { bottom: calc(100% - 18px); }
.tl-dot { position: relative; flex: none; width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--bg-alt); }
.tl b { display: block; font-size: .92rem; font-weight: 600; }
.tl small { display: block; font-size: .8rem; color: var(--muted); }
.tl-warn .tl-dot { background: #e7a43c; }
.tl-warn b { color: var(--warn); }

/* dark award tile */
.tile-dark { background: var(--ink); color: #f5f5f7; flex-direction: row; align-items: center; gap: 28px; }
.tile-dark h3 { color: #fff; }
.tile-dark .tile-meta { color: #a1a1a6; }
.tile-dark .tile-text > p:not(.tile-meta) { color: #d2d2d7; max-width: 46em; }
.tile-dark strong { color: #fff; }
.award { flex: none; color: #7ee2ad; width: 88px; height: 88px; border-radius: 24px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
@media (max-width: 599px) { .tile-dark { flex-direction: column; align-items: flex-start; } }

.fine { margin-top: 24px; font-size: .8rem; color: var(--muted); }

/* ---------- About ---------- */

.about { display: grid; gap: 32px; }
@media (min-width: 900px) { .about { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } .about-lead { position: sticky; top: calc(var(--nav-h) + 40px); } }
.about-lead h2 { max-width: 11ch; }
.about-body > p { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); margin-bottom: 20px; max-width: 34em; }
.rules-h { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; margin: 40px 0 8px; }
.rules { list-style: none; margin: 0; padding: 0; }
.rules li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); line-height: 1.5; }
.rules li:last-child { border-bottom: 1px solid var(--line); }
.rules b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* ---------- Career ---------- */

.timeline { list-style: none; margin: 0; padding: 0; }
.job { display: grid; gap: 6px 40px; padding: 32px 0; border-top: 1px solid var(--line); }
.job:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .job { grid-template-columns: 200px 1fr; } }
.job-when { font-size: .9rem; color: var(--muted); padding-top: 6px; font-variant-numeric: tabular-nums; }
.job-body h3 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); font-weight: 700; letter-spacing: -.022em; line-height: 1.2; }
.job-role { margin: 4px 0 14px; font-weight: 600; color: var(--ink); }
.job-role span { font-weight: 400; color: var(--muted); }
.job-body > p:not(.job-role) { color: var(--ink-2); max-width: 44em; }
.job-body ul { margin: 0; padding: 0 0 0 1.1em; max-width: 46em; color: var(--ink-2); }
.job-body ul li { margin-bottom: 6px; padding-left: 4px; }
.job-body ul li::marker { color: var(--line); }

.rotations { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; max-width: 46em; }
.rotations li { background: #fff; border-radius: 18px; padding: 18px 20px; }
.rot-when { font-size: .82rem; color: var(--muted); margin-bottom: 4px; }
.rotations h4, .extra h4 { font-size: 1.08rem; font-weight: 650; letter-spacing: -.012em; margin-bottom: 4px; }
.rotations p:not(.rot-when), .extra p:not(.rot-when) { color: var(--ink-2); font-size: .98rem; line-height: 1.5; }

.extras-h { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; margin: 56px 0 16px; }
.extras { display: grid; gap: 14px; }
@media (min-width: 820px) { .extras { grid-template-columns: repeat(3, 1fr); } }
.extra { background: #fff; border-radius: var(--radius); padding: 22px; }

/* ---------- Recognition ---------- */

.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.stat { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; min-height: 180px; }
.stat-fig { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-word { font-size: clamp(1.9rem, 3.4vw, 2.3rem); letter-spacing: -.03em; line-height: 1.05; }
.stat-lbl { color: var(--muted); line-height: 1.45; margin-top: auto; }

/* ---------- Work with me ---------- */

.offers { display: grid; gap: 14px; }
@media (min-width: 600px) { .offers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .offers { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.offer {
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 24px;
  min-height: 200px;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.offer:hover { text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .offer:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.18); }
}
.offer:active { transform: scale(.98); transition-duration: 160ms; }
.offer-kicker { font-size: .78rem; font-weight: 600; color: var(--muted); }
.offer-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.offer-desc { color: var(--ink-2); font-size: .98rem; line-height: 1.45; }
.offer-go { margin-top: auto; padding-top: 14px; color: var(--accent); font-weight: 500; font-size: .95rem; }
.offer-feature { background: var(--ink); color: #fff; }
.offer-feature .offer-kicker { color: #a1a1a6; }
.offer-feature .offer-desc { color: #d2d2d7; }
.offer-feature .offer-go { color: #7ee2ad; }

/* ---------- Contact ---------- */

.contact { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } }
.form { display: grid; gap: 16px; background: var(--bg-alt); border-radius: var(--radius-lg); padding: 24px; }
@media (min-width: 600px) { .form { grid-template-columns: 1fr 1fr; padding: 32px; } .field-full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; min-height: 48px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field select {
  appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(11, 122, 75, .22);
}
.field [aria-invalid="true"] { border-color: var(--hot); box-shadow: 0 0 0 4px rgba(196, 50, 31, .14); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.status { font-size: .95rem; }
.status.ok { color: var(--accent); font-weight: 500; }
.status.err { color: var(--hot); }

/* ---------- Footer ---------- */

.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: baseline; }
.foot-line { font-family: var(--font-display); font-weight: 650; letter-spacing: -.012em; }
.foot-meta { font-size: .85rem; color: var(--muted); }

/* ---------- Scroll reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); }
  .js .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 0; }
  .js .reveal.is-in { opacity: 1; transition: opacity 250ms ease; }
  .this-week, .offer, .btn, .menu-btn, .nav-links { transition-property: opacity, background-color, box-shadow !important; }
  .this-week:hover, .offer:hover, .btn:active, .offer:active, .this-week:active { transform: none !important; }
}

/* ---------- Accessibility preferences ---------- */

@media (prefers-reduced-transparency: reduce) {
  .nav, .nav-links { background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
@media (prefers-contrast: more) {
  :root { --muted: #3a3a3c; --line: #8e8e93; }
  .nav { background: #fff; box-shadow: 0 1px 0 #8e8e93; }
  .tile, .offer, .stat, .extra, .rotations li, .this-week { border: 1px solid #8e8e93; }
}
