@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&display=swap');

:root {
  --bg: #f4f0e9;
  --surface: #ebe5db;
  --surface-strong: #e2dbcf;
  --card: #f8f5ef;
  --ink: #211f1c;
  --muted: #6c675f;
  --soft-muted: #918a7e;
  --accent: #b39a73;
  --accent-strong: #8e7148;
  --line: rgba(33, 31, 28, 0.16);
  --line-strong: rgba(33, 31, 28, 0.28);
  --button: #211f1c;
  --button-ink: #f8f5ef;
  --hero-overlay: rgba(22, 20, 18, 0.22);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --radius: 2px;
  color-scheme: light;
}

body[data-theme="carbon"] {
  --bg: #1b1a18;
  --surface: #262421;
  --surface-strong: #302d29;
  --card: #24221f;
  --ink: #f4efe6;
  --muted: #b6aea0;
  --soft-muted: #8e877c;
  --accent: #c8ad7e;
  --accent-strong: #dfc79c;
  --line: rgba(244, 239, 230, 0.18);
  --line-strong: rgba(244, 239, 230, 0.34);
  --button: #f4efe6;
  --button-ink: #1b1a18;
  --hero-overlay: rgba(18, 17, 15, 0.32);
  color-scheme: dark;
}

body[data-theme="sand"] {
  --bg: #e9ddca;
  --surface: #ddcbb2;
  --surface-strong: #d4bea0;
  --card: #efe5d7;
  --ink: #342b24;
  --muted: #756354;
  --soft-muted: #917f6c;
  --accent: #94714e;
  --accent-strong: #6d4e32;
  --line: rgba(52, 43, 36, 0.19);
  --line-strong: rgba(52, 43, 36, 0.31);
  --button: #342b24;
  --button-ink: #efe5d7;
  --hero-overlay: rgba(51, 39, 28, 0.24);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  transition: background-color 500ms ease, color 500ms ease;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: var(--button-ink);
}

.shell {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(5rem, 10vw, 9.25rem);
}

.section-lined {
  border-top: 1px solid var(--line);
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--button);
  color: var(--button-ink);
  font-size: 0.78rem;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

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

.header-inner {
  display: flex;
  min-height: 5.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-mark {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 2.25rem);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
}

.main-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
}

.nav-cta span {
  color: var(--accent-strong);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.nav-cta:hover span,
.nav-cta:focus-visible span {
  transform: translate(2px, -2px);
}

.hero {
  overflow: clip;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(3.5rem, 8vw, 8rem);
}

.hero-copy {
  max-width: 39rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.8rem;
  color: var(--accent-strong);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 2.8rem;
  height: 1px;
  background: currentColor;
}

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

h1,
h2,
h3 {
  font-weight: 500;
}

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.035em;
}

h1 {
  max-width: 9.8ch;
  margin-bottom: 1.8rem;
  font-size: clamp(3.3rem, 9vw, 7.6rem);
  line-height: 0.96;
}

h1 em {
  color: var(--accent-strong);
  font-style: normal;
}

