:root {
  color-scheme: light;
  --coal: #161411;
  --ink: var(--coal);
  --muted: #574d43;
  --gold: #f3ba49;
  --terracotta: #ae3c2d;
  --ivory: #f2ebdf;
  --ivory-dark: #eae0d0;
  --surface: #fcf8f1;
  --line: #c9baa8;
  --round: .5rem;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ivory);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
.wrap { width: min(100% - clamp(2.5rem, 10vw, 10rem), 81rem); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.skip { position: absolute; z-index: 5; top: .6rem; left: .6rem; padding: .7rem 1rem; background: var(--surface); }

.masthead {
  color: #f2ebdf;
  background: var(--coal);
  border-bottom: 1px solid #ffffff22;
}
.masthead-inner, .footer-inner {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  flex-shrink: 0;
  font-size: 1.69rem;
  font-weight: 560;
  letter-spacing: -.065em;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { width: 2.8rem; height: 2.5rem; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.25vw, 2.1rem); }
nav a, .footer-top { font-size: .9375rem; font-weight: 600; text-decoration: none; }
nav a:hover, .footer-top:hover { text-decoration: underline; text-underline-offset: .32em; }
.nav-contact, .menu-toggle {
  border: 1px solid #f3ba4999;
  color: var(--gold);
  padding: .63rem .94rem;
  border-radius: .32rem;
  background: transparent;
}
.nav-contact:hover, .menu-toggle:hover { background: var(--gold); color: var(--coal); text-decoration: none; }
.menu-toggle { display: none; }
.masthead :focus-visible, .footer :focus-visible, .method :focus-visible { outline-color: var(--gold); }

.hero { padding-block: clamp(3.2rem, 5vw, 5.1rem) clamp(3.4rem, 5.4vw, 5.3rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(2rem, 4.4vw, 4.4rem); align-items: center; }
.label {
  color: var(--terracotta);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .026em;
  line-height: 1.35;
  margin-bottom: .9rem;
}
h1, h2, h3 { font-weight: 650; }
h1 {
  font-size: clamp(3.3rem, 5.3vw, 5.15rem);
  line-height: 1.015;
  letter-spacing: -.06em;
  max-width: 11.5ch;
}
.keep-phrase { white-space: nowrap; }
.hero-summary {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 38ch;
  margin-block: 1.37rem 1.55rem;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; }
.button {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: .36rem;
  padding: .67rem 1rem;
  font-size: .9375rem;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none;
}
.button-primary { background: var(--terracotta); color: #fff; }
.button-primary:hover { background: #943122; }
.button-outline { border-color: #857369; background: transparent; color: var(--coal); }
.button-outline:hover { background: var(--ivory-dark); }
.text-link {
  color: var(--terracotta);
  font-size: .9375rem;
  font-weight: 700;
  text-underline-offset: .28em;
  text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }
.hero-figure { align-self: center; }
.hero-figure img { width: 100%; height: auto; border-radius: var(--round); }
figcaption { color: var(--muted); font-size: .81rem; margin-top: .55rem; }

.section { padding-block: clamp(3.6rem, 6.4vw, 6.1rem); }
h2 { font-size: clamp(2.45rem, 4.4vw, 4.4rem); letter-spacing: -.055em; line-height: 1.05; }
h3 { font-size: clamp(1.26rem, 2vw, 1.52rem); letter-spacing: -.025em; line-height: 1.22; }
.section-intro { max-width: 59ch; margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }
.services { background: var(--ivory-dark); border-block: 1px solid #d9cabb; }
.service-grid, .method-grid { display: grid; padding: 0; margin: 2.6rem 0 0; list-style: none; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.55rem, 4vw, 4.1rem); row-gap: 1.8rem; }
.service-grid li { border-top: 1px solid #ac9988; padding-top: 1.05rem; }
.service-grid p, .method-grid p { margin-top: .55rem; max-width: 38ch; color: var(--muted); }

.examples { background: var(--surface); }
.example-tabs {
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  gap: .25rem;
  margin-block: 1.7rem 2rem;
  padding: .28rem;
  border-radius: .43rem;
  background: var(--ivory-dark);
}
.example-tabs a {
  color: var(--coal);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 700;
  padding: .55rem .95rem;
  border-radius: .25rem;
}
.example-tabs a:hover { background: #dccab4; }
.example-tabs a[aria-selected="true"] { background: var(--coal); color: #f2ebdf; }
.example-panel { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); gap: clamp(1.75rem, 5.3vw, 5.6rem); align-items: center; }
.example-panel + .example-panel { margin-top: 2rem; }
.example-panel[role="tabpanel"] { margin-top: 0; }
.example-panel img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; border-radius: var(--round); }
.example-panel h3 { font-size: clamp(1.75rem, 3vw, 3rem); letter-spacing: -.045em; }
.example-copy p { margin-top: .9rem; color: var(--muted); max-width: 47ch; }
.example-copy strong { color: var(--ink); }
.example-copy a { display: inline-block; margin-top: 1.25rem; }

.method, .footer {
  color: #f2ebdf;
  background: var(--coal);
}
.method .label { color: var(--gold); }
.method .section-intro, .method-grid p { color: #ddd0bd; }
.method-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; }
.method-grid li { border-top: 1px solid #f2ebdf58; padding-top: 1rem; }
.method-grid h3 { line-height: 1.22; }
.about { background: var(--surface); }
.about-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.75rem, 7vw, 7rem); }
.about-copy { color: var(--muted); font-size: 1.19rem; max-width: 50ch; align-self: end; }
.about-copy p + p { margin-top: .9rem; }
.contact { background: var(--ivory-dark); border-top: 1px solid #d8c8b7; }
.contact h2 { max-width: 15ch; }
.brief-form {
  display: grid;
  align-content: start;
  gap: .95rem;
  padding: clamp(1.2rem, 3vw, 2.15rem);
  background: var(--surface);
  border: 1px solid #cabbab;
  border-radius: var(--round);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.brief-form label { display: block; font-size: .9375rem; font-weight: 650; }
.brief-form input, .brief-form select, .brief-form textarea {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid #9e8e80;
  border-radius: .32rem;
  margin-top: .35rem;
  background: #fff;
  color: var(--ink);
  padding: .6rem .7rem;
  font-weight: 500;
  font-size: 1rem;
}
.brief-form select {
  appearance: none;
  padding-right: 2.5rem;
  background: #fff url("assets/chevron.svg") no-repeat right .85rem center / .85rem;
}
.brief-form textarea { resize: vertical; }
.brief-form textarea::placeholder { color: #62564b; }
.brief-form .form-note, .brief-form .form-status { font-size: .9375rem; color: var(--muted); }
.brief-form .form-status:empty { display: none; }
.brief-result { border-top: 1px solid var(--line); padding-top: 1rem; }
.brief-result .actions { margin-top: .75rem; }
.footer-inner { min-height: 6rem; }
.footer p { font-size: .9375rem; color: #ddd0bd; }
.footer-top { color: var(--gold); }

@media (max-width: 1080px) {
  .wrap { width: min(100% - 4rem, 81rem); }
  .masthead-inner { gap: 1rem; }
  nav { gap: 1rem; }
  .hero-grid { gap: 2rem; }
  h1 { font-size: clamp(2.85rem, 6.1vw, 4.3rem); }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 790px) {
  .wrap { width: calc(100% - 2.5rem); }
  .masthead-inner { flex-wrap: wrap; min-height: 4.4rem; padding-block: .65rem; }
  .enhanced .menu-toggle { display: inline-flex; align-items: center; min-height: 2.7rem; font-size: .9375rem; font-weight: 650; }
  nav { width: 100%; flex-wrap: wrap; padding-bottom: .35rem; }
  .enhanced nav { display: none; }
  .enhanced .masthead.is-open nav { display: flex; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: clamp(2.95rem, 9vw, 4.7rem); max-width: 13ch; }
  .hero-summary { max-width: 47ch; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.85rem; }
  .example-panel { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
  .footer-inner { flex-wrap: wrap; padding-block: 1.2rem; gap: .6rem 1.4rem; }
}

@media (max-width: 480px) {
  .service-grid, .method-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .service-grid, .method-grid { row-gap: 1.25rem; }
  .example-tabs a { padding-inline: .63rem; }
  .footer p { flex-basis: 100%; }
}
