/* Curtis Media */
@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}

:root {
  --ink: #1c1712;
  --ink-soft: #2c261f;
  --paper: #f4efe6;
  --paper-2: #ebe3d4;
  --cream: #faf6ef;
  --copper: #c4783a;
  --copper-deep: #a35e28;
  --sand: #d9b48a;
  --muted: #5c5348;
  --dim: #8a7f72;
  --line-dark: rgba(250,246,239,.14);
  --line-light: rgba(28,23,18,.12);
  --header-h: 68px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  -webkit-text-size-adjust: 100%;
  background-color: var(--ink);
  color-scheme: light dark;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ink);
  background-color: #1c1712;
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  min-height: 100vh; min-height: 100svh; min-height: 100dvh;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--copper-deep); }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0 0 1rem; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--cream); color: var(--ink); padding: 10px 16px;
  border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; width: 100%;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background: rgba(28,23,18,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav-wrap {
  height: 100%; max-width: 1180px; margin: 0 auto;
  padding: 0 max(22px, env(safe-area-inset-left, 0px)) 0 max(22px, env(safe-area-inset-right, 0px));
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 768px) {
  .nav-wrap { padding: 0 40px; }
}
.brand {
  color: var(--cream); text-decoration: none;
  font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em;
}
.brand-dot { font-style: italic; color: var(--sand); font-weight: 500; }
.brand--sm { font-size: 1.15rem; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: rgba(250,246,239,.72); text-decoration: none;
  font-weight: 500; font-size: .95rem; transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--cream); background: rgba(255,255,255,.06); }
.site-nav a.is-active { color: var(--cream); background: rgba(255,255,255,.1); }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark);
    background: rgba(255,255,255,.04); padding: 0 13px; cursor: pointer; z-index: 60;
  }
  .nav-toggle-bar { height: 2px; width: 100%; background: var(--cream); border-radius: 2px; transition: transform .3s, opacity .3s; }
  .nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; background: rgba(28,23,18,.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 10px; }
  .site-nav a { font-size: 1.5rem; font-weight: 600; padding: 12px 28px; color: var(--cream); }
  body.nav-open { overflow: hidden; }
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
  .nav-open .brand { position: relative; z-index: 60; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 1.02rem;
  text-decoration: none; transition: transform .2s ease, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--cream); color: var(--ink); }
.btn-solid:hover { background: #fff; }
.btn-outline { color: var(--cream); border: 1.5px solid rgba(250,246,239,.5); }
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: var(--cream); }

/* ---------- Full-screen sections ---------- */
.screen {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding:
    calc(var(--header-h) + env(safe-area-inset-top, 0px) + 28px)
    0
    calc(48px + env(safe-area-inset-bottom, 0px));
}
.screen > * { flex-shrink: 0; }
.screen-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(22px, env(safe-area-inset-left, 0px));
  padding-right: max(22px, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) {
  .screen-inner { padding-left: 40px; padding-right: 40px; }
}

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--copper-deep); margin: 0 0 16px;
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.hero .kicker, .contact .kicker, .hero .eyebrow { color: var(--sand); }
h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  margin-bottom: 18px; letter-spacing: -0.03em;
}
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--muted); max-width: 40rem; }

/* ---------- Hero ---------- */
.hero {
  color: var(--cream);
  background: radial-gradient(900px 520px at 70% -10%, #3a2a1c 0%, transparent 60%), var(--ink);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.hero-glow {
  position: absolute; z-index: -1; width: 70vmax; height: 70vmax;
  left: 30%; top: 60%; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(196,120,58,.22), transparent 64%);
  filter: blur(8px);
}
.hero-inner { max-width: 920px; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sand); padding: 7px 16px; border-radius: 999px;
  background: rgba(217,180,138,.1); border: 1px solid rgba(217,180,138,.28); margin-bottom: 28px;
}
.hero-title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(3.2rem, 10vw, 7.2rem);
  letter-spacing: -0.04em; line-height: .95; color: var(--cream);
}
.hero-role {
  margin: 18px 0 0; font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500; letter-spacing: .04em; color: var(--sand);
}
.hero-value {
  margin: 28px auto 0; max-width: 34em; color: rgba(250,246,239,.78);
  font-size: clamp(1.12rem, 2.2vw, 1.4rem); line-height: 1.45;
  font-family: var(--serif); font-weight: 400;
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.hero-where {
  margin: 36px 0 0; font-size: .8rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--dim);
}
@media (max-width: 560px) {
  .hero-ctas .btn { width: 100%; max-width: 340px; }
}

