/* ============================================================
   Sitewright — premium studio homepage
   Palette: warm paper · ink · deep pine (the one accent)
   Type: Fraunces (display) · Geist (body) · Geist Mono (labels)
   ============================================================ */

:root {
  --paper: #faf9f5;
  --paper-2: #f2f0e9;     /* alt section wash */
  --ink: #19191a;
  --ink-soft: #2a2a28;
  --stone: #6e6d65;       /* muted text */
  --stone-2: #8d8b82;
  --line: #e4e1d8;        /* hairlines */
  --pine: #1e3a2c;        /* primary accent */
  --pine-2: #2f6b4d;      /* interactive green */
  --pine-ink: #14271d;    /* deep pine for dark sections */
  --sand: #efece4;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --maxw: 1080px;
  --pad: clamp(20px, 5vw, 48px);
  --r: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

a { color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--pine); color: var(--paper); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--pine-2); outline-offset: 3px; border-radius: 4px; }

/* ---- type primitives ---- */
.eyebrow, .label, .card__k, .foot__k, .step__n {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--pine-2);
}

.label { color: var(--stone); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.012em; margin: 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  padding: 13px 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--pine { --bg: var(--pine); --fg: #f3f5f0; --bd: var(--pine); }
.btn--pine:hover { --bg: var(--pine-2); box-shadow: 0 8px 22px -10px rgba(30,58,44,.55); }

.btn--ink { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.btn--ink:hover { --bg: #000; }

.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost:hover { --bd: var(--ink); --bg: transparent; }

.btn--paper { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn--paper:hover { --bg: #fff; box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand__mark {
  display: grid; place-items: center; width: 30px; height: 30px;
  background: var(--pine); color: #f3f5f0; border-radius: 8px;
  font-family: var(--serif); font-weight: 600; font-size: 15px; line-height: 1;
  letter-spacing: -.02em;
}
.brand__word { font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: -.02em; }

.nav__links { display: flex; gap: 30px; }
.nav__links a { text-decoration: none; color: var(--stone); font-size: 15px; transition: color .15s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { padding: 10px 18px; font-size: 14px; }

.nav__toggle { display: none; }

/* mobile menu */
.m-menu { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-top: clamp(64px, 12vw, 132px); padding-bottom: clamp(56px, 9vw, 104px); }
.eyebrow { margin: 0 0 26px; }
.hero__title {
  font-size: clamp(42px, 8.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  max-width: 16ch;
  margin: 0 0 28px;
}
.hero__lede {
  font-size: clamp(18px, 2.3vw, 21px);
  line-height: 1.55;
  color: var(--stone);
  max-width: 52ch;
  margin: 0 0 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__note { margin: 22px 0 0; font-size: 14px; color: var(--stone-2); }

/* ============================================================
   Craft / wright definition (signature)
   ============================================================ */
.craft {
  padding-block: clamp(56px, 9vw, 104px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
.def { border-left: 2px solid var(--pine); padding-left: 26px; }
.def__word { font-family: var(--serif); font-size: clamp(28px, 4.5vw, 40px); font-weight: 500; margin: 0 0 10px; letter-spacing: -.01em; }
.def__pron { font-style: italic; color: var(--stone); font-weight: 400; }
.def__pos { font-family: var(--mono); font-size: .42em; text-transform: uppercase; letter-spacing: .12em; color: var(--pine-2); vertical-align: middle; margin-left: 6px; }
.def__body { font-size: clamp(17px, 2vw, 19px); color: var(--ink-soft); max-width: 60ch; margin: 0; line-height: 1.6; }
.def__body em { font-style: italic; color: var(--pine-2); }
.craft__say { font-family: var(--serif); font-size: clamp(22px, 3.4vw, 32px); line-height: 1.32; font-weight: 400; letter-spacing: -.01em; max-width: 24ch; margin: 0; }
.craft__say em { font-style: italic; }

@media (min-width: 860px) {
  .craft { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
}

/* ============================================================
   Section heads (shared)
   ============================================================ */
.sec-head { margin-bottom: clamp(34px, 5vw, 58px); }
.sec-head .label { display: block; margin-bottom: 14px; }
.sec-title { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.06; letter-spacing: -.018em; max-width: 20ch; }

/* ============================================================
   What we do — cards
   ============================================================ */
.work { padding-block: clamp(64px, 10vw, 120px); border-top: 1px solid var(--line); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card { background: var(--paper); padding: clamp(26px, 3vw, 38px); }
.card__k { margin: 0 0 18px; }
.card__h { font-size: clamp(20px, 2.4vw, 25px); margin: 0 0 10px; letter-spacing: -.01em; }
.card__p { margin: 0; color: var(--stone); font-size: 15.5px; line-height: 1.62; max-width: 42ch; }
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   Process — steps
   ============================================================ */
.process { background: var(--paper-2); padding-block: clamp(64px, 10vw, 120px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 54px); align-items: baseline; padding: clamp(24px, 3.4vw, 34px) 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step__n { font-size: 13px; padding-top: 6px; }
.step__h { font-size: clamp(21px, 2.7vw, 28px); margin: 0 0 8px; letter-spacing: -.01em; }
.step__p { margin: 0; color: var(--stone); max-width: 56ch; font-size: 16px; }
@media (min-width: 760px) { .step { grid-template-columns: 80px 1fr; } }

/* ============================================================
   What you get — list
   ============================================================ */
.get { padding-block: clamp(64px, 10vw, 120px); }
.getlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.getlist li {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(19px, 2.7vw, 26px); line-height: 1.35; letter-spacing: -.01em;
  padding: clamp(16px, 2.4vw, 22px) 0 clamp(16px, 2.4vw, 22px) 40px;
  border-top: 1px solid var(--line); position: relative; color: var(--ink-soft);
}
.getlist li:last-child { border-bottom: 1px solid var(--line); }
.getlist li::before {
  content: ""; position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 2px; background: var(--pine);
}

/* ============================================================
   CTA — the one dark, bold moment
   ============================================================ */
.cta { background: var(--pine-ink); color: #eef1ec; }
.cta__inner { padding-block: clamp(80px, 12vw, 140px); text-align: center; }
.cta__h { font-size: clamp(34px, 6vw, 62px); line-height: 1.03; letter-spacing: -.02em; color: #f4f6f1; max-width: 18ch; margin: 0 auto 20px; }
.cta__p { font-size: clamp(17px, 2.2vw, 20px); color: #b9c4ba; max-width: 46ch; margin: 0 auto 38px; line-height: 1.55; }
.cta__small { margin: 22px 0 0; font-size: 14px; color: #8ea193; }
.cta__small a { color: #cdd8cd; text-underline-offset: 3px; }

/* ============================================================
   Footer
   ============================================================ */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 80px); }
.foot__inner { display: grid; gap: 44px; padding-bottom: 48px; }
.foot__brand .brand__word { font-size: 24px; }
.foot__tag { color: var(--stone); margin: 10px 0 0; font-size: 15px; max-width: 28ch; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.foot__cols a, .foot__addr { display: block; text-decoration: none; color: var(--stone); font-size: 15px; margin-bottom: 9px; transition: color .15s ease; }
.foot__cols a:hover { color: var(--ink); }
.foot__k { font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: var(--ink); margin: 0 0 16px; font-weight: 500; }
.foot__addr { color: var(--stone); margin-top: 4px; line-height: 1.6; }
.foot__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--stone-2); }
.foot__mark { font-family: var(--serif); font-style: italic; }
@media (min-width: 760px) { .foot__inner { grid-template-columns: 1.2fr 1fr; align-items: start; } }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   Mobile nav
   ============================================================ */
@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
    width: 42px; height: 42px; margin-left: auto; background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin-inline: auto; transition: transform .2s ease, opacity .2s ease; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .m-menu:not([hidden]) { display: flex; flex-direction: column; gap: 6px; padding: 8px var(--pad) 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .m-menu a { text-decoration: none; color: var(--ink); padding: 12px 2px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .m-menu a:last-child { border: 0; margin-top: 10px; }
  .m-menu .btn { justify-content: center; }
}