.hero-lede {
  max-width: 32rem;
  margin-bottom: 2.25rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  gap: 1.2rem;
  padding: 0.85rem 1.15rem 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button span {
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--button);
  color: var(--button-ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--accent-strong);
  color: #fffaf1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.text-link span {
  color: var(--accent-strong);
  font-size: 1.05rem;
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(2px, -2px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 4rem 0 0;
  color: var(--soft-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-frame {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  background: var(--surface-strong);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78);
  transition: transform 800ms cubic-bezier(0.2, 0.65, 0.3, 1), filter 500ms ease;
}

.hero-visual:hover .hero-frame img {
  transform: scale(1.035);
  filter: saturate(0.9);
}

.image-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--hero-overlay), transparent 55%, rgba(15, 13, 11, 0.3));
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fffaf1;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.caption-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-aside {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  color: var(--soft-muted);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aside-rule {
  width: 3rem;
  height: 1px;
  background: var(--line-strong);
}

.review-area {
  display: grid;
  gap: 1.4rem;
  margin-top: clamp(3rem, 6vw, 5.2rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.review-copy {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.review-label {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.review-copy p {
  max-width: 25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.review-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.1rem 1.8rem;
}

.control-group {
  display: grid;
  gap: 0.55rem;
}

.control-label {
  color: var(--soft-muted);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.choice,
.reset-choice {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.68rem;
  line-height: 1;
  padding: 0.62rem 0.78rem;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.choice:hover,
.choice:focus-visible,
.reset-choice:hover,
.reset-choice:focus-visible {
  border-color: var(--accent-strong);
  color: var(--ink);
}

.choice.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--button-ink);
}

.reset-choice {
  align-self: end;
  border-color: transparent;
  padding-inline: 0;
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent-strong) 45%, transparent);
  text-underline-offset: 0.26rem;
}

.positioning-grid,
.closing-grid {
  display: grid;
  gap: 2.5rem;
}

.section-index {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.positioning-content {
  max-width: 53rem;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  line-height: 0.99;
}

.large-copy {
  max-width: 43rem;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.signature-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--soft-muted);
  font-size: 0.74rem;
}

.signature-mark {
  display: grid;
  width: 2.05rem;
  height: 2.05rem;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-strong);
  font-family: var(--serif);
  font-size: 0.8rem;
}

.section-intro {
  display: grid;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5.8rem);
}

.section-intro h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.intro-aside {
  max-width: 20rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-card {
  min-height: 15rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--bg);
  transition: background-color 300ms ease, transform 300ms ease;
}

.process-card:hover {
  background: var(--surface);
}

.card-number {
  display: block;
  margin-bottom: 4.2rem;
  color: var(--accent-strong);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.process-card h3,
.service-card h3 {
  margin-bottom: 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.05;
}

.process-card p,
.service-card p {
  max-width: 20rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

.services-intro {
  margin-bottom: clamp(3rem, 7vw, 6.5rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-card {
  display: flex;
  min-height: 20rem;
  flex-direction: column;
  padding: clamp(1.5rem, 3.4vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--card);
  transition: background-color 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.service-card:hover {
  border-color: var(--accent);
  background: var(--surface);
  transform: translateY(-4px);
}

.service-card-featured {
  background: var(--surface-strong);
}

.service-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5.2rem;
  color: var(--accent-strong);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.service-symbol {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: 0;
}

.service-card h3 {
  max-width: 11ch;
}

.service-card p {
  max-width: 24rem;
}

.service-tag {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 1.8rem;
  color: var(--soft-muted);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-image {
  padding-top: clamp(3rem, 8vw, 7rem);
  padding-bottom: clamp(5rem, 10vw, 9.5rem);
}

.editorial-image-frame {
  position: relative;
  min-height: min(74vw, 47rem);
  overflow: hidden;
  background: var(--surface-strong);
}

.editorial-image-frame img {
  width: 100%;
  height: 100%;
  min-height: min(74vw, 47rem);
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.7);
}

.editorial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 23, 19, 0.68), rgba(27, 23, 19, 0.14) 70%);
}

.editorial-copy {
  position: absolute;
  top: clamp(2rem, 6vw, 5rem);
  left: clamp(1.5rem, 7vw, 7rem);
  max-width: 35rem;
  color: #fffaf1;
}

.eyebrow-light {
  color: #dcc49b;
}

.editorial-copy h2 {
  max-width: 9ch;
  margin-bottom: 2rem;
  color: #fffaf1;
  font-size: clamp(3rem, 7vw, 7rem);
}

.image-caption {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 250, 241, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-caption::before {
  content: "";
  width: 2.3rem;
  height: 1px;
  background: var(--accent);
}

.closing-grid {
  align-items: start;
}

.closing-copy {
  max-width: 51rem;
}

.closing-copy h2 {
  max-width: 10ch;
}

.closing-copy > p:not(.eyebrow) {
  max-width: 33rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.closing-contact-layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  margin: clamp(3rem, 6vw, 5rem) 0 3rem;
}

.interest-form {
  max-width: 44rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 62%, transparent);
}

.form-heading {
  margin-bottom: 1.7rem;
}

.form-kicker {
  margin: 0 0 0.5rem;
  color: var(--accent-strong);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.form-intro {
  max-width: 26rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 600;
}

.form-field label > span[aria-hidden="true"] {
  color: var(--accent-strong);
}

.field-optional {
  margin-left: 0.35rem;
  color: var(--soft-muted);
  font-size: 0.66rem;
  font-weight: 400;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.45;
  padding: 0.82rem 0.9rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.form-field input {
  min-height: 3.15rem;
}

.form-field textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--soft-muted);
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: var(--accent);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent-strong);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
}

.form-field input:user-invalid:not(:focus),
.form-field textarea:user-invalid:not(:focus) {
  border-color: #a65f55;
}

.form-submit {
  margin-top: 1.35rem;
}

.form-note,
.form-feedback {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--soft-muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.form-feedback {
  color: var(--ink);
}

.form-feedback a {
  color: var(--accent-strong);
  text-underline-offset: 0.2rem;
}

.contact-details {
  align-self: end;
  max-width: 19rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.contact-details h3 {
  margin: 1.35rem 0 1.15rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
}

.contact-details a {
  display: block;
  width: fit-content;
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: 0.88rem;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.25rem;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--accent-strong);
}

.contact-details .contact-instagram {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  width: fit-content;
  margin-top: 1.45rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-instagram-label {
  color: var(--soft-muted);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-instagram-handle {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.25rem;
}

.contact-instagram-arrow {
  color: var(--accent-strong);
  font-size: 1rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.contact-instagram:hover,
.contact-instagram:focus-visible {
  color: var(--accent-strong);
  transform: translateY(-2px);
}

.contact-instagram:hover .contact-instagram-arrow,
.contact-instagram:focus-visible .contact-instagram-arrow {
  transform: translate(2px, -2px);
}

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

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-wordmark {
  width: fit-content;
}

.footer-inner p {
  max-width: 24rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-inner .credits {
  color: var(--soft-muted);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body[data-hero="immersive"] .hero-grid {
  position: relative;
  display: block;
  min-height: min(80vh, 56rem);
}

body[data-hero="immersive"] .hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: min(80vh, 56rem);
  max-width: 49rem;
  flex-direction: column;
  justify-content: center;
  padding-block: 4rem;
  color: #fffaf1;
}

body[data-hero="immersive"] .hero-copy .eyebrow,
body[data-hero="immersive"] .hero-copy .hero-note {
  color: #e0c99f;
}

body[data-hero="immersive"] .hero-copy .hero-lede {
  color: rgba(255, 250, 241, 0.78);
}

body[data-hero="immersive"] .hero-copy h1 em {
  color: #e0c99f;
}

body[data-hero="immersive"] .hero-visual {
  position: absolute;
  inset: 0;
}

body[data-hero="immersive"] .hero-frame,
body[data-hero="immersive"] .hero-frame img {
  height: 100%;
  min-height: min(80vh, 56rem);
}

body[data-hero="immersive"] .hero-frame {
  margin-inline: calc((100vw - min(100vw - 2.5rem, 1180px)) / -2);
}

body[data-hero="immersive"] .hero-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 15, 13, 0.75), rgba(17, 15, 13, 0.24) 72%), linear-gradient(0deg, rgba(17, 15, 13, 0.34), transparent 50%);
  content: "";
}

body[data-hero="immersive"] .image-wash {
  display: none;
}

body[data-hero="immersive"] .hero-aside {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 1rem;
  color: rgba(255, 250, 241, 0.66);
}

body[data-hero="immersive"] .review-area {
  margin-top: 2.2rem;
}

body[data-hero="immersive"] .hero-caption {
  z-index: 3;
}

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

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 720px) {
  .shell {
    width: min(100% - 4rem, 1180px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(25rem, 1.12fr);
  }

  .hero-frame {
    min-height: 42rem;
  }

  .hero-frame img {
    min-height: 42rem;
  }

  .review-area {
    grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.7fr);
    align-items: start;
  }

  .positioning-grid,
  .closing-grid {
    grid-template-columns: minmax(8rem, 0.48fr) minmax(0, 2fr);
  }

  .section-intro {
    grid-template-columns: minmax(8rem, 0.48fr) minmax(0, 1.15fr) minmax(12rem, 0.85fr);
    align-items: start;
  }

  .section-intro .eyebrow {
    margin-bottom: 1.4rem;
  }

  .intro-aside {
    justify-self: end;
    padding-top: 2.45rem;
  }

  .closing-grid {
    min-height: 24rem;
  }

  .closing-contact-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(12rem, 0.7fr);
    align-items: start;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-field-full {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
  }

  .footer-inner p:last-child {
    justify-self: end;
    text-align: right;
  }
}

@media (min-width: 1020px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-card {
    min-height: 20rem;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .service-card {
    min-height: 31rem;
  }

  .service-card h3 {
    max-width: 9ch;
  }

  .service-card p {
    max-width: 17rem;
  }
}

@media (max-width: 719px) {
  .header-inner {
    min-height: 4.6rem;
    flex-wrap: wrap;
    padding-block: 0.9rem;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.8rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--line);
    font-size: 0.68rem;
  }

  .main-nav .nav-cta {
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-note {
    margin-top: 2.5rem;
  }

  .hero-frame,
  .hero-frame img {
    min-height: 22rem;
  }

  .hero-caption {
    font-size: 0.61rem;
  }

  .review-copy {
    display: grid;
    gap: 0.35rem;
  }

  .review-controls {
    display: grid;
    align-items: stretch;
  }

  .reset-choice {
    justify-self: start;
  }

  .positioning-grid,
  .closing-grid {
    gap: 2rem;
  }

  .process-card {
    min-height: 16.5rem;
  }

  .card-number {
    margin-bottom: 3rem;
  }

  .service-card {
    min-height: 19rem;
  }

  .service-topline {
    margin-bottom: 4rem;
  }

  .editorial-image-frame,
  .editorial-image-frame img {
    min-height: 36rem;
  }

  .editorial-overlay {
    background: linear-gradient(0deg, rgba(27, 23, 19, 0.76), rgba(27, 23, 19, 0.12) 78%);
  }

  .editorial-copy {
    top: auto;
    right: 1.5rem;
    bottom: 2rem;
    left: 1.5rem;
  }

  .editorial-copy h2 {
    max-width: 10ch;
    margin-bottom: 1.5rem;
    font-size: clamp(2.65rem, 13vw, 4.4rem);
  }

  body[data-hero="immersive"] .hero-grid,
  body[data-hero="immersive"] .hero-copy {
    min-height: 36rem;
  }

  body[data-hero="immersive"] .hero-copy {
    padding-block: 3rem;
  }

  body[data-hero="immersive"] .hero-frame,
  body[data-hero="immersive"] .hero-frame img {
    min-height: 36rem;
  }

  body[data-hero="immersive"] .hero-frame {
    margin-inline: -1.25rem;
  }

  body[data-hero="immersive"] .hero-aside {
    right: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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