:root {
  color-scheme: light;
  --ink: #171b1b;
  --ink-soft: #252b2a;
  --cream: #f6f5ef;
  --white: #fffefa;
  --dark-muted: #cecec2;
  --muted: #525a56;
  --amber: #ffd15c;
  --amber-deep: #805006;
  --rule: #d8d8cb;
  --gutter: clamp(1rem, 4.5vw, 4rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #167eab; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.045em; }
.wrap { width: min(100% - 2 * var(--gutter), 75rem); margin-inline: auto; }
.section-pad { padding-block: clamp(3.5rem, 8vw, 7rem); }
.desktop-line { display: none; }

.skip-link {
  position: fixed;
  inset: .75rem auto auto .75rem;
  z-index: 2;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(calc(-100% - 1rem));
}
.skip-link:focus { transform: none; }

.site-header, .hero, .site-footer { color: var(--white); background: var(--ink); }
.site-header { border-bottom: 1px solid #393f3c; }
.site-header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem 1.25rem;
}
.site-header-inner { min-height: 4.4rem; padding-block: .65rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(.45rem, 2vw, .8rem);
  font-size: clamp(.94rem, 3.6vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.04;
  text-decoration: none;
}
.brand-mark { width: clamp(3.4rem, 8vw, 4.7rem); height: auto; aspect-ratio: 1; flex: 0 0 auto; border-radius: 50%; }
.brand-second { font-weight: 650; }
.main-nav { display: flex; align-items: center; gap: clamp(.75rem, 2.5vw, 1.8rem); }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav .work-link { display: none; }
.main-nav .small-cta {
  border: 1px solid #777357;
  border-radius: .35rem;
  color: var(--amber);
  padding-inline: clamp(.6rem, 2.4vw, 1rem);
}
.main-nav .small-cta:hover, .main-nav .small-cta:active { background: var(--amber); color: var(--ink); }
.site-header a:focus-visible, .hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--amber); }

.hero { padding-block: clamp(2.2rem, 6vw, 5.6rem) clamp(2.5rem, 6.5vw, 6.25rem); }
.hero-grid, .quote-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-grid { gap: clamp(2.05rem, 5.5vw, 4.7rem); align-items: center; }
.eyebrow {
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .105em;
  line-height: 1.35;
  text-transform: uppercase;
}
.hero-eyebrow { color: var(--amber); display: flex; align-items: center; gap: .65rem; }
.hero-eyebrow span { width: 1.2rem; height: 2px; background: currentColor; flex: 0 0 1.2rem; }
.hero h1 { margin-block: .9rem 1rem; font-size: clamp(3rem, 8.9vw, 6.25rem); font-weight: 850; }
.hero h1 em { color: var(--amber); font-style: normal; }
.hero-intro { color: var(--dark-muted); max-width: 34ch; font-size: clamp(1.0625rem, 2vw, 1.22rem); }
.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.14rem;
  border: 1px solid transparent;
  border-radius: .36rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.button-amber { margin-top: 1.55rem; background: var(--amber); color: var(--ink); }
.button-amber:hover { background: #ffe094; }
.button-amber:active { background: #f1bb40; }
.hero-image { position: relative; background: var(--ink-soft); }
.hero-image img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 51%; }
.hero-image figcaption {
  position: absolute;
  inset: auto .65rem .65rem .65rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  max-width: calc(100% - 1.3rem);
  padding: .45rem .6rem;
  background: #171b1b;
  color: var(--white);
  font-size: .875rem;
  line-height: 1.23;
}
.hero-image figcaption span { background: var(--amber); width: .28rem; height: .28rem; flex: 0 0 .28rem; border-radius: 50%; }

.work { background: var(--cream); }
.section-eyebrow { margin-bottom: .7rem; color: var(--amber-deep); }
h2 { font-size: clamp(2.65rem, 6vw, 4.85rem); font-weight: 850; }
.work-intro { display: grid; gap: .85rem 2rem; align-items: end; margin-bottom: clamp(1.55rem, 4vw, 2.85rem); }
.work-intro p, .quote-copy > p:not(.eyebrow) { color: var(--muted); max-width: 39ch; font-size: 1.0625rem; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.work-card { min-width: 0; background: var(--white); border: 1px solid var(--rule); }
.work-card img { height: auto; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.work-card:nth-child(2) img { object-position: 50% 53%; }
.work-card:nth-child(3) img { object-position: 46% 47%; }
.work-card-copy { padding: clamp(1rem, 2.7vw, 1.6rem); }
.work-card h3, .quote-checklist h3 { margin-bottom: .55rem; font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; }
.work-card p { color: var(--muted); max-width: 33ch; }

.quote { background: #ffdfa0; border-top: 1px solid #e4bf74; }
.quote-grid { gap: 2rem clamp(3rem, 8vw, 7rem); align-items: center; }
.quote-copy > p:not(.eyebrow) { margin-top: .95rem; color: #40392c; }
.button-dark { margin-top: 1.4rem; background: var(--ink); color: var(--white); }
.button-dark:hover { background: #363b37; }
.button-dark:active { background: #050706; }
.quote-checklist { padding: clamp(1.1rem, 3.5vw, 2rem); background: var(--white); border: 1px solid #dfb76b; }
.quote-checklist ul { list-style: none; padding: 0; margin: 1rem 0; }
.quote-checklist li { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: .65rem; padding-block: .63rem; border-top: 1px solid var(--rule); }
.quote-checklist li span:first-child { font-weight: 800; }
.quote-checklist li span:last-child, .quote-checklist p { color: var(--muted); }
.quote-checklist p { font-size: .9rem; }

.site-footer { padding-block: 1.55rem; }
.footer-inner { flex-wrap: wrap; }
.footer-inner strong { font-size: 1.1rem; }
.footer-inner p { color: var(--dark-muted); font-size: .9rem; }
.footer-inner a { color: var(--amber); overflow-wrap: anywhere; min-height: 2.75rem; display: inline-flex; align-items: center; text-underline-offset: .2em; }

@media (min-width: 30rem) {
  .main-nav .work-link { display: inline-flex; }
  .main-nav .work-link:hover { text-decoration: underline; text-underline-offset: .25em; }
}
@media (min-width: 46rem) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-intro { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 52rem) {
  .site-header-inner { min-height: 5.25rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .hero h1 { font-size: clamp(3.4rem, 7vw, 6.1rem); }
  .hero-image img { aspect-ratio: 11 / 10; }
  .hero-image figcaption { inset: auto auto 1rem 1rem; }
  .desktop-line { display: initial; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .main-nav .small-cta { transition: background-color .16s ease, color .16s ease; }
}

/* Website enquiries and service pages */
.contact-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: .65rem; margin-top: 1.55rem; }
.contact-actions .button { margin-top: 0; }
.button-call { white-space: nowrap; }
.hero .button-call { color: var(--amber); border-color: #8d7847; }
.hero .button-call:hover, .hero .button-call:active { background: #2f2b20; border-color: var(--amber); }
.quote .button-call { color: var(--ink); border-color: #82652e; }
.quote .button-call:hover, .quote .button-call:active { background: #f0c875; }
.service-page .hero h1 { font-size: clamp(2.65rem, 7.4vw, 5.1rem); overflow-wrap: break-word; }
.service-page .hero-intro { max-width: 43ch; }
.service-detail { background: var(--white); border: 1px solid var(--rule); padding: clamp(1.1rem, 2.8vw, 1.85rem); }
.service-detail h3 { margin-bottom: .6rem; font-size: clamp(1.32rem, 2.3vw, 1.7rem); font-weight: 800; }
.service-detail p { color: var(--muted); }
.service-bar { background: var(--white); padding-block: clamp(2.4rem, 6vw, 4.7rem); border-top: 1px solid var(--rule); }
.service-bar h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.service-links { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; margin-top: 1.3rem; }
.service-links a { display: grid; gap: .25rem; padding: .9rem 1rem; border: 1px solid var(--rule); background: var(--cream); text-decoration: none; }
.service-links a:hover { border-color: #987327; background: #fff6df; }
.service-links strong { text-decoration: underline; text-underline-offset: .19em; }
.service-links span { color: var(--muted); }
@media (min-width: 39rem) {
  .service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
