:root {
  --ink: #090705;
  --umber: #17100b;
  --bronze: #b47938;
  --bronze-bright: #e3b66f;
  --parchment: #efe2cb;
  --muted: #bfae94;
  --line: rgba(211, 157, 83, .34);
  --shadow: 0 24px 70px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(137, 84, 34, .22), transparent 48rem),
    linear-gradient(145deg, #0b0806, #17100b 52%, #080604);
  color: var(--parchment);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.65;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--bronze-bright); outline-offset: 4px; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  padding: .65rem 1rem; background: var(--parchment); color: #111;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4.8rem; padding: .9rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(216, 162, 88, .22);
  background: linear-gradient(to bottom, rgba(6,4,3,.92), rgba(6,4,3,.6));
  backdrop-filter: blur(12px);
}
.wordmark { text-decoration: none; text-transform: uppercase; letter-spacing: .08em; line-height: 1.1; }
.wordmark strong { display: block; font-size: clamp(1rem, 2vw, 1.35rem); color: #e2ba7a; }
.wordmark span { display: block; margin-top: .22rem; font: .63rem Arial, sans-serif; letter-spacing: .32em; color: #aa8a60; }
.top-nav { display: flex; gap: clamp(.8rem, 2.5vw, 2rem); align-items: center; }
.top-nav a { text-decoration: none; color: #d3c4ae; font: .78rem Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.top-nav a:hover { color: #f0c788; }

.home { min-height: 100svh; display: grid; place-items: center; overflow: hidden; position: relative; background: #0b0806; }
.home-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.home::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 10vw 2vw rgba(0,0,0,.62); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.path-choice {
  position: absolute; z-index: 3; top: 56%; transform: translateY(-50%);
  min-width: 12rem; padding: .8rem 1.2rem;
  border: 1px solid rgba(220,166,92,.46); border-radius: 2px;
  background: rgba(12,8,5,.46); backdrop-filter: blur(7px);
  color: #ead6b5; text-align: center; text-decoration: none;
  text-transform: uppercase; letter-spacing: .18em; font-size: .82rem;
  transition: border-color .2s, background .2s, transform .2s;
}
.path-choice:hover { background: rgba(123,75,31,.38); border-color: #d9a45e; transform: translateY(-50%) translateY(-2px); }
.path-private { left: clamp(2rem, 11vw, 12rem); }
.path-resolution { right: clamp(2rem, 9vw, 11rem); }

.cookie-note {
  position: fixed; z-index: 40; right: .8rem; bottom: .8rem;
  display: flex; align-items: center; gap: .9rem; max-width: calc(100% - 2rem); width: max-content;
  padding: .6rem .8rem .6rem 1rem; border: 1px solid rgba(213,160,88,.34); border-radius: 2px;
  background: rgba(10,7,5,.9); box-shadow: 0 8px 30px rgba(0,0,0,.35);
  color: #cbb99e; font: .72rem/1.35 Arial, sans-serif; letter-spacing: .04em;
}
.cookie-note span { display: block; }
.cookie-note button { border: 0; background: transparent; color: #d9ad70; font: inherit; cursor: pointer; padding: .35rem .45rem; }

.codi-secret {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem;
  border: 1px solid rgba(211,157,83,.2); border-radius: 50%;
  color: rgba(211,157,83,.38); text-decoration: none;
  transition: color .25s, border-color .25s, background .25s, transform .25s;
}
.codi-secret:hover, .codi-secret:focus-visible { color: #d7a15a; border-color: rgba(215,161,90,.7); background: rgba(74,42,19,.42); transform: translateY(-2px); }
.codi-secret svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.codi-secret span {
  position: absolute; left: calc(100% + .65rem); width: max-content;
  opacity: 0; pointer-events: none; color: #bda684;
  font: .64rem Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase;
  transition: opacity .25s;
}
.codi-secret:hover span, .codi-secret:focus-visible span { opacity: 1; }
.codi-secret-home {
  position: absolute; z-index: 5;
  left: calc(50% - clamp(7rem, 18vw, 12rem));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
}
.codi-secret-home:hover, .codi-secret-home:focus-visible { transform: translateY(-2px); }

.hero {
  min-height: 100svh; position: relative; display: grid; align-items: center;
  padding: 7rem clamp(1.25rem, 7vw, 7rem) 4rem; overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-image) center/cover no-repeat; filter: saturate(.86) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,3,2,.96) 0%, rgba(7,4,3,.82) 36%, rgba(7,4,3,.22) 76%, rgba(5,3,2,.52) 100%); }
.hero.right-copy::after { background: linear-gradient(270deg, rgba(5,3,2,.96) 0%, rgba(7,4,3,.83) 39%, rgba(7,4,3,.18) 77%, rgba(5,3,2,.48) 100%); }
.hero-content { position: relative; z-index: 2; width: min(41rem, 92vw); }
.right-copy .hero-content { margin-left: auto; }
.private-hero-content { width: min(47rem, 92vw); }
.private-heading { font-size: clamp(2.15rem, 4.2vw, 4.45rem); line-height: 1.12; letter-spacing: -.025em; }
.private-heading span { color: #dfc49c; }
.adr-heading { font-size: clamp(2.4rem, 5.2vw, 5.5rem); line-height: 1.08; }
.service-hero { min-height: 88svh; }
.service-hero-content { width: min(51rem, 92vw); }
.service-heading { font-size: clamp(2.35rem, 5.15vw, 5.35rem); line-height: 1.08; }
.eyebrow { margin: 0 0 1rem; color: #c99653; text-transform: uppercase; letter-spacing: .28em; font: .72rem Arial, sans-serif; }
h1, h2 { margin: 0; font-weight: 400; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7.5vw, 7.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.lead { max-width: 40rem; margin: 1.5rem 0 0; color: #d7c7b0; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.75; }
.link-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.text-link {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .68rem 1rem;
  border: 1px solid var(--line); background: rgba(13,8,5,.52); color: #e1c69c;
  text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font: .72rem Arial, sans-serif;
}
.text-link:hover { border-color: #d7a15a; background: rgba(113,67,29,.36); }
.text-link::after { content: "\2192"; margin-left: .65rem; color: #c78e48; }

.page { padding-top: 4.8rem; min-height: 100svh; }
.content-wrap { width: min(76rem, calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(4rem, 8vw, 8rem) 0; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(17rem, .95fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.rule { width: 4rem; height: 1px; background: #b47a3a; margin: 1.4rem 0; }
.prose { color: #d3c1a8; font-size: 1.08rem; }
.prose p { margin: 0 0 1.2rem; }
.section-title { font-size: clamp(2.5rem, 5vw, 5rem); }
.detail-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.detail { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.detail h2, .detail h3 { margin: 0 0 .35rem; color: #e6c38e; font-size: 1.18rem; font-weight: 400; }
.detail p { margin: 0; color: #bba98e; }
.profile-wrap { width: min(80rem, calc(100% - 2.5rem)); }
.profile-intro { max-width: 58rem; }
.profile-intro-with-seal { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(11rem, 17rem); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.profile-seal { width: 100%; filter: drop-shadow(0 18px 32px rgba(0,0,0,.46)); }
.qualities-index { max-width: 58rem; font-size: clamp(2rem, 4.3vw, 4.4rem); line-height: 1.15; }
.qualities-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(2.5rem, 6vw, 5rem); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.quality-card { padding: clamp(1.5rem, 3vw, 2.6rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(20,13,8,.28); }
.quality-card h2 { color: #e6c38e; font-size: clamp(1.55rem, 2.5vw, 2.25rem); }
.quality-card p { margin: 1rem 0 0; color: #c8b69d; font-size: 1.04rem; }
.quality-card-wide { grid-column: 1 / -1; }
.quality-card-wide p { max-width: 55rem; }
.profile-links { margin-top: 2rem; }
.service-profile { padding-top: 0; background: linear-gradient(180deg, rgba(12,8,5,.96), var(--ink)); }
.service-wrap { width: min(80rem, calc(100% - 2.5rem)); }
.service-intro { max-width: 66rem; }
.service-intro .prose { max-width: 61rem; }
.service-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); border-left: 1px solid var(--line); scroll-margin-top: 6rem; }
.service-section { padding: clamp(1.6rem, 3.2vw, 3rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(20,13,8,.26); }
.service-section h2 { color: #e6c38e; font-size: clamp(1.55rem, 2.5vw, 2.3rem); }
.service-section p { margin: 1rem 0 0; color: #c8b69d; font-size: 1.04rem; }
.service-section-wide { grid-column: 1 / -1; }
.service-section-wide p { max-width: 64rem; }
.service-philosophy { max-width: 68rem; margin-top: clamp(3.5rem, 8vw, 7rem); padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); background: rgba(24,15,9,.42); }
.service-philosophy h2 { color: #e6c38e; }
.service-philosophy p:not(.eyebrow) { color: #d0bea4; font-size: 1.08rem; }
.service-links { margin-top: 2rem; }
.quote { margin: 2.3rem 0 0; padding: 1.4rem 0 1.4rem 1.5rem; border-left: 1px solid #b77b39; color: #dec9a9; font-size: 1.18rem; font-style: italic; }
.mini-nav { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.1rem 1.8rem; }
.mini-nav a { color: #c7a16b; font: .75rem Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; text-underline-offset: .35rem; }

.contact-card { max-width: 38rem; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); background: rgba(22,14,9,.64); box-shadow: var(--shadow); }
.contact-card address { margin: 1.5rem 0; font-style: normal; color: #d7c7b0; }
.contact-card a { color: #e0b875; text-underline-offset: .25rem; }
.notice { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: #9f917d; font: .82rem/1.55 Arial, sans-serif; }
.service-area { margin: 1.35rem 0 0; color: #c99653; font: .76rem/1.6 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.contact-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 4vw, 3rem); margin-top: 3rem; }
.contact-choice-grid .contact-card { max-width: none; }

.codi-page { display: grid; align-items: end; overflow: hidden; background: radial-gradient(circle at 72% 45%, rgba(151,91,38,.28), transparent 34rem); }
.codi-shell { width: min(78rem, calc(100% - 2.5rem)); min-height: calc(100svh - 4.8rem); margin: 0 auto; display: grid; grid-template-columns: minmax(17rem,.78fr) minmax(20rem,1.22fr); gap: clamp(1.5rem,5vw,5rem); align-items: center; }
.codi-copy { position: relative; z-index: 2; padding: 5rem 0; }
.codi-copy h1 { color: #ead7b9; }
.codi-role { margin: 1rem 0 0; color: #d7b77f; font-size: clamp(1.1rem,2vw,1.45rem); font-style: italic; }
.codi-description { max-width: 34rem; margin: 2rem 0 0; color: #cbb99f; font-size: 1.08rem; }
.codi-verdict { margin: 1.6rem 0 0; color: #e0bf8a; letter-spacing: .06em; }
.codi-portrait { align-self: end; justify-self: center; width: min(39rem,100%); max-height: calc(100svh - 5.4rem); object-fit: contain; object-position: center bottom; filter: drop-shadow(0 24px 48px rgba(0,0,0,.56)) sepia(.12); }

.site-footer { padding: 1.4rem clamp(1.25rem, 4vw, 4rem) 5rem; border-top: 1px solid rgba(216,162,88,.18); color: #8f816e; font: .72rem/1.5 Arial, sans-serif; }
.site-footer div { width: min(76rem, 100%); margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: #b49a76; }

@media (max-width: 850px) {
  .site-header { min-height: 4.3rem; }
  .top-nav a:not(.keep) { display: none; }
  .home { align-content: start; padding-top: 1rem; }
  .home-art { position: relative; height: auto; width: min(100%, 46rem); margin: auto; }
  .home::after { box-shadow: inset 0 0 15vw rgba(0,0,0,.55); }
  .path-choice { position: absolute; top: auto; bottom: 11vh; transform: none; min-width: 0; width: calc(50% - 1.2rem); padding: .85rem .45rem; font-size: .7rem; }
  .path-choice:hover { transform: translateY(-2px); }
  .path-private { left: .8rem; }
  .path-resolution { right: .8rem; }
  .hero { min-height: auto; padding-top: 8.5rem; padding-bottom: 5rem; }
  .hero::after, .hero.right-copy::after { background: linear-gradient(90deg, rgba(5,3,2,.96), rgba(7,4,3,.76) 65%, rgba(5,3,2,.5)); }
  .intro-grid { grid-template-columns: 1fr; }
  .qualities-grid { grid-template-columns: 1fr; }
  .quality-card-wide { grid-column: auto; }
  .service-sections { grid-template-columns: 1fr; }
  .service-section-wide { grid-column: auto; }
  .contact-choice-grid { grid-template-columns: 1fr; }
  .codi-shell { grid-template-columns: 1fr; align-items: end; padding-top: 5rem; }
  .codi-copy { padding: 3.5rem 0 0; }
  .codi-portrait { width: min(28rem,90vw); max-height: 52svh; }
}

@media (max-width: 560px) {
  .home { min-height: 100svh; display: block; }
  .home-art { margin-top: 8vh; }
  .path-choice { bottom: 15vh; }
  .cookie-note { position: static; width: 100%; max-width: none; justify-content: space-between; border-width: 1px 0 0; box-shadow: none; }
  h1 { font-size: clamp(2.8rem, 16vw, 4.5rem); }
  .lead { font-size: 1rem; line-height: 1.65; }
  .hero { background: #0b0806; }
  .hero::before { background-position: 63% center; opacity: .72; }
  .hero-content { width: 100%; }
  .profile-intro-with-seal { grid-template-columns: 1fr; }
  .profile-seal { width: min(13rem, 62vw); }
  .codi-secret span { display: none; }
  .codi-shell { width: min(100% - 2rem, 36rem); }
  .codi-copy { padding-top: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
