:root {
  color-scheme: light;
  --paper: #faf8f2;
  --white: #fffefa;
  --ink: #172d38;
  --muted: #4b5a60;
  --deep: #12232c;
  --wash: #e8eef0;
  --line: #cdd4d2;
  --gold: #efcb83;
  --gold-hover: #f9dda6;
  --radius-button: 999px;
  --sans: Geist, "Segoe UI", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --gutter: clamp(1.25rem, 5.25vw, 6rem);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scrollbar-color: #9ba9aa var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); }
::selection { background: var(--gold); color: var(--deep); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid #236273; outline-offset: 5px; }
section[id] { scroll-margin-top: 1rem; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.034em; }
h2 { font-size: clamp(3rem, 5.5vw, 5.75rem); line-height: .93; }
h3 { font-size: clamp(1.15rem, 1.85vw, 1.55rem); line-height: 1.24; letter-spacing: -.035em; font-weight: 600; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 82rem); margin-inline: auto; }
.section-space { padding-block: clamp(4.25rem, 8.5vw, 8.3rem); }
.skip { position: fixed; top: 1rem; left: 1rem; z-index: 5; translate: 0 -180%; padding: .65rem 1rem; background: var(--white); color: var(--ink); }
.skip:focus { translate: 0; }
.svg-defs { position: absolute; }
.arrow { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

.header-inner, .footer-inner { min-height: 5.15rem; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.wordmark { display: inline-flex; align-items: center; min-width: 0; gap: .72rem; font-size: 1.19rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.15; text-decoration: none; }
.wordmark img { flex: none; }
.wordmark span { overflow-wrap: anywhere; }
.wordmark strong { font-weight: 600; }
.wordmark small { display: block; margin-top: .25rem; color: var(--muted); font-size: .71rem; line-height: 1.25; font-weight: 400; letter-spacing: -.005em; }
.header nav, .footer nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.65rem); }
.header nav a, .footer nav a, .back-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .89rem; font-weight: 600; text-decoration: none; }
.header nav a:hover, .footer nav a:hover, .back-link:hover, [aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.header nav .nav-contact { min-height: 2.85rem; padding: .6rem .9rem .6rem 1.1rem; gap: .6rem; border-radius: var(--radius-button); background: var(--ink); color: var(--paper); text-decoration: none; transition: background .18s; }
.header nav .nav-contact:hover { background: #345563; }
.menu-toggle { display: none; }

.hero { container-type: inline-size; --hero-inset: clamp(1.8rem, 5cqw, 4.9rem); }
.hero-stage {
  position: relative;
  isolation: isolate;
  min-height: clamp(34rem, 47cqw, 41rem);
  display: grid;
  align-items: center;
  border-radius: 1rem 1rem 0 0;
  background: var(--deep);
  color: var(--paper);
}
.hero-media { position: absolute; z-index: -1; inset: 0; overflow: hidden; border-radius: inherit; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; display: block; }
.hero-media img { object-fit: cover; object-position: 60% 48%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b1a22a8 0%, #0b1a224d 34%, transparent 58%), linear-gradient(0deg, #09151971, transparent 18%); }
.hero-media figcaption { position: absolute; z-index: 1; bottom: 1.15rem; right: 1.35rem; color: #fff7e7; font-size: .72rem; background: #13232de8; padding: .15rem .5rem; border-radius: .2rem; }
.hero-copy { padding: clamp(2.5rem, 5.2cqw, 5rem) var(--hero-inset); width: fit-content; max-width: 56%; }
.hero h1 { font-size: clamp(3.85rem, 7.25cqw, 6.1rem); line-height: .81; }
.hero h1 em { color: #f4dba9; font-style: normal; }
.hero-lead { margin-block: 1.55rem 1.75rem; max-width: 32ch; color: #f2ede1; font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.55; text-wrap: pretty; }
.hero :focus-visible, .process :focus-visible { outline-color: var(--gold); }
.button {
  min-height: 3.4rem;
  width: fit-content;
  padding: .8rem 1rem .8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.65rem, 1.75vw, 1.65rem);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.25;
  transition: background .18s, transform .14s var(--ease-out);
}
.button:hover { background: #315260; }
.button:active, .copy-button:active { transform: scale(.98); }
.button-gold { background: var(--gold); color: var(--deep); }
.button-gold:hover { background: var(--gold-hover); }
.hero-rail {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.5rem;
  padding: .55rem var(--hero-inset);
  background: var(--deep);
  border-top: 1px solid #3d4f56;
  border-radius: 0 0 1rem 1rem;
  color: var(--paper);
  font-size: .84rem;
}
.rail-label { display: inline-flex; align-items: center; gap: .6rem; color: #e4e8e6; }
.rail-label span { width: .38rem; height: .38rem; flex: none; border-radius: 50%; background: var(--gold); }
.hero-rail a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 600; min-height: 2.75rem; }
.hero-rail a:hover { text-decoration: underline; text-underline-offset: .3em; }
.rail-icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; flex: none; border: 1px solid #687981; color: var(--gold); border-radius: 50%; }
.rail-icon .arrow { width: 1rem; height: 1rem; }

.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(2.8rem, 9vw, 9.5rem); align-items: center; }
.about-media img { width: 100%; aspect-ratio: 5 / 5.3; height: auto; object-fit: cover; object-position: center 53%; border-radius: 48% 48% .38rem .38rem / 36% 36% .38rem .38rem; background: #d9cbc0; }
.about-media figcaption { padding-top: .7rem; color: var(--muted); font-size: .76rem; }
.about-copy { max-width: 38rem; }
.about-copy h2, .contact h2 { margin-bottom: 1.45rem; }
.about-copy p, .section-lead, .contact-intro > p { color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.13rem); text-wrap: pretty; }
.about-copy p + p { margin-top: .85rem; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; min-height: 2.75rem; font-size: .94rem; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: .34em; }
.text-link:hover { text-decoration-thickness: 2px; }
.text-link .arrow { transition: transform .18s var(--ease-out); }
.text-link:hover .arrow { transform: translate(2px,-2px); }
.about-copy .text-link, .process .text-link { margin-top: .95rem; }

.services { background: var(--wash); }
.services-layout, .quality, .contact-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 2.5rem clamp(2.5rem, 7.7vw, 8rem); align-items: start; }
.section-lead { margin-top: 1.2rem; max-width: 42ch; }
.service-media { margin-top: clamp(1.4rem, 3vw, 2.6rem); }
.service-media img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; border-radius: .75rem; background: #c7d3d5; }
.service-media figcaption { padding-top: .55rem; color: var(--muted); font-size: .76rem; }
.services-list { border-top: 1px solid #b3c2c5; align-self: center; }
.service { display: grid; grid-template-columns: 2.3rem minmax(0, 1fr); gap: 1.2rem; padding: 1.6rem 0; border-bottom: 1px solid #b3c2c5; }
.icon-tile { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: #d5e0e4; }
.icon-tile svg { width: 1.38rem; height: 1.38rem; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.service p, .steps p { margin-top: .5rem; max-width: 52ch; color: var(--muted); text-wrap: pretty; }

.process { background: var(--ink); color: var(--paper); }
.process-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 1.2rem 3rem; margin-bottom: clamp(2.4rem, 5.3vw, 5rem); }
.process-intro p { max-width: 39ch; color: #dde8e8; font-size: 1.1rem; }
.process .text-link { color: var(--gold); }
.steps { --step-gap: clamp(1.7rem, 4.7vw, 4.25rem); --step-icon-size: 3.55rem; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem var(--step-gap); }
.steps li { position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset: calc(var(--step-icon-size) / 2) calc(0px - var(--step-gap)) auto var(--step-icon-size); height: 1px; background: #67808a; }
.step-icon { display: grid; place-items: center; width: var(--step-icon-size); height: var(--step-icon-size); border: 1px solid #78909a; border-radius: 50%; background: #203943; color: var(--gold); }
.step-icon .arrow { width: 1.65rem; height: 1.65rem; }
.step-number { display: block; margin-block: .8rem .4rem; color: var(--gold); font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps p { color: #dde8e8; }

.quality .section-heading { max-width: 35rem; }
.selection-visual { width: 100%; height: auto; margin-top: clamp(1.4rem, 3vw, 2.6rem); }
.criteria { border-top: 1px solid var(--line); align-self: center; }
.criteria details { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
.criteria summary { min-height: 3.8rem; padding: .95rem .12rem; font-size: 1.04rem; font-weight: 600; }
.criteria summary:hover, .request-template summary:hover { color: #315f70; }
.criteria details p { padding: 0 2.3rem 1.2rem .12rem; color: var(--muted); text-wrap: pretty; }
.plus { width: 1.65rem; height: 1.65rem; display: grid; place-items: center; flex: none; border: 1px solid #b1bebf; border-radius: 50%; }
.plus::before, .plus::after { content: ""; grid-area: 1 / 1; background: currentColor; width: .67rem; height: 1.5px; }
.plus::after { transform: rotate(90deg); transition: transform .16s var(--ease-out); }
details[open] > summary .plus::after { transform: none; }
details[open] > summary .plus { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.contact { background: #e6edef; }
.contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.contact-intro > p { max-width: 52ch; }
.contact-card { background: var(--white); padding: clamp(1.4rem, 3vw, 2.5rem); border-radius: .65rem; }
.contact-card h3 { font-family: var(--display); font-size: 2.2rem; line-height: 1; letter-spacing: -.025em; font-weight: 500; }
.data-list { margin: 1.25rem 0 0; }
.data-list > div { display: grid; grid-template-columns: minmax(7.25rem, .85fr) minmax(0, 1fr); gap: .1rem 1rem; border-top: 1px solid var(--line); padding-block: .78rem; }
.data-list dt { font-weight: 600; }
.data-list dd { margin: 0; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.contact-link { color: var(--ink); text-underline-offset: .22em; }
.contact-card .button { margin-top: 1.15rem; }
.request-template { margin-top: 1.6rem; max-width: 33rem; border-block: 1px solid #a7b9be; }
.request-template summary { min-height: 3.2rem; padding: .6rem .1rem; font-weight: 600; }
.request-template textarea { width: 100%; resize: vertical; display: block; padding: .85rem .95rem; background: var(--white); color: var(--ink); border-radius: .35rem; border: 1px solid #a7b9be; font-size: .93rem; }
.request-template[open] { padding-bottom: .9rem; }
.copy-button { color: var(--white); background: var(--ink); border: 0; border-radius: var(--radius-button); padding: .4rem .85rem; min-height: 2.75rem; font-weight: 600; margin-top: .65rem; transition: background .18s, transform .14s var(--ease-out); }
.copy-button:hover { background: #345563; }
.copy-status { display: block; color: var(--ink); font-size: .9rem; }
.copy-status:not(:empty) { margin-top: .45rem; }

.footer { margin-block: clamp(1.25rem, 3vw, 2.4rem); border-radius: 1rem; background: var(--deep); color: var(--paper); }
.footer-inner { min-height: 7rem; padding: 1.35rem clamp(1.2rem, 3.5vw, 3.4rem); flex-wrap: wrap; }
.footer .wordmark { font-size: 1.11rem; }
.footer .wordmark small { color: #c7d4d6; }
.footer nav { gap: .15rem 1.35rem; flex-wrap: wrap; }
.footer :focus-visible { outline-color: var(--gold); }
.footer-top { min-height: 2.75rem; padding: .45rem .8rem .45rem 1rem; border: 1px solid #657982; border-radius: var(--radius-button); display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 600; text-decoration: none; transition: background .18s; }
.footer-top:hover { background: var(--ink); }
.footer-top .arrow { color: var(--gold); }
.legal-main { padding-block: clamp(3rem, 6vw, 6rem) clamp(4rem, 8vw, 8rem); }
.legal { max-width: 49rem; }
.legal h1 { font-size: clamp(3rem, 7.3vw, 7rem); line-height: .93; margin-bottom: 1.65rem; overflow-wrap: anywhere; }
.legal h2 { font-family: var(--sans); font-size: 1.32rem; line-height: 1.25; font-weight: 600; }
.legal .notice { background: var(--wash); padding: 1rem 1.2rem; border-radius: .4rem; margin-bottom: 2.2rem; }
.legal section + section { margin-top: 2rem; }
.legal section p { margin-top: .55rem; color: var(--muted); }
.legal .back-link { margin-top: 1.7rem; gap: .4rem; }

@media (max-width: 1050px) {
  .hero-stage { min-height: 35rem; }
  .hero-media img { object-position: 51% center; }
  .hero-media::after { background: linear-gradient(90deg, #0b1a22cf 0%, #0b1a2280 31%, transparent 66%), linear-gradient(0deg, #09151971, transparent 18%); }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 0 1rem; min-height: 4.6rem; padding-block: .7rem; }
  .header nav { flex: 1 0 100%; justify-content: space-between; padding: .8rem 0 .2rem; flex-wrap: wrap; }
  .js .menu-toggle { display: inline-flex; gap: .55rem; align-items: center; min-height: 2.75rem; padding: .45rem .75rem; border: 1px solid #b4c0c1; border-radius: var(--radius-button); background: var(--paper); color: var(--ink); font-size: .87rem; font-weight: 600; }
  .menu-mark { position: relative; width: .9rem; height: .8rem; display: grid; align-items: center; }
  .menu-mark::before, .menu-mark::after { content: ""; position: absolute; width: 100%; height: 1.5px; background: currentColor; transition: transform .16s var(--ease-out); }
  .menu-mark::before { transform: translateY(-.17rem); }
  .menu-mark::after { transform: translateY(.17rem); }
  .menu-toggle[aria-expanded="true"] .menu-mark::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-mark::after { transform: rotate(-45deg); }
  .js .header nav { display: none; }
  .js .header nav.is-open { display: flex; }
  .about-grid { gap: 2.5rem; }
  .services-layout, .quality, .contact-grid { column-gap: 2.1rem; }
  .data-list > div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 740px) {
  .header .wordmark { font-size: 1.05rem; gap: .55rem; }
  .header .wordmark img { width: 2.35rem; height: 2.35rem; }
  .header .wordmark small { font-size: .65rem; }
  .header nav, .js .header nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem .9rem; }
  .header nav .nav-contact { justify-self: start; }
  .hero-stage { display: grid; min-height: 0; border-radius: .75rem .75rem 0 0; }
  .hero-media { position: relative; grid-row: 1; z-index: 0; aspect-ratio: 1.5; border-radius: inherit; }
  .hero-media img { object-position: center 42%; }
  .hero-media::after { background: linear-gradient(0deg, #12232c82, transparent 22%); }
  .hero-media figcaption { bottom: .55rem; right: .7rem; }
  .hero-copy { max-width: none; padding: 1.9rem clamp(1.15rem, 5vw, 2rem) 1.8rem; }
  .hero h1 { font-size: clamp(3.3rem, 10.2vw, 5.45rem); line-height: .91; max-width: 12ch; }
  .hero h1 br { display: none; }
  .hero h1 em { white-space: nowrap; }
  .hero-lead { margin-block: .9rem 1.15rem; max-width: 34ch; }
  .hero-rail { min-height: 3.65rem; border-radius: 0 0 .75rem .75rem; padding-inline: 1.15rem; }
  .rail-label { display: none; }
  .hero-rail a { min-height: 2.75rem; }
  .rail-icon { width: 1.8rem; height: 1.8rem; }
  .section-space { padding-block: clamp(3.75rem, 9vw, 5.5rem); }
  .about-grid, .services-layout, .process-intro, .quality, .contact-grid { grid-template-columns: 1fr; }
  .about-copy { grid-row: 1; }
  .about-media { max-width: 31rem; }
  .about-media img { aspect-ratio: 5 / 4; object-position: center 52%; }
  .steps { --step-icon-size: 2.8rem; grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: var(--step-icon-size) minmax(0, 1fr); align-items: start; gap: .9rem; padding-block: 1.1rem; border-top: 1px solid #6f8389; }
  .steps li:not(:last-child)::after { content: none; }
  .steps li:last-child { border-bottom: 1px solid #6f8389; }
  .step-icon .arrow { width: 1.4rem; height: 1.4rem; }
  .step-number { margin: .32rem 0 0; text-align: center; }
  .steps h3 { padding-top: .25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: .65rem; padding-block: 1.3rem; }
  .footer nav { column-gap: 1rem; }
  .contact-card .data-list > div { grid-template-columns: minmax(7.25rem, .85fr) minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .header-inner { column-gap: .35rem; }
  .header .wordmark { gap: .42rem; font-size: .99rem; }
  .header .wordmark small { font-size: .59rem; }
  .header .wordmark img { width: 2rem; height: 2rem; }
  .js .menu-toggle { padding-inline: .55rem; }
  .contact-card .data-list > div { grid-template-columns: 1fr; }
  .legal h1 { font-size: 2.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
