:root {
  color-scheme: light dark;
  --canvas: #f8f1ed;
  --surface: #fffaf7;
  --surface-soft: #f3e8e2;
  --surface-rose: #f1dedc;
  --surface-olive: #e8e9df;
  --ink: #283028;
  --muted: #5d655d;
  --rose: #a64f55;
  --rose-text: #934047;
  --rose-fill: #a64f55;
  --rose-fill-hover: #8d3e45;
  --olive: #66705e;
  --olive-panel: #66705e;
  --olive-panel-ink: #fffaf7;
  --on-rose: #fffaf7;
  --line: #d9cdc6;
  --header-solid: #f8f1ed;
  --shadow: 0 18px 48px rgba(40, 48, 40, 0.11);
  --radius: 28px;
  --pill: 999px;
  --container: 1180px;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #20251f;
    --surface: #292f28;
    --surface-soft: #30362e;
    --surface-rose: #443032;
    --surface-olive: #363d33;
    --ink: #f5efe9;
    --muted: #cbc6be;
    --rose-text: #f1aeb4;
    --rose-fill: #8d3e45;
    --rose-fill-hover: #a64f55;
    --olive: #aeb8a5;
    --olive-panel: #465040;
    --olive-panel-ink: #fffaf7;
    --on-rose: #fffaf7;
    --line: #4b5249;
    --header-solid: #20251f;
    --shadow: 0 18px 48px rgba(9, 12, 9, 0.28);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
summary {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--rose-text);
  outline-offset: 4px;
}

::selection {
  background: var(--surface-rose);
  color: var(--ink);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h2 {
  max-width: 18ch;
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.08;
}

section,
footer {
  scroll-margin-top: 88px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--canvas);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--header-solid);
  background: color-mix(in srgb, var(--header-solid) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-name {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  cursor: pointer;
  font-weight: 700;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-block;
  padding-block: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--rose-text);
}

