/* guthriealexander.com — Field Atlas palette (design A) with the visual-first sections of design I. */

:root {
  --ground: #F3EEE3;
  --ground-2: #E9E1CF;
  --paper: #FBF8F1;
  --ink: #1E2621;
  --ink-2: #43483F;
  --muted: #5A5E54;
  --line: #D8CEB8;
  --line-2: #CFC4AB;
  --clay: #A4481A;
  --night: #161C18;
  --night-line: #3A443D;
  --night-text: #F3EEE3;
  --night-muted: #AEB4A8;
  --clay-light: #E0A27F;
  --live: #2F6B45;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4.4vw, 64px);
  --max: 1440px;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--clay); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  background: var(--ink); color: var(--ground); padding: 10px 14px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 76px; padding: 0 var(--gutter);
  background: rgba(243, 238, 227, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: baseline; gap: 14px; text-decoration: none; }
.brand-name { font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: -0.01em; }
.brand-tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 34px; font-weight: 500; font-size: 16px; }
.site-nav a { text-decoration: none; }
.pill { padding: 9px 18px; border: 1.5px solid var(--ink); border-radius: 999px; }
.nav-toggle {
  display: none; min-height: 44px; padding: 0 16px;
  font: 600 15px var(--sans); color: var(--ink); background: transparent;
  border: 1.5px solid var(--ink); border-radius: 999px; cursor: pointer;
}

