/* Emerald Private Client
   Palette and type follow the V4 Emerald Brand Build guideline. */

:root {
  --reserve: #182619;      /* Private Reserve */
  --velvet: #15432D;       /* Velvet */
  --billiard: #0F563D;     /* Billiard Room */
  --midnight: #0E1810;
  --cognac: #976934;       /* Aged Cognac */
  --gilded: #B5843A;       /* Gilded Reserve */
  --champagne: #DBB95B;    /* Champagne Mist */
  --ivory: #EEEADE;
  --ivory-70: rgba(238, 234, 222, .72);
  --ivory-50: rgba(238, 234, 222, .52);
  --gold-line: rgba(181, 132, 58, .55);

  --serif-display: "Playfair Display", "Didot", "Bodoni 72", Georgia, serif;
  --serif-text: "Cormorant Garamond", "Garamond", Georgia, serif;
  --sans: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --script: "Pinyon Script", cursive;

  --gutter: clamp(24px, 5vw, 72px);
  --max: 1320px;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
}
body:has(dialog[open]) { overflow: hidden; }
body {
  background: var(--reserve);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
address { font-style: normal; }

::selection { background: var(--gilded); color: var(--reserve); }

:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; }

/* ---------- shared type ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gilded);
}
.eyebrow--dark { color: var(--cognac); }

.display {
  font-family: var(--serif-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .16em;
  line-height: 1.18;
  font-size: clamp(28px, 3.4vw, 46px);
  color: var(--reserve);
}
.display--light { color: var(--ivory); }

.amp {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gilded);
  padding: 0 .08em;
}

.script {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.muted { color: var(--ivory-50); }

/* Gold rule lines: the structural device from the guideline */
.rule-v {
  display: block;
  width: 1px;
  height: clamp(56px, 9vh, 96px);
  background: var(--gilded);
  margin-bottom: 36px;
}
.rule-h {
  display: block;
  width: 72px;
  height: 1px;
  background: var(--gilded);
}

.link-gold {
  color: var(--ivory);
  text-decoration: none;
  border-bottom: 1px solid var(--gilded);
  padding-bottom: 6px;
}
.link-gold:hover { color: var(--champagne); border-color: var(--champagne); }

/* ---------- masthead ---------- */

.masthead {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
}
.lockup { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.lockup__gem { width: 22px; height: 29px; fill: var(--ivory); opacity: .78; }
.lockup__word { width: 150px; height: auto; }

.masthead__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 10.5px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--ivory-70);
}
.masthead__meta i { width: 1px; height: 16px; background: var(--gold-line); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--midnight);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(14, 24, 16, .92) 0%, rgba(14, 24, 16, .62) 48%, rgba(14, 24, 16, .35) 100%),
    linear-gradient(0deg, rgba(14, 24, 16, .85) 0%, rgba(14, 24, 16, 0) 38%),
    url("/assets/velvet.jpg") center / cover no-repeat;
  transform-origin: 70% 40%;
  animation: settle 14s cubic-bezier(.2, .6, .2, 1) both;
}

.hero__watermark {
  position: absolute;
  z-index: -1;
  height: 128vh;
  width: calc(128vh * 191 / 252);
  right: -16vh;
  top: 50%;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--ivory);
  stroke-width: .45;
  opacity: .14;
}

.hero__inner {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 150px var(--gutter) 150px;
}

.hero__inner .eyebrow { margin-bottom: 30px; }

.hero__title {
  font-family: var(--serif-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .12em;
  line-height: 1.08;
  font-size: clamp(40px, 6.6vw, 96px);
  max-width: 12.5em;
  color: var(--ivory);
}

.hero__lede {
  margin-top: 30px;
  font-family: var(--serif-text);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.4;
  color: var(--ivory);
  max-width: 30em;
}

.hero__inner .rule-h { margin: 40px 0 34px; }

.hero__note {
  max-width: 34em;
  font-size: 15px;
  color: var(--ivory-70);
}

.hero__cta {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px 40px;
  font-size: 11.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.hero__phone { color: var(--ivory-50); letter-spacing: .28em; }

.hero__foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter) 34px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10.5px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--ivory-50);
}
.signature { letter-spacing: .3em; }
.signature .script {
  font-size: 24px;
  color: var(--champagne);
  padding: 0 .2em;
  vertical-align: -3px;
}

/* ---------- founders ---------- */

.founders {
  background: var(--ivory);
  color: var(--reserve);
  padding: clamp(96px, 13vw, 180px) var(--gutter);
}
.founders__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: center;
}

.founders__photo .frame {
  position: relative;
  background: var(--velvet);
  aspect-ratio: 760 / 1015;
}
.founders__photo .frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(238, 234, 222, .45);
  pointer-events: none;
}
.founders__photo img { width: 100%; height: 100%; object-fit: cover; }
.founders__photo figcaption {
  margin-top: 18px;
  font-size: 10.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(24, 38, 25, .6);
}

