@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --black: #181916;
  --surface: #20211d;
  --white: #fafaf5;
  --muted: #c3c1b7;
  --yellow: #f4f444;
  --line: #41413a;
  --paper: #f5f5ef;
  --ink: #171713;
  --paper-muted: #53524a;
  --paper-line: #d1d2ca;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", Arial, sans-serif;
  --gutter: clamp(1.15rem, 5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; background: var(--black); color: var(--white); font: 1rem/1.6 var(--sans); }
main { flex: 1; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 5px; }
.paper a:focus-visible { outline-color: var(--ink); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font: 400 1em/1.02 var(--serif); letter-spacing: -.02em; }
h2 { font-size: clamp(2.35rem, 4.6vw, 4.15rem); }
img { display: block; width: 100%; height: auto; }
.wrap { width: min(100% - 2 * var(--gutter), 85rem); margin-inline: auto; }
.section-space { padding-block: clamp(3.1rem, 6.7vw, 6.3rem); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 2; top: .8rem; left: .8rem; padding: .6rem 1rem; transform: translateY(-200%); color: var(--black); background: var(--yellow); }
.skip:focus { transform: none; }
.mast { border-top: 3px solid var(--yellow); border-bottom: 1px solid var(--line); }
.mast-inner { display: flex; align-items: center; justify-content: space-between; min-height: 5.1rem; gap: .45rem 2rem; }
.wordmark { display: inline-block; font: 400 clamp(1.95rem, 3.1vw, 2.65rem)/1 var(--serif); letter-spacing: -.015em; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--yellow); }
.menu-toggle { display: none; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem clamp(1rem, 3vw, 2.75rem); font-size: .95rem; font-weight: 600; }
nav a { padding: .65rem 0 .52rem; border-bottom: 2px solid transparent; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { border-color: var(--yellow); }

.hero {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--paper-line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  align-items: end;
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3.4rem, 7.6vw, 7.7rem) clamp(3rem, 6vw, 6rem);
}
.label { display: block; color: var(--muted); font-size: .875rem; font-weight: 700; line-height: 1.45; letter-spacing: .075em; text-transform: uppercase; }
.hero-label { margin-bottom: 1.45rem; color: var(--paper-muted); }
.hero h1 { max-width: 14ch; font-size: clamp(4rem, 7vw, 7.5rem); line-height: .94; }
.hero-copy > p:not(.label) { max-width: 42ch; margin-top: 1.5rem; color: var(--paper-muted); font-size: clamp(1.05rem, 1.45vw, 1.24rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.45rem; margin-top: 1.65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; border: 1px solid var(--yellow); padding: .7rem 1.2rem; color: var(--black); background: var(--yellow); font-size: .95rem; font-weight: 700; text-decoration: none; }
.button:hover { border-color: var(--white); background: var(--white); }
.hero-actions .button { border-color: var(--ink); background: var(--ink); color: var(--white); }
.hero-actions .button:hover { color: var(--ink); background: var(--yellow); }
.hero-actions .text-link { color: var(--ink); }
.hero-actions a:focus-visible { outline-color: var(--ink); }
.hero-offers {
  background: var(--surface);
  color: var(--white);
  border-top: 4px solid var(--yellow);
  padding: clamp(1.5rem, 3.4vw, 3.6rem);
}
.hero-offers h2 { font-size: clamp(2.35rem, 3.55vw, 3.8rem); }
.hero-offers ul { padding: 0; margin: 1.1rem 0 0; list-style: none; }
.hero-offers li { border-top: 1px solid var(--line); padding-top: .8rem; }
.hero-offers li + li { margin-top: .85rem; }
.hero-offers li a { color: var(--yellow); font-size: 1.06rem; font-weight: 700; text-underline-offset: .25em; }
.hero-offers li p { color: var(--muted); margin-top: .3rem; }

.paper { background: var(--paper); color: var(--ink); --muted: var(--paper-muted); --line: var(--paper-line); }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .85rem 2rem; margin-bottom: clamp(1.55rem, 3.6vw, 3rem); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem clamp(1.1rem, 2.4vw, 2.2rem); }
.service { border-top: 2px solid var(--ink); background: #fff; padding: clamp(1.25rem, 3vw, 2.65rem); scroll-margin-top: 1rem; }
.service h3 { font-size: clamp(2.5rem, 4vw, 3.7rem); }
.service p { max-width: 49ch; color: var(--muted); margin-block: .85rem 1.1rem; }
.featured { border-top: 1px solid var(--paper-line); }

.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.1rem, 2.4vw, 2.2rem); }
.project { min-width: 0; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.project-cover { aspect-ratio: 8 / 5; overflow: hidden; background: #0a0a0a; }
.project-cover img { height: 100%; object-fit: contain; }
.project-copy { padding-block: 1.1rem 1.5rem; }
.project :is(h2, h3) { margin-block: .4rem .65rem; font-size: clamp(2rem, 2.9vw, 3.3rem); overflow-wrap: anywhere; }
.project-copy > p:not(.label) { max-width: 55ch; color: var(--muted); margin-bottom: .85rem; }
.text-link { display: inline-block; color: var(--yellow); font-weight: 700; text-underline-offset: .28em; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.text-link:hover { text-decoration-thickness: 2px; }
.paper .text-link { color: var(--ink); }
.projects-detailed { grid-template-columns: 1fr; gap: clamp(1.55rem, 3.8vw, 3.8rem); }
.projects-detailed .project { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); gap: 1.3rem clamp(1.3rem, 5vw, 5rem); align-items: center; padding-bottom: clamp(1.55rem, 3.8vw, 3.8rem); }
.projects-detailed .project-copy { padding: 0; }
.project-focus { border-top: 1px solid var(--line); padding-top: .9rem; }
.project-note { margin-top: 2.6rem; }
.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem clamp(2rem, 6vw, 6rem);
  background: #fff;
  border-top: 4px solid var(--yellow);
  padding: clamp(1.4rem, 4vw, 4rem);
  scroll-margin-top: 1rem;
}
.case-study h2 { margin: .8rem 0 1rem; }
.case-study p:not(.label) { color: var(--muted); max-width: 48ch; }
.case-meta { margin-top: 1.4rem; }
.case-meta > div {
  display: grid;
  grid-template-columns: minmax(4.5rem, .38fr) minmax(0, 1fr);
  gap: .25rem .7rem;
  padding-block: .55rem;
  border-top: 1px solid var(--line);
}
.case-meta dt { font-weight: 700; }
.case-meta dd, .case-study-detail li { color: var(--muted); }
.case-study-detail { align-self: center; }
.case-study-detail h3 { font-size: clamp(2rem, 3vw, 3rem); }
.case-study-detail ul { padding-left: 1.25rem; margin: .75rem 0 0; }
.case-study-detail li + li { margin-top: .55rem; }
.published-projects { margin-top: clamp(3rem, 6vw, 6rem); }

.editorial-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 1.75rem clamp(2rem, 8vw, 8rem); align-items: start; }
.section-lead { max-width: 36ch; margin-block: 1rem 1.25rem; color: var(--muted); font-size: 1.15rem; }
.approach-list > div { border-top: 1px solid var(--line); padding-block: 1rem; }
.approach-list > div:last-child { border-bottom: 1px solid var(--line); }
.approach-list dt { font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.approach-list dd { color: var(--muted); }
h2 + .approach-list { margin-top: 1.25rem; }
.enquiry { color: var(--ink); background: var(--yellow); }
.enquiry-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem 2rem; padding-block: clamp(2rem, 4vw, 3.75rem); }
.enquiry h2 { font-size: clamp(2.2rem, 4vw, 3.55rem); }
.enquiry p { margin-top: .5rem; }
.enquiry .button, .paper .button { color: var(--white); border-color: var(--ink); background: var(--ink); }
.enquiry .button:hover, .paper .button:hover { color: var(--ink); background: transparent; }
.enquiry a:focus-visible { outline-color: var(--ink); }

