﻿@font-face {
  font-family: Manrope;
  src: url("manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #0b0b0c;
  --panel: #131315;
  --gold: #dfbd80;
  --light: #f7f0e3;
  --text: #c6beb1;
  --line: #40372b;
  --serif: Georgia, serif;
  font: 100%/1.65 Manrope, Arial, sans-serif;
  color: var(--text);
  background: var(--black);
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0 }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px }
[hidden] { display: none !important }
a { color: inherit; text-underline-offset: .24em }
.wrap { width: min(1160px, calc(100% - 4rem)); margin-inline: auto }
.header, .header nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem) }
.header { min-height: 5rem; justify-content: space-between; padding-block: .8rem }
.header a { text-decoration: none }
.header nav a:hover { color: var(--gold) }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font: 1.65rem/1 var(--serif);
  color: var(--light);
  white-space: nowrap;
}

.brand small { display: block; margin-top: .22rem; color: var(--gold); font: 600 .76rem/1.25 Manrope, sans-serif }
.monogram { display: grid; place-items: center; width: 2.55rem; height: 2.75rem; border: 1px solid #97774c; border-radius: 45% 45% 2px 2px; color: var(--gold) }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--black);
}

.hero-grid { min-height: clamp(560px, 48vw, 690px); display: grid; align-items: center }
.hero-copy { position: relative; z-index: 1; padding-block: 4.5rem; max-width: 37rem }
.label { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.35rem; color: var(--gold); font-size: .9rem; font-weight: 650 }
.label::before { content: ""; width: 1.75rem; height: 1px; background: currentColor }
h1, h2, h3, .practice-title { font: 400 1rem/1.1 var(--serif); color: var(--light); margin: 0 }
h1 { font-size: clamp(3.25rem, 6.4vw, 6.1rem); line-height: .99; letter-spacing: -.065em }
h1 em { color: var(--gold); font-weight: 400 }
h2 { font-size: clamp(2.4rem, 4.7vw, 4.3rem); letter-spacing: -.055em }
h3, .practice-title { font-size: clamp(1.4rem, 2.5vw, 1.86rem); letter-spacing: -.025em }
p { max-width: 55ch }
.intro { max-width: 37ch; font-size: clamp(1rem, 1.6vw, 1.15rem); margin-block: 1.55rem 1.8rem }

.portrait {
  position: absolute;
  inset: 0 max(0px, calc((100% - 1330px) / 2)) 0 auto;
  width: min(65%, 840px);
  margin: 0;
}

.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 38% }
.portrait::after {
  position: absolute;
  content: "";
  inset: 0;
  background:
    linear-gradient(90deg, var(--black), #0b0b0ce6 12%, #0b0b0c5e 35%, transparent 55%, transparent 82%, var(--black)),
    linear-gradient(0deg, var(--black), #0b0b0c00 31%, #0b0b0c00 88%, #0b0b0c75 100%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .65rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 5px;
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  font: 750 .92rem/1.4 Manrope, sans-serif;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.button:hover { background: #f1d49f; border-color: #f1d49f }
.outline { background: transparent; color: var(--gold); border-color: #8a704d }
.outline:hover { background: #30251a; border-color: var(--gold) }

.section { padding-block: clamp(3.25rem, 8vw, 7rem); scroll-margin-top: 1rem }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.5rem }
.section-heading p { margin: 0 }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 0; padding: 0 }
.practices { align-items: start }
.practice {
  --delay: 0ms;
  background: linear-gradient(145deg, #1b1816, var(--panel) 52%);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .2s;
}
.practice:nth-child(2) { --delay: 65ms }
.practice:nth-child(3) { --delay: 130ms }
.practice:hover, .practice[open], .practice:focus-within { border-color: #ad8a5a }
.practice summary {
  display: grid;
  align-content: start;
  min-height: 10rem;
  gap: .6rem;
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1.5rem 2.8rem 1.35rem 1.5rem;
}
.practice summary::-webkit-details-marker { display: none }
.practice summary::after { content: "+"; position: absolute; top: 1.4rem; right: 1.15rem; color: var(--gold); font-size: 1.25rem; line-height: 1 }
.practice[open] summary::after { content: "−" }
.practice-body { margin: 0 1.5rem; padding-block: 1rem 1.4rem; border-top: 1px solid var(--line) }
.practice-body p { margin: 0 0 .55rem }
.practice-body a { color: var(--gold); font-weight: 650 }
.process { border-block: 1px solid var(--line); background: var(--panel) }
.process ol { gap: 1.5rem; list-style-position: inside }
.process li { padding: 1.1rem 0 0; border-top: 1px solid var(--line) }
.process li::marker { color: var(--gold); font-weight: 700 }
.process h3 { display: inline }
.process p { margin-bottom: 0 }

.contact { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1.65rem clamp(2rem, 6vw, 6rem) }
.contact > div > p { margin-bottom: 0 }
form { display: grid; gap: .7rem; padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 8px; background: var(--panel) }
label { color: var(--light); font-weight: 650 }
select { width: 100%; padding: .73rem; background: #0e0e10; color: var(--light); font: inherit; border: 1px solid #71634e; border-radius: 4px }
form > .button { justify-self: start; margin-top: .4rem }
#preview { border-left: 2px solid #8a704d; padding-inline: 1rem; margin-top: .5rem }
#preview p:first-child { margin-top: 0; color: var(--gold); font-size: .9rem }
footer { border-top: 1px solid var(--line); padding-block: 1.5rem }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem }
footer strong { color: var(--light) }
footer p { margin: 0; font-size: .875rem }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: focus-copy 750ms ease-out both }
  .hero-copy:focus-within { animation: none }
  .portrait img { animation: focus-portrait 1100ms ease-out both }
  .practice.arrived:not(:focus-within) { animation: arrive 430ms cubic-bezier(.22,.68,.38,1) var(--delay) both }
  .practice[open] .practice-body { animation: arrive 240ms ease-out }
}

@keyframes focus-copy {
  from { opacity: .25; filter: blur(8px); transform: translateY(6px) }
  to { opacity: 1; filter: blur(0); transform: translateY(0) }
}
@keyframes focus-portrait {
  from { opacity: .4; filter: blur(15px); transform: scale(1.025) }
  to { opacity: 1; filter: blur(0); transform: scale(1) }
}
@keyframes arrive {
  from { opacity: .72; transform: translateY(7px) }
  to { opacity: 1; transform: translateY(0) }
}

@media (max-width: 860px) {
  .hero-copy { max-width: 28rem }
  .wrap { width: calc(100% - 3rem) }
  .practice summary { min-height: 12.5rem; padding-left: 1rem }
  .practice-body { margin-inline: 1rem }
}

@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem) }
  .header { flex-wrap: wrap; row-gap: .65rem }
  .header nav { order: 3; width: 100%; gap: 1.3rem; font-size: .9rem }
  .hero-grid { min-height: 0 }
  .hero-copy { padding-block: 2.65rem 0 }
  h1 { font-size: clamp(2.8rem, 11vw, 4.5rem) }
  .portrait { position: relative; inset: auto; margin: -.45rem -1rem 0; width: auto; height: clamp(255px, 77vw, 460px) }
  .portrait img { object-position: center 36% }
  .portrait::after {
    background: linear-gradient(180deg, var(--black) 0%, #0b0b0c00 26%, #0b0b0c00 66%, var(--black) 100%),
      linear-gradient(90deg, #0e0d1085, transparent 22%, transparent 83%, #0e0d1080);
  }
  .grid, .contact { grid-template-columns: 1fr }
  .practice { --delay: 0ms !important }
  .practice summary { min-height: 0 }
}

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