/* Steven George Photo — Second Shooter
   Type: Fraunces (display serif) + Inter (body grotesque)
   Palette: warm bone, deep ink, muted moss, terracotta accent
*/

:root {
  --paper: #f3efe7;
  --paper-2: #ece7dc;
  --ink: #1d1c1a;
  --ink-2: #2c2a26;
  --muted: #6b6660;
  --line: #d8d2c5;
  --moss: #4a5a3f;
  --terracotta: #b85c3a;
  --warm: #e9d8c4;

  --bg: var(--paper);
  --bg-2: var(--paper-2);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --rule: var(--line);
  --accent: var(--moss);
  --accent-warm: var(--terracotta);

  --serif: "Fraunces", "Source Serif Pro", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);

  --t-mega: clamp(3.2rem, 8.4vw, 7.2rem);
  --t-h1: clamp(2.4rem, 5vw, 4.2rem);
  --t-h2: clamp(1.8rem, 3.4vw, 2.8rem);
  --t-h3: 1.35rem;
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --t-eyebrow: 0.78rem;
}

[data-theme="dark"] {
  --bg: #14130f;
  --bg-2: #1c1a16;
  --fg: #ece7dc;
  --fg-2: #d8d2c5;
  --rule: #2a2722;
  --muted: #918a80;
  --accent: #8aa07a;
  --accent-warm: #d28865;
  --warm: #2a241d;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14130f;
    --bg-2: #1c1a16;
    --fg: #ece7dc;
    --fg-2: #d8d2c5;
    --rule: #2a2722;
    --muted: #918a80;
    --accent: #8aa07a;
    --accent-warm: #d28865;
    --warm: #2a241d;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--accent); color: var(--bg); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type ---------- */
.serif { font-family: var(--serif); font-weight: 400; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.04;
  margin: 0;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--fg-2);
  font-weight: 300;
}

p { margin: 0 0 1em; max-width: 62ch; }

em.italic { font-family: var(--serif); font-style: italic; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid color-mix(in oklab, var(--rule) 70%, transparent);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 3vw, 20px);
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  min-width: 0;
}
.brand .suffix { color: var(--muted); }
@media (max-width: 540px) {
  .brand { font-size: 0.98rem; gap: 10px; }
  .brand .suffix { display: none; }
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.92rem;
}
.nav-links a {
  color: var(--fg-2);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.nav-cta {
  border: 1px solid var(--fg);
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1;
  color: var(--fg);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
@media (max-width: 540px) {
  .nav-links a.nav-cta { padding: 8px 16px; font-size: 0.78rem; }
}
.nav-links a.nav-cta:hover { background: var(--fg); color: var(--bg); }
.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle:hover { border-color: var(--fg); }

@media (max-width: 760px) {
  .nav-links a:not(.nav-cta):not(.theme-toggle) { display: none; }
  .nav-inner {
    padding-block: 18px;
    padding-inline: max(clamp(22px, 5vw, 56px), env(safe-area-inset-left, 0px))
      max(clamp(22px, 5vw, 56px), env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 400px) {
  .nav-links { gap: 20px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-image::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.78) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.30) 40%, rgba(0,0,0,0.05) 75%);
}
.hero-content {
  color: #f3efe7;
  padding: 0 var(--gutter) clamp(40px, 7vw, 96px);
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}
.hero h1 {
  font-size: var(--t-mega);
  font-weight: 300;
  letter-spacing: -0.022em;
  line-height: 1.18;
  max-width: 16ch;
  /* Disable swashes/discretionary ligatures so italic descenders
     don't visually collide with the next line. */
  font-feature-settings: "swsh" 0, "dlig" 0;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: #f3efe7;
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 56ch;
  color: rgba(243, 239, 231, 0.85);
}
.hero-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 32px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: rgba(243, 239, 231, 0.78);
}
.hero-meta .dot { width: 4px; height: 4px; border-radius: 999px; background: rgba(243,239,231,0.6); }
.hero-cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform .15s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary {
  background: #f3efe7; color: #1d1c1a;
}
.btn-primary:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost {
  border-color: rgba(243,239,231,0.5);
  color: #f3efe7;
}
.btn-ghost:hover { border-color: #f3efe7; background: rgba(243,239,231,0.08); }

.btn-dark { background: var(--fg); color: var(--bg); }
.btn-dark:hover { background: var(--accent-warm); color: #fff; }
.btn-outline { border-color: var(--fg); color: var(--fg); }
.btn-outline:hover { background: var(--fg); color: var(--bg); }

/* ---------- Marquee ticker ---------- */
.ticker {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  overflow: hidden;
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
}
.ticker-track span { display: inline-flex; align-items: center; gap: 56px; }
.ticker-track .star { color: var(--accent-warm); font-style: normal; }
@keyframes ticker {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 130px) 0; }
.section-hd {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: clamp(32px, 5vw, 64px);
}
@media (min-width: 880px) {
  .section-hd { grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
}
.section-hd .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
}
.section-hd h2 {
  font-size: var(--t-h1);
  font-weight: 300;
  max-width: 22ch;
}
.section-hd h2 em { font-style: italic; color: var(--accent); }

/* ---------- Value prop / trust ---------- */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
}
@media (min-width: 720px) {
  .value-grid { grid-template-columns: repeat(3, 1fr); }
}
.value-card {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}
.value-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 400;
}
.value-card p { color: var(--fg-2); font-size: 0.98rem; }
.value-card .ic {
  width: 28px; height: 28px;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ---------- Feature strip (large image + text) ---------- */
.feature-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 880px) {
  .feature-strip { grid-template-columns: 1.15fr 1fr; }
  .feature-strip.reverse { grid-template-columns: 1fr 1.15fr; }
  .feature-strip.reverse .feature-img { order: 2; }
}
.feature-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-2);
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-text h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 400;
  margin-bottom: 16px;
}

