:root {
  --paper: #f2eee6;
  --paper-deep: #e4ddcf;
  --ink: #202522;
  --muted: #626a64;
  --line: #c9c1b3;
  --clay: #ad3f2c;
  --clay-dark: #873022;
  --sage: #4d7068;
  --sage-dark: #294942;
  --sun: #d7bb78;
  --white: #fffdf8;
  --radius: 14px;
  --content: min(1180px, calc(100vw - 48px));
  --reading: 720px;
  --space-1: .5rem;
  --space-2: .85rem;
  --space-3: 1.25rem;
  --space-4: 1.8rem;
  --space-5: 2.75rem;
  --space-6: 4.25rem;
  --space-7: 6.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: 1rem; transform: translateY(-180%); padding: .7rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { transform: none; }
.shell { width: var(--content); margin-inline: auto; }
.narrow { width: min(var(--reading), calc(100vw - 48px)); margin-inline: auto; }
.topline { background: var(--sage-dark); color: var(--white); font-size: .86rem; }
.topline .shell { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topline p { margin: 0; }
.topline a { font-weight: 700; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav-shell { min-height: 78px; display: grid; grid-template-columns: minmax(210px, 1fr) auto auto; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 780; letter-spacing: -.025em; line-height: 1.05; }
.brand-mark { width: 34px; height: 34px; border: 2px solid var(--ink); display: grid; place-items: center; transform: rotate(45deg); }
.brand-mark span { width: 11px; height: 11px; background: var(--clay); display: block; }
.brand-mark span { transform: rotate(-45deg); }
.desktop-nav { display: flex; align-items: center; gap: 1.35rem; }
.desktop-nav > a, .service-toggle { min-height: 44px; display: inline-flex; align-items: center; gap: .4rem; border: 0; background: transparent; text-decoration: none; color: var(--ink); font-weight: 650; cursor: pointer; }
.nav-services { position: relative; }
.service-toggle::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-2px); }
.service-menu { position: absolute; top: calc(100% + 8px); right: 0; width: min(520px, 90vw); padding: 1rem; background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 0; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: .16s ease; }
.nav-services:hover .service-menu, .nav-services:focus-within .service-menu, .nav-services.is-open .service-menu { visibility: visible; opacity: 1; transform: none; }
.service-menu a { padding: .8rem; border-bottom: 1px solid #ffffff2a; text-decoration: none; }
.service-menu a:hover, .service-menu a:focus-visible { background: var(--sage); }
.header-cta, .button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .72rem 1.15rem; border: 1px solid transparent; background: var(--clay); color: white; text-decoration: none; font-weight: 760; border-radius: 6px; transition: transform .16s ease, background .16s ease; }
.header-cta:hover, .button:hover { background: var(--clay-dark); transform: translateY(-1px); }
.button.secondary { background: transparent; border-color: currentColor; color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: white; }
.menu-toggle { display: none; border: 1px solid var(--ink); background: transparent; min-width: 48px; min-height: 48px; }

.hero { position: relative; min-height: 680px; display: grid; align-items: stretch; background: #b9b1a4; overflow: clip; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,29,27,.76) 0%, rgba(24,29,27,.54) 38%, rgba(24,29,27,.08) 68%, transparent 100%); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; z-index: 1; width: var(--content); margin-inline: auto; padding-block: clamp(5rem, 9vw, 8.5rem) 3rem; display: flex; flex-direction: column; justify-content: space-between; color: white; }
.hero-copy { width: min(650px, 74%); }
.hero h1, .page-hero h1 { margin: 0 0 1.25rem; font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: clamp(3.15rem, 6vw, 5.85rem); line-height: .96; letter-spacing: -.035em; font-weight: 740; text-wrap: balance; }
.hero .lead { max-width: 600px; margin: 0 0 1.7rem; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.52; color: #fffdf8; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero .button.secondary { color: white; border-color: #ffffffaa; }
.hero .button.secondary:hover { background: white; color: var(--ink); }
.service-rail { align-self: end; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 860px; margin-left: auto; background: rgba(31,37,34,.9); border-top: 1px solid #ffffff3a; }
.service-rail a { padding: 1rem 1.15rem; border-right: 1px solid #ffffff2a; color: white; text-decoration: none; font-weight: 680; }
.service-rail a:hover { background: var(--clay); }

.section { padding-block: var(--space-7); }
.section.compact { padding-block: var(--space-6); }
.section.surface { background: var(--white); }
.section.dark { background: var(--ink); color: var(--white); }
.section.sage { background: var(--sage); color: var(--white); }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; margin-bottom: var(--space-5); }
.section-head h2, .content h2, .article h2 { margin: 0; font-size: clamp(2.15rem, 4vw, 3.9rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 720; text-wrap: balance; }
.section-head p { margin: .25rem 0 0; max-width: 650px; font-size: 1.08rem; color: var(--muted); }
.dark .section-head p, .sage .section-head p { color: #ffffffc9; }
.rule-list { border-top: 1px solid var(--line); }
.rule-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 1.25rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.rule-item:hover .arrow { transform: translateX(5px); }
.rule-item strong { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.rule-item p { margin: .2rem 0 0; color: var(--muted); }
.rule-item img { width: 42px; height: 42px; object-fit: contain; }
.arrow { font-size: 1.6rem; transition: transform .16s ease; }
.photo-chapter { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); min-height: 560px; }
.photo-chapter img { width: 100%; height: 100%; object-fit: cover; }
.photo-chapter .chapter-copy { padding: clamp(2rem, 6vw, 5rem); background: var(--sage-dark); color: white; display: flex; flex-direction: column; justify-content: center; }
.chapter-copy h2 { margin: 0 0 1rem; font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: 1; letter-spacing: -.035em; }
.chapter-copy p { color: #ffffffc9; }
.fact-line { border-top: 1px solid currentColor; padding-block: 1rem; display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; }
.fact-line:last-child { border-bottom: 1px solid currentColor; }
.fact-line strong { color: var(--sun); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 1.5rem 1.25rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.step + .step { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.step b { display: block; color: var(--clay); font-size: .82rem; margin-bottom: .7rem; }
.step h3 { margin: 0 0 .55rem; font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); }
.image-pair { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.image-pair img { width: 100%; height: 440px; object-fit: cover; }
.image-pair img:last-child { height: 330px; margin-top: 110px; }
.cta-room { display: grid; grid-template-columns: 1fr minmax(320px, .75fr); background: var(--clay); color: white; }
.cta-room .copy { padding: clamp(2.2rem, 6vw, 5.5rem); align-self: center; }
.cta-room h2 { margin: 0 0 1rem; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .96; letter-spacing: -.04em; }
.cta-room img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.cta-room .button { background: var(--ink); }

.page-hero { padding-block: clamp(4rem, 8vw, 7rem); background: var(--ink); color: white; }
.page-hero .shell { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.page-hero p { max-width: 610px; margin: 0; font-size: 1.15rem; color: #ffffffcc; }
.page-hero .context { align-self: start; padding-top: .8rem; border-top: 1px solid #ffffff55; font-size: .9rem; color: var(--sun); }
.content { width: min(900px, calc(100vw - 48px)); margin-inline: auto; padding-block: var(--space-7); }
.content h2 { margin-top: 3.4rem; font-size: clamp(2rem, 3vw, 3rem); }
.content h3, .article h3 { margin-top: 2.3rem; font-size: 1.4rem; }
.content p, .content li, .article p, .article li { color: #39413c; }
.content ul, .content ol, .article ul, .article ol { padding-left: 1.25rem; }
.content li + li, .article li + li { margin-top: .55rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.side-note { padding: 1.5rem; background: var(--paper-deep); border-top: 4px solid var(--sage); }
.side-note h2, .side-note h3 { margin-top: 0; font-size: 1.45rem; }
.directory { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.directory a { padding: 1.35rem 0; border-bottom: 1px solid var(--line); text-decoration: none; display: flex; justify-content: space-between; gap: 1rem; }
.directory a:nth-child(odd) { padding-right: 2rem; }
.directory a:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
.directory small { display: block; color: var(--muted); }
.dark .directory small { color: #ffffffbf; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 730; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: .4rem; font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0; max-width: 720px; }
.article { width: min(760px, calc(100vw - 48px)); margin-inline: auto; padding-block: var(--space-7); }
.article h1 { margin: 0 0 1.3rem; font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.04em; }
.article .dek { font-size: 1.22rem; color: var(--muted); }
.article .byline { display: flex; flex-wrap: wrap; gap: 1rem; padding-block: 1rem; border-block: 1px solid var(--line); font-size: .9rem; }
.article figure { margin: 2.5rem 0; }
.article figure img { width: 100%; max-height: 520px; object-fit: cover; }
.checklist { background: var(--white); padding: 1.6rem; border-top: 4px solid var(--clay); }
.decision-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.decision-table th, .decision-table td { text-align: left; padding: .8rem; border: 1px solid var(--line); vertical-align: top; }
.decision-table th { background: var(--paper-deep); }
.notice { padding: 1rem 1.2rem; border: 1px solid var(--sage); background: #e8efec; }
.site-footer { background: #171b1a; color: #f9f4e9; padding-block: var(--space-6) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 3rem; }
.footer-grid h2 { margin: 0 0 1rem; font-size: 1.7rem; }
.footer-grid h3 { margin: 0 0 .75rem; font-size: .95rem; color: var(--sun); }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li + li { margin-top: .45rem; }
.footer-grid a { color: #f9f4e9; }
.footer-bottom { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid #ffffff2d; display: flex; justify-content: space-between; gap: 1rem; color: #ffffffa8; font-size: .82rem; }

@media (max-width: 940px) {
  :root { --content: min(100% - 32px, 1180px); }
  .nav-shell { grid-template-columns: 1fr auto; min-height: 68px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .desktop-nav { display: none; grid-column: 1 / -1; padding: 0 0 1rem; align-items: stretch; flex-direction: column; }
  .desktop-nav.is-open { display: flex; }
  .desktop-nav > a, .service-toggle { width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .service-menu { position: static; display: none; width: 100%; visibility: visible; opacity: 1; transform: none; grid-template-columns: 1fr; margin-top: .4rem; }
  .nav-services.is-open .service-menu { display: grid; }
  .hero { min-height: 650px; }
  .hero-copy { width: min(620px, 92%); }
  .service-rail { grid-template-columns: 1fr 1fr; margin-left: 0; width: 100%; }
  .section-head, .page-hero .shell, .photo-chapter, .cta-room { grid-template-columns: 1fr; }
  .photo-chapter img { height: 420px; }
  .process { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .cta-room img { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --content: calc(100% - 28px); }
  body { font-size: 16px; }
  .topline .shell { justify-content: center; }
  .topline p:first-child { display: none; }
  .brand { max-width: 220px; font-size: .96rem; }
  .hero { min-height: 620px; }
  .hero::after { background: linear-gradient(180deg, rgba(24,29,27,.74), rgba(24,29,27,.3) 70%, rgba(24,29,27,.78)); }
  .hero-inner { padding-top: 4rem; }
  .hero-copy { width: 100%; }
  .hero h1, .page-hero h1 { font-size: clamp(2.55rem, 11vw, 3.25rem); overflow-wrap: anywhere; }
  .service-rail { grid-template-columns: 1fr; }
  .service-rail a { padding: .75rem 1rem; }
  .section { padding-block: 4.5rem; }
  .section-head { gap: 1.25rem; }
  .section-head h2 { font-size: 2.45rem; }
  .rule-item { grid-template-columns: 52px 1fr auto; }
  .process, .image-pair, .split, .directory { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; padding-left: 0; }
  .image-pair img, .image-pair img:last-child { height: 320px; margin-top: 0; }
  .directory a:nth-child(odd), .directory a:nth-child(even) { padding-inline: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