/* ---------- Services ---------- */
.services { background: var(--paper); color: var(--ink); }
.service-list {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .service-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .service-list { grid-template-columns: repeat(6, 1fr); }
  .service-list .service:nth-child(1),
  .service-list .service:nth-child(2),
  .service-list .service:nth-child(3) { grid-column: span 2; }
  .service-list .service:nth-child(4) { grid-column: 2 / span 2; }
  .service-list .service:nth-child(5) { grid-column: 4 / span 2; }
}
.service {
  margin: 0; padding: 26px 26px 24px; border-radius: 28px;
  background: rgba(255,255,255,.55); border: 1px solid var(--line-light);
}
.service h3 {
  font-family: var(--serif); font-weight: 600; font-size: 1.45rem; margin-bottom: 8px;
}
.service p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- About ---------- */
.about { background: var(--paper-2); color: var(--ink); }
.about-inner { max-width: 800px; }
.about-copy p { font-size: clamp(1.08rem, 2vw, 1.28rem); color: #3a342c; }
.about-copy a { color: var(--copper-deep); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(163,94,40,.4); }
.about-copy a:hover { border-bottom-color: var(--copper-deep); }

/* ---------- Work ---------- */
.work { background: var(--paper); color: var(--ink); }
.work-card {
  display: grid; gap: 0; margin-top: 32px; text-decoration: none; color: inherit;
  border-radius: 36px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-light);
  background: var(--ink);
  transition: transform .35s ease, box-shadow .35s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -28px rgba(28,23,18,.45); }
@media (min-width: 860px) {
  .work-card { grid-template-columns: 1.1fr 1fr; }
}
.work-art {
  position: relative; min-height: 240px; padding: 48px 32px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background:
    radial-gradient(500px 280px at 70% 20%, #3a2a1c, transparent 70%),
    #16130f;
  color: var(--cream); overflow: hidden;
}
.work-ghost {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 900; font-size: clamp(3.5rem, 12vw, 7rem);
  letter-spacing: -0.04em; color: rgba(255,255,255,.05); pointer-events: none;
  -webkit-text-stroke: 1px rgba(217,180,138,.16);
}
.work-title-art {
  position: relative; font-family: var(--sans); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.04em; text-transform: uppercase; line-height: .95;
}
.work-title-art .is { color: #6cb8ff; }
.work-meta { padding: 32px 28px 28px; background: #fffdf8; }
@media (min-width: 860px) { .work-meta { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; } }
.work-name { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin: 0 0 10px; }
.work-desc { color: var(--muted); margin: 0 0 22px; font-size: 1.05rem; }
.work-go { font-weight: 700; color: var(--copper-deep); }

/* ---------- Contact ---------- */
.contact {
  color: var(--cream);
  background: radial-gradient(900px 500px at 20% 120%, #3a2a1c 0%, transparent 60%), var(--ink);
  text-align: center;
}
.contact-inner { max-width: 760px; }
.contact .lead { margin: 0 auto; color: rgba(250,246,239,.75); }
.email {
  display: inline-block; margin-top: 32px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.45rem, 5vw, 2.6rem);
  color: var(--cream); text-decoration: none;
  border-bottom: 2px solid rgba(217,180,138,.5);
  line-height: 1.3; letter-spacing: -0.02em;
  word-break: break-word;
}
.email:hover { border-bottom-color: var(--sand); color: #fff; }
.contact .where {
  margin: 28px 0 0; font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #140f0c; color: var(--dim);
  border-top: 1px solid var(--line-dark);
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px));
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 max(22px, env(safe-area-inset-left, 0px));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.footer-inner p { margin: 0; font-size: .92rem; }
.to-top { color: var(--dim); text-decoration: none; font-size: .92rem; font-weight: 600; }
.to-top:hover { color: var(--cream); }
@media (max-width: 560px) { .footer-inner { flex-direction: column; text-align: center; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
