/* Create Content — light editorial theme */
:root {
  --paper: #f6f2ea;
  --paper-2: #efe8db;
  --card: #fffdf9;
  --ink: #1c1a17;
  --ink-2: #4a463f;
  --muted: #7a7368;
  --line: #ddd4c4;
  --accent: #c8402a;        /* tomato red — a nod to the old orange/red */
  --accent-ink: #ffffff;
  --accent-soft: #f6dcd3;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font: 600 13px/1.2 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-small { padding: 10px 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.wordmark { font: 600 22px/1 var(--serif); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.wordmark span { font-style: italic; font-weight: 400; color: var(--accent); margin-left: 2px; }
.site-header nav ul { display: flex; align-items: center; gap: 28px; }
.site-header nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.site-header nav a:not(.btn):hover { color: var(--accent); }
@media (max-width: 640px) {
  .site-header nav li:not(:last-child) { display: none; }
}

/* Hero */
.hero { padding: clamp(64px, 12vw, 140px) 0 clamp(56px, 9vw, 110px); }
.hero h1 {
  font-size: clamp(42px, 8vw, 96px);
  font-weight: 400;
  max-width: 13ch;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.lede { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-2); max-width: 36em; margin: 28px 0 36px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }

/* Credits */
.credits { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.credits .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 40px; }
.credits-label { margin: 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.credits-list { display: flex; flex-wrap: wrap; gap: 10px 36px; }
.credits-list li { font: 400 clamp(19px, 2.2vw, 24px)/1.2 var(--serif); color: var(--ink-2); }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 44rem; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2, .about h2, .contact h2 { font-size: clamp(32px, 4.6vw, 54px); }
.section-sub { color: var(--ink-2); font-size: 19px; margin-top: 18px; }
.section-cta { margin: 48px 0 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); counter-reset: none; }
.step { border-top: 2px solid var(--ink); padding-top: 22px; }
.step-num { font: italic 400 20px/1 var(--serif); color: var(--accent); display: block; margin-bottom: 18px; }
.step h3 { font-size: 26px; margin-bottom: 16px; }
.step p { color: var(--ink-2); }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 6px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: var(--accent); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Work grid */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card a {
  display: flex; flex-direction: column; height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card a:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 10px 30px -18px rgba(28,26,23,.45); }
.card h3 { font-size: 23px; margin: 14px 0 10px; }
.card p { color: var(--ink-2); font-size: 16px; flex: 1; }
.card-meta { font-size: 14px; font-weight: 600; color: var(--muted); }
.card a:hover .card-meta { color: var(--accent); }
.tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; }
.card-feature a { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card-feature p, .card-feature .card-meta { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.card-feature .tag { background: var(--accent); color: var(--accent-ink); }
.card-feature a:hover .card-meta { color: var(--paper); }
@media (max-width: 960px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 800 / 878; object-fit: cover; }
.about-photo::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--accent); border-radius: var(--radius); z-index: -1; }
.about-copy { max-width: 40rem; }
.about-lede { font: italic 400 clamp(21px, 2.4vw, 26px)/1.35 var(--serif); color: var(--ink); margin: 18px 0 24px; }
.about-copy p:not(.about-lede):not(.eyebrow) { color: var(--ink-2); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pills li { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 500; }
@media (max-width: 720px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 240px; }
}

/* Contact */
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink .eyebrow { color: #f08a72; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-copy p { color: color-mix(in srgb, var(--paper) 78%, transparent); font-size: 19px; margin: 22px 0 30px; max-width: 30em; }
.contact-form { display: grid; gap: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  font: inherit; color: var(--paper);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  padding: 13px 14px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: #f08a72; background: rgba(255,255,255,.1); }
.field textarea { resize: vertical; min-height: 130px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: color-mix(in srgb, var(--paper) 78%, transparent); }
.consent input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--paper) 65%, transparent); border-top: 1px solid rgba(255,255,255,.1); padding: 28px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; align-items: center; }
.footer-inner p { margin: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.socials a { text-decoration: none; }
.socials a:hover { color: var(--paper); }

/* Thank-you page */
.thanks { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.thanks h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 400; margin: 18px 0; }
.thanks h1 em { color: var(--accent); }
.thanks p { color: var(--ink-2); font-size: 19px; max-width: 30em; margin: 0 auto 30px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.quote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; position: relative; }
.quote::before { content: "“"; font: 400 96px/0.7 var(--serif); color: var(--accent); display: block; height: 44px; }
.quote blockquote { margin: 0 0 24px; flex: 1; }
.quote blockquote p { font: 400 clamp(18px, 1.9vw, 21px)/1.5 var(--serif); color: var(--ink); margin: 0; }
.quote figcaption { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }

/* Avatar in contact */
.avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 24px; border: 3px solid var(--paper); }
.about-copy a { color: var(--accent); text-underline-offset: 3px; }