.founders__copy .eyebrow { margin-bottom: 26px; }
.founders__copy .rule-h { margin: 34px 0 34px; }
.founders__copy p:not(.eyebrow):not(.founders__sign) {
  font-family: var(--serif-text);
  font-weight: 400;
  font-size: clamp(19px, 1.55vw, 22px);
  line-height: 1.62;
  color: #26352a;
  max-width: 33em;
}
.founders__copy p + p { margin-top: 1.1em; }
.founders__sign {
  margin-top: 36px !important;
  font-size: 40px;
  line-height: 1;
  color: var(--cognac);
}

/* ---------- standard ---------- */

.standard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--reserve);
  padding: clamp(96px, 13vw, 180px) var(--gutter);
}
.standard__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--reserve) 0%, rgba(24, 38, 25, .86) 40%, var(--reserve) 100%),
    url("/assets/estate.jpg") center 35% / cover no-repeat;
  opacity: .9;
  mix-blend-mode: normal;
}
.standard__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--velvet);
  mix-blend-mode: color;
}

.standard__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(48px, 8vw, 128px);
}
.standard__head .eyebrow { margin-bottom: 26px; }
.standard__intro {
  margin-top: 30px;
  font-family: var(--serif-text);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ivory-70);
  max-width: 20em;
}

.commitments { list-style: none; padding: 0; border-top: 1px solid var(--gold-line); }
.commitments li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 24px;
  padding: 34px 0 36px;
  border-bottom: 1px solid rgba(181, 132, 58, .28);
}
.commitments .num {
  grid-row: span 2;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.2;
  color: var(--gilded);
}
.commitments h3 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 20px);
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.35;
}
.commitments p {
  margin-top: 12px;
  color: var(--ivory-70);
  max-width: 38em;
}

/* ---------- introduction ---------- */

.introduction {
  position: relative;
  background: var(--midnight);
  padding: clamp(96px, 12vw, 168px) var(--gutter) clamp(120px, 14vw, 200px);
  overflow: hidden;
}
.introduction__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: end;
}
.introduction .eyebrow { margin-bottom: 26px; }
.introduction__lede {
  margin-top: 30px;
  font-family: var(--serif-text);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--ivory-70);
  max-width: 24em;
}

.contact { border-left: 1px solid var(--gilded); padding-left: clamp(28px, 4vw, 56px); }
.contact div + div { margin-top: 30px; }
.contact dt {
  font-size: 10.5px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gilded);
  margin-bottom: 8px;
}
.contact dd {
  font-family: var(--serif-text);
  font-size: 21px;
  line-height: 1.45;
}
.contact dd .muted { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; }
.contact .link-gold { padding-bottom: 3px; }

.introduction__gem {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  width: 20px;
  height: 26px;
  fill: var(--gilded);
}

/* ---------- footer ---------- */

.footer {
  background: #0a110b;
  color: var(--ivory-50);
  padding: 72px var(--gutter) 40px;
  font-size: 12px;
  line-height: 1.75;
}
.footer__inner { max-width: var(--max); margin: 0 auto; }
.footer__brand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(181, 132, 58, .25);
}
.footer__brand img { width: 128px; height: auto; opacity: .85; }
.footer__brand p {
  font-family: var(--serif-text);
  font-style: italic;
  font-size: 17px;
  color: var(--ivory-70);
}
.footer__legal { padding: 36px 0; max-width: 78em; }
.footer__legal p + p { margin-top: 14px; }
.footer__legal a { color: var(--ivory-70); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(238, 234, 222, .08);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eho { display: flex; align-items: center; gap: 12px; }
.eho svg { width: 26px; height: 24px; fill: var(--ivory-70); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer__nav a { text-decoration: none; color: var(--ivory-70); }
.footer__nav a:hover { color: var(--champagne); }

/* ---------- introduction dialog ---------- */

.introduction__cta { margin-top: 40px; font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; }
.hero__phone { text-decoration: none; }

.intro-dialog {
  width: min(1040px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  background: var(--reserve);
  color: var(--ivory);
  overflow: auto;
}
.intro-dialog::backdrop { background: rgba(6, 10, 7, .93); }
.intro-dialog[open] { animation: rise .6s cubic-bezier(.2, .6, .2, 1) both; }

.intro-dialog__panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: 600px;
}

.intro-dialog__aside {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px 48px;
  background:
    linear-gradient(180deg, rgba(14, 24, 16, .35) 0%, rgba(14, 24, 16, .9) 100%),
    url("/assets/velvet.jpg") 30% center / cover no-repeat;
  border-right: 1px solid var(--gold-line);
}
.intro-dialog__aside-gem {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58%;
  aspect-ratio: 191 / 252;
  height: auto;
  transform: translate(-50%, -78%);
  fill: none;
  stroke: var(--ivory);
  stroke-width: .6;
  opacity: .16;
}
.intro-dialog__aside-copy { position: relative; }
.intro-dialog__aside .rule-h { margin-bottom: 24px; }
.intro-dialog__quote {
  font-family: var(--serif-text);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ivory);
}
.intro-dialog__sig {
  margin-top: 20px;
  font-size: 10.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gilded);
}
.intro-dialog__sig span { display: block; margin-top: 6px; color: var(--ivory-50); letter-spacing: .24em; }