.page-intro { border-bottom: 1px solid var(--line); padding-block: clamp(3.7rem, 8vw, 7rem) clamp(2.75rem, 6.5vw, 5.75rem); }
.page-intro h1 { font-size: clamp(3.6rem, 8.5vw, 7.9rem); line-height: .96; margin-bottom: 1.2rem; }
.page-intro p { max-width: 55ch; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.prose { max-width: 46rem; }
.prose > * + * { margin-top: .95rem; }
.prose p:not(.label) { color: var(--muted); font-size: 1.08rem; }
.prose h2 { font-size: clamp(2.15rem, 4.2vw, 3.7rem); }
.contact-email { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 3.2vw, 2.15rem); }
.brief-list { padding-left: 1.2rem; color: var(--muted); }
.brief-list li + li { margin-top: .45rem; }
.enquiry-note { border-top: 1px solid var(--line); padding-top: 1.4rem; }

.footer { border-top: 1px solid var(--line); }
.foot-inner { padding-block: 2.15rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem 2rem; color: var(--muted); }
.footer .wordmark { color: var(--white); font-size: 1.9rem; }
.footer p { margin-top: .35rem; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9rem; }
.footer-links a { text-underline-offset: .25em; }
.footer-links a:hover { color: var(--white); }

@media (max-width: 64rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
@media (max-width: 48rem) {
  .mast-inner { min-height: auto; flex-wrap: wrap; padding-block: 1.05rem .55rem; }
  nav { width: 100%; }
  .menu-toggle:has(+ .menu-ready) {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }
  .menu-toggle span { width: 22px; border-top: 2px solid currentColor; }
  .menu-toggle[aria-expanded="false"] + .menu-ready { display: none; }
  .hero-grid, .editorial-grid, .projects-detailed .project, .case-study { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; font-size: clamp(2.95rem, 10.3vw, 5.7rem); text-wrap: balance; }
  .projects, .service-grid { grid-template-columns: 1fr; }
  .page-intro h1 { font-size: clamp(3rem, 11vw, 5.5rem); }
}
@media (forced-colors: active) {
  a:focus-visible, .paper a:focus-visible, .enquiry a:focus-visible, .hero-actions a:focus-visible { outline-color: Highlight; }
  nav a[aria-current="page"] { border-color: currentColor; }
  .button { border-color: ButtonText; }
}

.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service .service-price { font-weight: 650; color: var(--ink); }
.pricing-information, .pricing-policy { margin-top: clamp(1.75rem, 4vw, 3.5rem); }
.pricing-policy { padding-top: 1.65rem; border-top: 1px solid var(--line); }
.terms section + section { margin-top: 2.8rem; }
.terms li + li { margin-top: .5rem; }
@media (max-width: 48rem) {
  .service-grid { grid-template-columns: 1fr; }
}