.hero {
  display: grid;
  min-height: calc(100dvh - 72px);
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 1.1rem;
  color: var(--rose-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 100%;
  margin-bottom: 1.45rem;
  font-size: clamp(3.3rem, 4.4vw, 4rem);
  line-height: 0.9;
  text-wrap: balance;
}

.hero-lead {
  max-width: 37rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.35rem;
  border-radius: var(--pill);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.button-primary {
  background: var(--rose-fill);
  color: var(--on-rose);
  box-shadow: 0 10px 26px rgba(141, 62, 69, 0.2);
}

.button-primary:hover {
  background: var(--rose-fill-hover);
  transform: translateY(-2px);
}

.button-primary:active {
  transform: translateY(0);
}

.hero-media {
  width: min(100%, 430px);
  height: min(72dvh, 550px);
  margin: 0;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.intro,
.services,
.principles,
.about,
.contact {
  padding-block: clamp(5rem, 9vw, 8rem);
}

.intro .container {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 8vw, 8rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.intro-copy {
  max-width: 31ch;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4.3vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -0.8rem;
}

.section-heading h2,
.section-heading > p:last-child {
  margin-bottom: 0;
}

.section-heading > p:last-child {
  max-width: 34rem;
  color: var(--muted);
}

.services {
  background: var(--surface-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.service {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(40, 48, 40, 0.05);
}

.service-wide {
  grid-column: span 7;
}

.service-compact {
  grid-column: span 5;
}

.service-tinted {
  background: var(--surface-rose);
}

.service-olive {
  background: var(--surface-olive);
}

.service > p {
  color: var(--muted);
}

.service .service-promise {
  max-width: 42ch;
  color: var(--ink);
  font-weight: 750;
}

.service details {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.service summary {
  cursor: pointer;
  color: var(--rose-text);
  font-weight: 800;
}

.service summary:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.service details ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.service details li {
  padding-left: 0.8rem;
  border-left: 2px solid var(--rose-text);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle {
  min-width: 0;
  padding: clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.principle:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.principle:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.principle p {
  max-width: 46ch;
  margin-bottom: 0;
  color: var(--muted);
}

.principle-statement {
  background: var(--olive-panel);
  color: var(--olive-panel-ink);
}

.principle-statement p {
  color: var(--olive-panel-ink);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.35;
}

.about {
  background: var(--surface-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.about-media {
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  max-width: 610px;
}

.about-copy > p:not(.section-kicker) {
  color: var(--muted);
}

.about-copy strong {
  color: var(--ink);
}

.about-belief {
  margin: 2rem 0 0;
  padding: 1.1rem 0 1.1rem 1.2rem;
  border-left: 3px solid var(--rose-text);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.35;
}

.contact {
  background: var(--canvas);
}

.contact-inner {
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: var(--radius);
  background: var(--rose-fill);
  color: var(--on-rose);
}

.contact-inner .section-kicker,
.contact-inner h2,
.contact-inner > p {
  color: var(--on-rose);
}

.contact-inner > p:not(.section-kicker) {
  max-width: 58rem;
}

.contact-inner .button-primary {
  margin-top: 0.8rem;
  background: var(--on-rose);
  color: #753138;
  box-shadow: none;
}

.contact-inner .button-primary:hover {
  background: #f3e8e2;
}

.contact-inner .button-primary:focus-visible {
  outline-color: var(--on-rose);
}

.site-footer {
  padding-block: 3rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  grid-column: span 2;
  align-items: center;
  gap: 1.25rem;
}

.footer-brand img {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 32rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.footer-brand .footer-name {
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  font-style: normal;
}

.footer-contact a {
  color: var(--muted);
}

.footer-contact a:hover {
  color: var(--rose-text);
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .skip-link {
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 620ms ease,
      transform 620ms ease;
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .js .hero-copy > *,
  .js .hero-media {
    animation: hero-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .js .hero-copy > :nth-child(2) {
    animation-delay: 90ms;
  }

  .js .hero-copy > :nth-child(3) {
    animation-delay: 180ms;
  }

  .js .hero-copy > :nth-child(4) {
    animation-delay: 270ms;
  }

  .js .hero-media {
    animation-delay: 160ms;
  }

  @keyframes hero-in {
    from {
      opacity: 0;
      transform: translateY(18px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--header-solid);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 5.2vw, 3.4rem);
  }

  .service-wide,
  .service-compact {
    grid-column: span 6;
  }

  .service details ul {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.75fr);
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 80px;
  }

  body {
    overflow-x: hidden;
  }

  section,
  footer {
    scroll-margin-top: 80px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .nav-shell {
    position: relative;
    min-height: 68px;
    gap: 0.8rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    margin-left: auto;
  }

  .no-js .menu-toggle {
    display: none;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1rem;
  }

  .js .nav-list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: max-content;
    max-width: calc(100vw - 28px);
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow);
    justify-items: start;
  }

  .js .nav-list.is-open {
    display: grid;
  }

  .js .nav-list a {
    display: block;
    padding: 0.65rem 0.75rem;
  }

  .hero {
    min-height: calc(100dvh - 68px);
    padding-block: 3rem 4.5rem;
  }

  .hero-grid,
  .intro .container,
  .section-heading,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .hero-copy,
  .hero-media,
  .about-copy {
    width: 100%;
    max-width: none;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-lead {
    max-width: 32rem;
  }

  .hero .button {
    width: 100%;
    padding-inline: 0.8rem;
  }

  .button {
    overflow-wrap: anywhere;
    line-height: 1.35;
    white-space: normal;
  }

  .hero-media {
    height: auto;
    aspect-ratio: 1023 / 1537;
    justify-self: stretch;
  }

  .hero-media img {
    height: 100%;
  }

  .intro,
  .services,
  .principles,
  .about,
  .contact {
    padding-block: 4.5rem;
  }

  .intro .container {
    gap: 1rem;
  }

  .intro-copy {
    font-size: clamp(2rem, 9.4vw, 3.2rem);
  }

  .section-heading {
    align-items: start;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  .section-heading .section-kicker {
    grid-column: auto;
    margin-bottom: 0;
  }

  .services-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .service-wide,
  .service-compact {
    grid-column: 1 / -1;
  }

  .principles-grid {
    border-bottom: 0;
  }

  .principle,
  .principle:nth-child(odd),
  .principle:nth-last-child(-n + 2) {
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-statement,
  .principle-statement:nth-child(odd),
  .principle-statement:nth-last-child(-n + 2) {
    margin-top: 2rem;
    padding: 2rem;
    border: 0;
    border-radius: var(--radius);
  }

  .about-grid {
    gap: 2.5rem;
  }

  .contact-inner {
    padding: 2rem 1.25rem;
  }

  .contact-inner .button {
    width: 100%;
    padding-inline: 0.7rem;
  }

  .footer-grid {
    align-items: start;
    gap: 1.5rem;
  }

  .footer-brand {
    grid-column: 1;
    align-items: flex-start;
  }

  .footer-brand img {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
  }

  .footer-contact {
    grid-column: 1;
  }
}

@media (max-width: 390px) {
  .button {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .js .reveal,
  .js .hero-copy > *,
  .js .hero-media {
    opacity: 1;
    transform: none;
  }
}