/* ---------- Coverage / use cases ---------- */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 720px) {
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .coverage-grid { grid-template-columns: repeat(4, 1fr); }
}
.coverage-cell {
  background: var(--bg);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
}
.coverage-cell .label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 0.95rem;
}
.coverage-cell h3 { font-size: 1.35rem; font-weight: 400; }
.coverage-cell p { color: var(--fg-2); font-size: 0.95rem; margin: 0; }

/* ---------- Gallery (CSS columns masonry) ---------- */
.gallery {
  column-count: 2;
  column-gap: 8px;
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 720px) {
  .gallery { column-count: 3; column-gap: 12px; }
}
@media (min-width: 1100px) {
  .gallery { column-count: 4; column-gap: 14px; }
}
.gallery figure {
  margin: 0 0 8px;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  transform: translateZ(0);
}
@media (min-width: 720px) { .gallery figure { margin-bottom: 12px; } }
@media (min-width: 1100px) { .gallery figure { margin-bottom: 14px; } }
.gallery figure img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .9s cubic-bezier(.2,.6,.2,1), filter .4s ease;
  cursor: zoom-in;
}
.gallery figure:hover img { transform: scale(1.025); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15, 14, 12, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox .close,
.lightbox .nav-arrow {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(243,239,231,0.4);
  color: #f3efe7;
  width: 44px; height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox .close { top: 20px; right: 20px; }
.lightbox .nav-arrow.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .nav-arrow.next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { background: rgba(243,239,231,0.1); border-color: #f3efe7; }

/* ---------- Working style (process) ---------- */
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.process-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.process-row .num { display: block; }
@media (min-width: 560px) {
  .process-row { grid-template-columns: 60px 1fr; gap: 24px; }
}
@media (min-width: 720px) {
  .process-row { grid-template-columns: 100px 1fr 1.5fr; gap: 40px; }
}
.process-row .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
}
.process-row h3 {
  font-size: 1.35rem;
  font-weight: 400;
}
.process-row p {
  color: var(--fg-2);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (min-width: 880px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; }
}
.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-2);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .caption {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  font-family: var(--serif);
  font-style: italic;
  color: #f3efe7;
  font-size: 0.95rem;
  text-shadow: 0 1px 16px rgba(0,0,0,0.5);
}
.about-text p { color: var(--fg-2); }
.about-text p.lede { color: var(--fg); margin-bottom: 24px; }

.kv {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px 20px;
  margin-top: 36px;
  font-size: 0.95rem;
}
.kv dt { color: var(--muted); font-family: var(--sans); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem; padding-top: 4px; }
.kv dd { margin: 0; color: var(--fg-2); }
.kv dd + dt { border-top: 1px solid var(--rule); padding-top: 14px; }
.kv dt + dd { border-top: 1px solid var(--rule); padding-top: 14px; }
.kv dt:first-child, .kv dt:first-child + dd { border-top: 0; padding-top: 4px; }

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--rule);
}
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--muted);
  transition: transform .25s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p {
  color: var(--fg-2);
  margin-top: 14px;
  margin-bottom: 4px;
  max-width: 70ch;
}

/* ---------- Contact / CTA ---------- */
.cta {
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cta-inner {
  display: grid;
  gap: 36px;
  align-items: end;
}
@media (min-width: 880px) {
  .cta-inner { grid-template-columns: 1.4fr 1fr; gap: 80px; }
}
.cta h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 300;
  max-width: 18ch;
}
.cta h2 em { font-style: italic; color: var(--accent); }
.cta-side { color: var(--fg-2); }
.cta-side .label { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cta-side a.email {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--fg);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  display: inline-block;
  transition: color .18s ease, border-color .18s ease;
}
.cta-side a.email:hover { color: var(--accent-warm); border-color: var(--accent-warm); }

/* Inline form (mailto-based) */
.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: clamp(20px, 3vw, 32px);
  border-radius: 4px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 1rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 8px 2px;
  color: var(--fg);
  font-family: var(--sans);
  border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--fg);
}
.field textarea { resize: vertical; min-height: 110px; }
.row-2 { display: grid; gap: 14px; }
@media (min-width: 600px) {
  .row-2 { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.contact-form button {
  justify-self: start;
  margin-top: 8px;
}

/* ---------- Footer ---------- */
footer {
  padding: 48px 0 64px;
  font-size: 0.88rem;
  color: var(--muted);
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.foot a { color: var(--fg-2); }
.foot a:hover { color: var(--fg); }

/* ---------- Anim ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery figure img { transition: none; }
}
