/* Cowen Copy Communications – brand tokens (see self-promotion/brand-concept.md) */

/* Self-hosted fonts (SIL Open Font License; Latin subset of the Google Fonts variable files) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/montserrat.woff2") format("woff2"); }

:root {
  --ink: #111111;
  --white: #ffffff;
  --stone: #f3eee8;
  --orange: #bc5418;        /* buttons, white text 4.75:1 */
  --orange-text: #a84a15;   /* orange text on white */
  --orange-dark: #d9733a;   /* only on #111 */
  --grey: #55514c;
  --rule: #e2dbd2;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(48px, 8vw, 96px); font-weight: 500; }
h1 span { font-style: italic; }
h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 500; }
h3 { font-size: 28px; }
p { margin: 0 0 1em; }

.label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 20px;
}
.label--light { color: var(--orange-dark); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--grey); max-width: 38em; }

/* Buttons & links */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 36px; }
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 18px 30px;
  border-radius: 0;
  transition: background .2s;
}
.btn:hover { background: var(--ink); }
.link {
  font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link:hover { color: var(--orange-text); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 96px; }
.brand img { width: 320px; height: auto; } /* guide min size: horizontal 320 px */
.brand { display: block; }
nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; align-items: center; }
nav a {
  text-decoration: none; font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
}
nav a:hover { color: var(--orange-text); }
.nav-cta { border: 1px solid var(--ink); padding: 10px 18px; }
.nav-cta:hover { background: var(--ink); color: var(--white); }

/* Hero */
.hero { padding: clamp(80px, 14vw, 170px) 0 var(--section); }
.hero h1 { margin-bottom: 32px; }

/* Services – black strip */
.services { background: var(--ink); color: var(--white); padding: var(--section) 0; }
.services h2 { margin-bottom: 56px; }
.grid { display: grid; gap: 48px 40px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.services article { border-top: 1px solid #3a3734; padding-top: 24px; }
.services .num { font-size: 12px; letter-spacing: .2em; color: var(--orange-dark); font-weight: 600; }
.services h3 { margin-top: 14px; }
.services p { color: #c9c4bd; font-size: 16px; }

/* How I work */
.how { padding: var(--section) 0; }
.how h2 { margin-bottom: 56px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--ink); padding-top: 24px; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--orange-text); margin-bottom: 14px;
}
.steps p { color: var(--grey); font-size: 16px; }

/* About – stone */
.about { background: var(--stone); padding: var(--section) 0; }
.about-inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.portrait { margin: 0; max-width: 440px; }
.portrait img { /* same treatment as launch post 6: full 3:4 photo, orange bar along the bottom */
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  background: #ddd5cb; border-bottom: 6px solid var(--orange);
}
.about h2 { font-size: clamp(44px, 6vw, 72px); }
.about p { max-width: 34em; }
.about-text { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.75; }

/* Contact */
.contact { padding: var(--section) 0; text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact .lede { margin-left: auto; margin-right: auto; }
.contact .actions { justify-content: center; }
.socials { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }

/* Footer */
.site-footer { background: var(--ink); color: #c9c4bd; padding: 64px 0 40px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; }
.footer-inner img { width: 320px; }
.footer-tag { margin: 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.footer-tag strong { color: var(--white); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { text-decoration: none; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.footer-links a:hover { color: var(--orange-dark); }
.small { grid-column: 1 / -1; font-size: 13px; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid #2c2a28; }

/* Responsive */
@media (max-width: 1000px) {
  nav ul { gap: 22px; }
}
@media (max-width: 960px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  nav li:not(:last-child) { display: none; }
  .brand img { width: auto; height: 40px; }
  .header-inner { height: 68px; }
  .about-inner { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; }
}
@media (max-width: 520px) {
  .grid-4, .steps { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
