
  :root {
    --ink: #1a1a1a;
    --ink-soft: #2b2b2b;
    --paper: #f5f2ec;
    --paper-warm: #ede8df;
    --muted: #6b655c;
    --line: #d8d2c5;
    --accent: #6b5b3e;
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --max: 1280px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin: 0;
  }
  p { margin: 0 0 1rem; }

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

  /* -------- Navigation -------- */
  .nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem var(--gutter);
    max-width: var(--max);
    margin: 0 auto;
  }
  .brand {
    font-family: var(--serif);
    font-size: 1.5rem;
    letter-spacing: 0.02em;
  }
  .brand span { font-style: italic; }
  .nav-toggle { display: none; }
  .nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
  }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background: var(--ink);
    height: 1px;
    width: 100%;
    position: absolute;
  }
  .nav-toggle-label span { top: 9px; }
  .nav-toggle-label span::before { content: ""; top: -7px; }
  .nav-toggle-label span::after { content: ""; top: 7px; }
  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .nav-links a {
    color: var(--ink-soft);
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--accent); }

  @media (max-width: 860px) {
    .nav-toggle-label { display: block; }
    .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      flex-direction: column;
      gap: 0;
      background: var(--paper);
      border-bottom: 1px solid var(--line);
      padding: 1rem var(--gutter) 2rem;
    }
    .nav-links li { border-bottom: 1px solid var(--line); }
    .nav-links a {
      display: block;
      padding: 1rem 0;
    }
    .nav-toggle:checked ~ .nav-links { display: flex; }
  }

  /* -------- Hero -------- */
  .hero {
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
  }
  @media (min-width: 860px) {
    .hero-grid { grid-template-columns: 1.05fr 1fr; }
  }
  .hero-text .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.5rem;
    display: block;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    margin-bottom: 1.5rem;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--accent);
  }
  .hero-sub {
    font-size: 1.125rem;
    color: var(--ink-soft);
    max-width: 38ch;
    margin-bottom: 2.5rem;
  }
  .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .btn {
    display: inline-block;
    padding: 1rem 1.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .btn:hover {
    background: transparent;
    color: var(--ink);
  }
  .btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
  }
  .btn-ghost:hover {
    background: var(--ink);
    color: var(--paper);
  }
  .hero-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }
  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* -------- Section common -------- */
  section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
  }
  .section-head h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    max-width: 24ch;
  }
  .section-head .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
  }

  /* -------- Positioning statement -------- */
  .positioning {
    background: var(--paper-warm);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .positioning-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
  }
  .positioning p.lede {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 1.5rem;
  }
  .positioning p {
    color: var(--ink-soft);
    font-size: 1.0625rem;
    max-width: 62ch;
  }

  /* -------- Work / portfolio -------- */
  .work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  @media (min-width: 720px) {
    .work-grid {
      grid-template-columns: 1fr 1fr;
      gap: 2rem 2.5rem;
    }
  }
  .work-item figure {
    margin: 0;
    overflow: hidden;
  }
  .work-item img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    width: 100%;
    transition: transform 0.8s ease;
  }
  .work-item:hover img { transform: scale(1.03); }
  .work-item figcaption {
    margin-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
  }
  .work-item h3 {
    font-size: 1.375rem;
  }
  .work-item .meta {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .work-item.featured { grid-column: 1 / -1; }
  .work-item.featured img { aspect-ratio: 16 / 9; }

  .work-footer {
    margin-top: 3rem;
    text-align: left;
  }

  /* -------- Services -------- */
  .services {
    background: var(--ink);
    color: var(--paper);
  }
  .services .eyebrow,
  .services .section-head h2 { color: var(--paper); }
  .services .eyebrow { color: var(--line); }
  .services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid #3a3a3a;
  }
  .service-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid #3a3a3a;
  }
  @media (min-width: 720px) {
    .service-row {
      grid-template-columns: 1fr 2fr 1fr;
      gap: 3rem;
      align-items: start;
    }
  }
  .service-row h3 {
    font-size: 1.5rem;
    color: var(--paper);
  }
  .service-row p {
    color: #c9c4b9;
    margin: 0;
  }
  .service-row .service-meta {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    color: #a8a399;
    text-transform: uppercase;
  }

  /* -------- Approach / process -------- */
  .approach-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
  }
  @media (min-width: 860px) {
    .approach-grid { grid-template-columns: 1fr 1fr; }
  }
  .approach-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }
  .approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .approach-steps {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    counter-reset: step;
  }
  .approach-steps li {
    counter-increment: step;
    padding: 1.75rem 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
  }
  .approach-steps li:last-child { border-bottom: 1px solid var(--line); }
  .approach-steps li::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--accent);
  }
  .approach-steps h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    font-family: var(--sans);
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  .approach-steps p {
    color: var(--muted);
    font-size: 0.9375rem;
    margin: 0;
  }

  /* -------- Press -------- */
  .press {
    background: var(--paper-warm);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
  }
  .press .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 2rem;
  }
  .press-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--serif);
    font-size: 1.375rem;
    color: var(--ink-soft);
    font-style: italic;
  }

  /* -------- Newsletter -------- */
  .newsletter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
  }
  @media (min-width: 860px) {
    .newsletter-grid { grid-template-columns: 1fr 1fr; }
  }
  .newsletter-image {
    aspect-ratio: 5 / 4;
    overflow: hidden;
  }
  .newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .newsletter h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1.25rem;
  }
  .newsletter p { color: var(--ink-soft); max-width: 44ch; }
  .ep-placeholder {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border: 1px dashed var(--line);
    background: var(--paper);
    font-size: 0.875rem;
    color: var(--muted);
  }

  /* -------- Contact -------- */
  .contact {
    background: var(--ink);
    color: var(--paper);
  }
  .contact-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
  }
  .contact h2 {
    color: var(--paper);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
  }
  .contact p { color: #c9c4b9; max-width: 56ch; margin: 0 auto 2rem; }
  .contact .ep-placeholder {
    background: #222;
    border-color: #3a3a3a;
    color: #a8a399;
    text-align: left;
  }

  /* -------- Footer -------- */
  footer {
    background: var(--paper);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--line);
  }
  .footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
  }
  .footer-brand {
    font-family: var(--serif);
    font-size: 1.25rem;
  }
  .footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    padding: 0;
    margin: 0;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .footer-links a:hover { color: var(--ink); }
  .copyright {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.8125rem;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .social-note { font-style: italic; }


/* ========================================
   PAGE TEMPLATE STYLES
   ======================================== */

.template-page .content-section {
    padding: 4rem 0;
}

.template-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.template-page .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.template-page .page-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.template-page .page-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
}

