/* ==========================================================
   EDIT ME: your colors and fonts.
   Change a color by replacing the code after the colon,
   for example #B4532A. Any hex color works.
   ========================================================== */
:root {
  --background: #F6F2EC;   /* page background */
  --panel: #EDE7DE;        /* background of the Work section */
  --text: #1E1B18;         /* main text */
  --muted: #6B645C;        /* smaller, quieter text */
  --line: #D9D1C5;         /* thin divider lines */
  --accent: #B4532A;       /* buttons and links */
  --accent-text: #FFFFFF;  /* text on buttons */

  --font-display: 'Fraunces', Georgia, serif;          /* big headings */
  --font-body: 'Inter', system-ui, sans-serif;         /* everything else */
}

/* ---------- You should not need to change anything below this line ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: var(--background); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--text); text-decoration: none; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 120ms ease; }
.nav a:hover { color: var(--text); }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-text); font: 600 15px/1 var(--font-body); padding: 16px 26px; border: 1px solid var(--accent); text-decoration: none; cursor: pointer; transition: opacity 120ms ease, transform 120ms ease; }
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:focus-visible, .nav a:focus-visible, .brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--accent); }

/* hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.hero h1 { font-size: clamp(48px, 8vw, 104px); }
.lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.45; color: var(--muted); margin: 22px 0 34px; max-width: 30ch; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* sections */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--panel); }
.section h2 { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 40px; }
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.split h2 { margin-bottom: 0; }

/* about */
.prose p { margin: 0 0 20px; font-size: 19px; max-width: 58ch; }
.prose .cred { font-size: 16px; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 16px; margin-top: 28px; }

/* work */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.work img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; transition: transform 200ms ease; }
.work:hover img { transform: translateY(-3px); }
.work h3 { font-size: 22px; margin-bottom: 6px; }
.work p { margin: 0; color: var(--muted); font-size: 15px; }

/* contact */
.invite { font-size: 21px; line-height: 1.45; margin: 24px 0 18px; max-width: 32ch; }
.direct { color: var(--muted); font-size: 15px; margin: 0; }
.book { margin-top: 24px; }
.form { display: flex; flex-direction: column; gap: 8px; }
.form label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.form input, .form textarea { font: 400 16px/1.5 var(--font-body); color: var(--text); background: #FFFFFF; border: 1px solid var(--line); padding: 12px 14px; width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { resize: vertical; }
.form .btn { align-self: flex-start; margin-top: 16px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.foot-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

/* thank-you page */
.thanks { min-height: 70vh; display: flex; align-items: center; }
.thanks h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 20px; }
.thanks p { font-size: 19px; color: var(--muted); margin: 0 0 32px; }

/* phones and small tablets */
@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 40px 0 64px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .brand { font-size: 18px; }
}