.intro-dialog__body {
  position: relative;
  padding: 64px 56px 52px;
}
.intro-dialog__close {
  position: absolute;
  top: 20px;
  right: 22px;
  background: none;
  border: 0;
  padding: 6px 0;
  font: inherit;
  font-size: 10.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ivory-50);
  cursor: pointer;
}
.intro-dialog__close:hover { color: var(--champagne); }

.intro-dialog .eyebrow { margin-bottom: 20px; }
.intro-dialog__title {
  font-family: var(--serif-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .12em;
  line-height: 1.2;
  font-size: clamp(24px, 3vw, 32px);
}
.intro-dialog__lede {
  margin-top: 16px;
  font-family: var(--serif-text);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ivory-70);
}
.intro-dialog__lede a { color: var(--ivory); white-space: nowrap; }

.intro-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 40px;
}
.field { display: block; }
.field span {
  display: block;
  font-size: 10.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gilded);
}
.field input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px 0 10px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(238, 234, 222, .28);
  border-radius: 0;
  color: var(--ivory);
  font-family: var(--serif-text);
  font-size: 21px;
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus { outline: none; border-bottom-color: var(--champagne); }
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--ivory);
  -webkit-box-shadow: 0 0 0 40px var(--reserve) inset;
  caret-color: var(--ivory);
}
.field--error span { color: #d9a07a; }
.field--error input { border-bottom-color: #d9a07a; }

.intro-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.intro-form__consent {
  margin-top: 32px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ivory-50);
}
.intro-form__consent a { color: var(--ivory-70); }

.intro-form__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.intro-form__status { font-size: 13px; color: var(--ivory-70); }

.button-gold {
  background: transparent;
  border: 1px solid var(--gilded);
  border-radius: 0;
  color: var(--ivory);
  padding: 16px 30px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  cursor: pointer;
}
.button-gold:hover { background: var(--gilded); color: var(--reserve); }
.button-gold:disabled { opacity: .5; cursor: default; }

.intro-thanks .button-gold { margin-top: 36px; }
.intro-thanks__gem { width: 22px; height: 29px; fill: var(--gilded); margin-bottom: 28px; }

@media (max-width: 860px) {
  .intro-dialog { width: min(680px, calc(100vw - 32px)); }
  .intro-dialog__panel { display: block; min-height: 0; }
  .intro-dialog__aside { display: none; }
  .intro-dialog__body { margin: 12px; border: 1px solid var(--gold-line); padding: 64px clamp(24px, 6vw, 56px) 48px; }
}

@media (max-width: 640px) {
  .intro-form__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .intro-dialog__body { margin: 8px; border: 1px solid var(--gold-line); padding: 64px 24px 36px; }
  .button-gold { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-dialog[open] { animation: none; }
}

/* ---------- legal pages ---------- */

.legal-page .masthead { position: relative; }
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px var(--gutter) 120px;
}
.legal .eyebrow { margin-bottom: 22px; }
.legal h1 {
  font-family: var(--serif-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}
.legal .updated { margin: 18px 0 48px; color: var(--ivory-50); font-size: 13px; }
.legal h2 {
  margin: 48px 0 14px;
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--champagne);
}
.legal p, .legal li { color: var(--ivory-70); font-size: 15px; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 1.2em; margin: 14px 0 0; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--ivory); }

/* ---------- motion ---------- */

@keyframes settle {
  from { transform: scale(1.08); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.reveal { animation: rise 1.4s cubic-bezier(.2, .6, .2, 1) both; }
.hero__inner .reveal:nth-child(1) { animation-delay: .35s; }
.hero__inner .reveal:nth-child(2) { animation-delay: .5s; }
.hero__inner .reveal:nth-child(3) { animation-delay: .65s; }
.hero__inner .reveal:nth-child(4) { animation-delay: .85s; }
.hero__inner .reveal:nth-child(5) { animation-delay: 1s; }
.hero__inner .reveal:nth-child(6) { animation-delay: 1.1s; }
.hero__inner .reveal:nth-child(7) { animation-delay: 1.25s; }
.hero__foot.reveal { animation-delay: 1.6s; }

@media (prefers-reduced-motion: reduce) {
  .hero__bg, .reveal { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .founders__grid,
  .standard__inner,
  .introduction__grid { grid-template-columns: minmax(0, 1fr); }
  .founders__photo { max-width: 520px; }
  .introduction__grid { align-items: start; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .masthead { padding-top: 26px; padding-bottom: 26px; }
  .masthead__meta { display: none; }
  .lockup__word { width: 128px; }
  .hero__inner { padding-top: 132px; padding-bottom: 140px; }
  .hero__title { letter-spacing: .08em; }
  .hero__watermark {
    height: min(86vh, 118vw);
    width: calc(min(86vh, 118vw) * 191 / 252);
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    stroke-width: 1;
    opacity: .16;
  }
  .hero__foot { flex-direction: column; gap: 6px; align-items: flex-start; }
  .commitments li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
}