.template-page .page-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.template-page .page-content p {
    margin-bottom: 1.25rem;
}

.template-page .page-content a {
    text-decoration: none;
}

.template-page .page-content a:hover {
    text-decoration: underline;
}

.template-error .content-section {
    padding: 6rem 0;
    text-align: center;
}

/* Contact form on pages */
.ep-contact-form-wrapper {
    max-width: 600px;
    margin: 2rem auto;
}

.ep-contact-form input[type="text"],
.ep-contact-form input[type="email"],
.ep-contact-form textarea {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

.ep-contact-form input:focus,
.ep-contact-form textarea:focus {
    outline: none;
}

.ep-contact-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.ep-contact-form .form-field {
    margin-bottom: 1.5rem;
}

.ep-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.ep-contact-form button,
.ep-contact-form input[type="submit"] {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

/* Container padding (prevents content running to browser edge) */
.container, .section-inner, [class*="-inner"] {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}
section, [class*="section"] {
    overflow-x: hidden;
}

.site-footer {
    position: relative;
    z-index: 1;
}

/* Structural button fallbacks (colour comes from the brand CSS, never from here).
   If the brand CSS uses class names the converter renamed, the button will be
   clickable but uncoloured, which is a visible signal something needs fixing
   rather than a misleading hardcoded blue. */
.button, a.button,
a.btn-primary, a.btn-secondary, a.btn-dark, a.btn-outline, a.btn-light {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1.4;
}

a.read-more, .read-more {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: opacity 0.2s;
}
.read-more:hover { opacity: 0.7; }

a[class*="hero-btn"] {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.hero-cta, .hero-actions, .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Button class alias shim — converter renamed .btn → .button, .btn-ghost → .button.action.
   Source: juneharper primary is .btn (ink fill). */
.button {
    display: inline-block;
    padding: 1rem 1.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.button:hover { background: transparent; color: var(--ink); }
.button.action { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.action:hover { background: var(--ink); color: var(--paper); }