/* ---------- shared ---------- */
[id] { scroll-margin-top: 76px; }
.section { padding: clamp(72px, 9vw, 112px) var(--gutter); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.dark { background: var(--night); color: var(--night-text); }
.tint { background: var(--ground-2); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 48px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.section-head h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.015em; margin-top: 12px; max-width: 760px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); }
.dark .eyebrow { color: var(--clay-light); }
.lede { max-width: 440px; font-size: 18px; color: var(--ink-2); }
.section-head h2 + .lede { max-width: 640px; margin-top: 16px; }
.dark .lede { color: #C9CDC2; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 26px;
  background: var(--ink); color: var(--ground); border: 1.5px solid var(--ink); border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #33403A; color: var(--ground); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ground); }
.btn-light { background: var(--ground); color: var(--ink); border-color: var(--ground); }
.btn-light:hover { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(820px, 92vh); overflow: hidden; display: flex; align-items: flex-end; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-card {
  position: relative; z-index: 1; width: min(600px, calc(100% - 2 * var(--gutter)));
  margin: 0 0 clamp(24px, 4.4vw, 64px) var(--gutter);
  background: var(--ground); padding: clamp(28px, 3vw, 44px) clamp(24px, 3.4vw, 48px);
  border-radius: 4px; display: flex; flex-direction: column; gap: 22px;
}
.hero-card h1 { font-size: clamp(40px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -0.02em; }
.hero-card p { font-size: 19px; color: var(--ink-2); }
.coord-tag {
  position: absolute; z-index: 1; right: var(--gutter); bottom: clamp(24px, 4.4vw, 64px);
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 360px;
  background: rgba(243, 238, 227, 0.92); padding: 12px 16px; border-radius: 4px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-2); text-align: right;
}
.coord-tag span { color: var(--ink); font-weight: 500; letter-spacing: 0.06em; }

/* ---------- plates ---------- */
.plates { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.plate { margin: 0; display: flex; flex-direction: column; gap: 14px; grid-column: span 12; }
.plate .frame { overflow: hidden; border-radius: var(--radius); background: #222a25; }
.plate img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.plate:hover img { transform: scale(1.025); }
.plate figcaption { display: flex; flex-direction: column; gap: 4px; }
.plate .t { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.plate .m { font-family: var(--mono); font-size: 12px; color: var(--night-muted); }
.h-xl .frame { height: 620px; }
.h-l .frame { height: 540px; }
.h-m .frame { height: 460px; }
.h-s .frame { height: 400px; }
.h-p .frame { height: 680px; }
.ar-brochure .frame { aspect-ratio: 1.4; }
.ar-pano .frame { aspect-ratio: 1.88; }
.plates-group {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px;
  padding-top: 22px; margin-bottom: -26px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 22%, transparent);
}
.plates-group h3 { margin: 0; font: 500 clamp(24px, 2.4vw, 30px)/1.15 var(--serif); }
.plates-group p { margin: 0; font-size: 15px; opacity: 0.72; }
.plate .frame.light { background: #EDE7DA; }
@media (min-width: 900px) {
  .s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s5 { grid-column: span 5; }
  .s6 { grid-column: span 6; } .s7 { grid-column: span 7; } .s8 { grid-column: span 8; } .s12 { grid-column: span 12; }
}

/* ---------- interactive ---------- */
.map-feature {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px);
  align-items: center; margin-bottom: 56px;
}
.map-shot {
  display: block; position: relative; overflow: hidden; border-radius: 4px;
  border: 1px solid var(--line); background: var(--paper); aspect-ratio: 16 / 11;
}
.map-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
a.map-shot:hover img { transform: scale(1.02); }
.map-body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.map-feature h3 { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.015em; }
.map-feature .map-body > p:not(.chip):not(.tech) { font-size: 18px; color: var(--ink-2); }
.map-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
@media (min-width: 1200px) { .map-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.map-card { display: flex; flex-direction: column; gap: 20px; }
.map-card h3 { font-size: 27px; letter-spacing: -0.01em; }
.map-card .map-body > p:not(.chip):not(.tech):not(.note) { color: var(--ink-2); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.chip.live { color: var(--live); border-color: #A9C4B0; }
.chip.live::before { background: var(--live); }
.chip.private::before { background: transparent; border: 1.5px solid var(--muted); box-sizing: border-box; }
.tech { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.note { font-size: 15px; color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.link { font-weight: 600; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- motion ---------- */
.motion { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.motion figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.motion video { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--ground-2); display: block; }
.motion figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.motion .t { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.motion .m { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- about ---------- */
.about-section { border-bottom: 1px solid var(--line); }
.about { display: flex; gap: 72px; }
.about h2 { width: 300px; flex-shrink: 0; font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.015em; }
.about-body { display: flex; flex-direction: column; gap: 32px; max-width: 820px; }
.about-lead { font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); line-height: 1.5; }
.about-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; font-size: 16px; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--night); color: var(--night-text); }
.footer-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.footer-cta, .footer-meta { position: relative; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.footer-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-top: clamp(80px, 10vw, 120px); padding-bottom: 48px; }
.footer-cta h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.footer-cta p { margin-top: 20px; font-size: 19px; color: #D5D9CF; }
.footer-meta { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--night-line); font-family: var(--mono); font-size: 13px; color: #C9CDC2; }
.social { display: flex; gap: 24px; }
.site-footer a:not(.btn) { color: var(--night-text); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .motion { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .map-feature, .map-grid { grid-template-columns: minmax(0, 1fr); }
  .h-xl .frame, .h-l .frame { height: 440px; }
  .h-m .frame, .h-s .frame { height: 340px; }
  .h-p .frame { height: 560px; }
  .about { flex-direction: column; gap: 24px; }
  .about h2 { width: auto; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--ground); border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .pill { margin-top: 12px; text-align: center; border-bottom: 1.5px solid var(--ink); }
  .brand-tag { display: none; }
  .hero { min-height: 640px; flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .hero-card { margin: 0 var(--gutter) 16px; width: auto; }
  .coord-tag { position: relative; right: auto; bottom: auto; margin: 0 var(--gutter) 16px; align-items: flex-start; text-align: left; max-width: none; }
  .h-xl .frame, .h-l .frame, .h-m .frame, .h-s .frame { height: 300px; }
  .h-p .frame { height: 520px; }
  .motion { grid-template-columns: minmax(0, 1fr); }
  .about-cols { grid-template-columns: minmax(0, 1fr); }
  .footer-meta { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plate img, .map-shot img { transition: none; }
  .plate:hover img, a.map-shot:hover img { transform: none; }
}

/* ---------- project galleries ---------- */
.plate-open { all: unset; display: block; position: relative; cursor: zoom-in; border-radius: var(--radius); }
.plate-open:focus-visible { outline: 2px solid var(--clay-light); outline-offset: 3px; }
.plate-open .count {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border-radius: 999px; background: rgba(243, 238, 227, 0.92); color: var(--ink);
  font-family: var(--mono); font-size: 12px; pointer-events: none; transition: background 0.2s;
}
.plate-open:hover .count { background: var(--ground); }
.plate-open .count svg { width: 12px; height: 12px; }

.gallery {
  --pad: clamp(20px, 3.2vw, 44px);
  width: min(1320px, calc(100vw - 48px)); max-width: none; height: min(920px, calc(100vh - 48px)); max-height: none;
  margin: auto; padding: 0; border: 0; border-radius: 4px; overflow: hidden;
  background: var(--ground); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.55);
}
.gallery[open] { display: flex; flex-direction: column; animation: gallery-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
.gallery.closing { animation: gallery-out 0.18s ease-in forwards; }
.gallery::backdrop { background: rgba(18, 22, 20, 0.72); backdrop-filter: blur(6px); }
@keyframes gallery-in { from { opacity: 0; transform: translateY(12px) scale(0.985); } }
@keyframes gallery-out { to { opacity: 0; transform: translateY(8px) scale(0.99); } }

.gallery-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: var(--pad) var(--pad) 20px; }
.gallery-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); }
.gallery-head h2 { margin-top: 10px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.015em; }
.gallery-close {
  flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; margin: -6px -10px 0 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
}
.gallery-close:hover { background: var(--ground-2); }
.gallery-close svg, .gallery-nav svg, .gallery-back svg { width: 22px; height: 22px; }

/* Justified rows: each tile grows in proportion to its image's aspect ratio (--ar). */
.gallery-grid {
  flex: 1; min-height: 0; overflow-y: auto; padding: 4px var(--pad) var(--pad);
  display: flex; flex-wrap: wrap; gap: 14px; align-content: flex-start;
}
.gallery-grid[hidden] { display: none; }
.gallery-grid::after { content: ""; flex-grow: 999; }
.gallery-grid button {
  all: unset; position: relative; flex: calc(var(--ar) * 100) 1 calc(var(--ar) * 230px); height: 230px;
  overflow: hidden; border-radius: 2px; cursor: zoom-in; background: var(--ground-2);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s; }
.gallery-grid button:hover img { transform: scale(1.03); }
.gallery-grid button:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.gallery-viewer { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0 var(--pad) 22px; }
.gallery-viewer[hidden] { display: none; }
.gallery-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.gallery-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity 0.25s; }
.gallery-stage img.loading { opacity: 0; }
.gallery-stage img[hidden], .gallery-video[hidden] { display: none; }
.gallery-video { width: min(100% - 120px, (100dvh - 260px) * 16 / 9); aspect-ratio: 16 / 9; border: 0; border-radius: 2px; background: #000; }
.gallery.single .gallery-nav, .gallery.single .gallery-back, .gallery.single .gallery-count, .gallery.single .gallery-strip { display: none; }
.motion-open { all: unset; display: block; position: relative; cursor: pointer; border-radius: var(--radius); }
.motion-open:focus-visible { outline: 2px solid var(--clay-light); outline-offset: 3px; }
.motion-open .play { transition: background 0.2s; }
.motion-open:hover .play { background: var(--ink); }
.gallery-grid .play, .gallery-strip .play, .motion-open .play {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(30, 38, 33, 0.82); color: var(--ground); pointer-events: none;
}
.gallery-grid .play svg, .motion-open .play svg { width: 24px; height: 24px; translate: 2px 0; }
.gallery-strip button.is-video { position: relative; }
.gallery-strip .play { width: 24px; height: 24px; }
.gallery-strip .play svg { width: 12px; height: 12px; translate: 1px 0; }
.gallery-nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(243, 238, 227, 0.88); color: var(--ink); cursor: pointer;
  opacity: 0.75; transition: opacity 0.2s, background 0.2s;
}
.gallery-nav.prev { left: 0; } .gallery-nav.next { right: 0; }
.gallery-stage:hover .gallery-nav, .gallery-nav:focus-visible { opacity: 1; }
.gallery-nav:hover { background: var(--ground); }
.gallery-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 0 14px; }
.gallery-caption { font-size: 15px; color: var(--ink-2); }
.gallery-count { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.gallery-back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px 0 6px; margin-right: auto;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 500 14px var(--sans); cursor: pointer;
}
.gallery-back:hover { background: var(--ground-2); }
.gallery-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.gallery-strip button {
  all: unset; flex: none; width: 76px; height: 54px; border-radius: 2px; overflow: hidden; cursor: pointer;
  opacity: 0.55; outline: 2px solid transparent; outline-offset: 1px; transition: opacity 0.2s, outline-color 0.2s;
}
.gallery-strip button:hover { opacity: 0.85; }
.gallery-strip button[aria-current="true"] { opacity: 1; outline-color: var(--ink); }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 760px) {
  .gallery { width: 100vw; height: 100dvh; border-radius: 0; }
  .gallery-grid button { height: 150px; flex-basis: calc(var(--ar) * 150px); }
  .gallery-bar { flex-direction: column; gap: 4px; }
  .gallery-nav { width: 40px; height: 40px; }
  .gallery-video { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery[open], .gallery.closing { animation: none; }
  .gallery-grid img, .gallery-stage img { transition: none; }
}

/* ---------- client row ---------- */
.clients { padding: 28px var(--gutter) 40px; display: flex; gap: 28px; align-items: baseline; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.clients .label { flex-shrink: 0; margin: 0; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--serif); font-size: 17px; color: var(--ink-2); }

/* ---------- in place ---------- */
.inplace-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.inplace .plate { grid-column: auto; }
.inplace .plate .frame { aspect-ratio: 4 / 3; height: auto; background: var(--ground-2); }
.inplace .plate .t { font-size: 19px; }
.inplace .plate .m { color: var(--muted); }
.inplace .plate-open .count { background: rgba(243, 238, 227, 0.92); }

/* ---------- work with me ---------- */
.hire-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.steps li { border-top: 1.5px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.steps .n { font-family: var(--mono); font-size: 13px; color: var(--clay); }
.steps h3, .hire-side h3 { font-size: 24px; letter-spacing: -0.01em; }
.steps p { color: var(--ink-2); font-size: 16px; }
.hire-side { background: var(--ground); border-radius: 4px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.deliverables { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); }
.hire-side .note { font-size: 15px; }

@media (max-width: 1100px) { .inplace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .hire-grid { grid-template-columns: minmax(0, 1fr); } .clients { flex-direction: column; gap: 10px; } }
@media (max-width: 560px) { .inplace-grid, .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- hero: move the sun ---------- */
.hero-relief { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.6s; touch-action: pan-y; cursor: crosshair; }
.hero.relief-live .hero-relief { opacity: 1; }
.hero.relief-live { cursor: crosshair; }
.hero-card, .relief-panel { cursor: auto; }
.relief-panel {
  position: absolute; z-index: 1; right: var(--gutter); bottom: clamp(24px, 4.4vw, 64px); max-width: 380px;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.relief-panel .coord-tag { position: static; }
.relief-hint {
  display: none; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  background: rgba(243, 238, 227, 0.92); font-family: var(--mono); font-size: 12px; color: var(--ink-2);
}
.relief-sun { width: 10px; height: 10px; border-radius: 50%; background: #E0A27F; box-shadow: 0 0 0 3px rgba(224, 162, 127, 0.35); }
.hero.relief-live .relief-hint:has(.relief-readout:not(:empty)) { display: flex; }
.relief-readout { color: var(--ink); }
.relief-credit { margin: 0; padding: 2px 8px; border-radius: 3px; background: rgba(243, 238, 227, 0.72); font-family: var(--mono); font-size: 10px; color: var(--ink-2); }
.relief-credit a { color: inherit; }
@media (max-width: 760px) {
  .relief-panel { position: relative; right: auto; bottom: auto; margin: 0 var(--gutter) 16px; align-items: flex-start; max-width: none; }
  .relief-hint { font-size: 11px; }
  .relief-panel .coord-tag { margin: 0; }
}
