/* House of Hayvn. Layout concept: a Mayfair townhouse in racing green and brass.
   Ceremonial centred opener, then left-aligned editorial rooms divided by fine gold rules.
   Single committed dark look. */
:root {
  --bg: #1B3A2D;
  --glow: #2B5A44;
  --surface: #20443A;
  --fg: #F3EEE2;
  --muted: #B6C2B8;
  --gold: #CDAE62;
  --gold-hi: #E4CB7F;
  --gold-lo: #B48F3E;
  --ink: #17301F;
  --line: rgba(205, 174, 98, 0.30);
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Palatino Linotype", Georgia, serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.78rem;
  --step-0: 1.02rem;
  --step-1: 1.55rem;
  --step-2: clamp(2rem, 1.3rem + 2.6vw, 3.2rem);
  --step-3: clamp(2.6rem, 1.3rem + 5.5vw, 5.2rem);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 70% 40% at 50% 0%, var(--glow), transparent 70%);
  background-repeat: no-repeat;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.8;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .6rem 1rem; z-index: 20; }
.skip:focus { left: 16px; }

.eyebrow { font-size: var(--step--1); font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }

/* Header */
header.site { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.4rem; position: relative; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand span { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
nav.main { display: flex; gap: 1.9rem; align-items: center; }
nav.main a { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: var(--muted); transition: color .25s; padding-block: .4rem; border-bottom: 1px solid transparent; }
nav.main a:hover { color: var(--gold-hi); }
nav.main a[aria-current="page"] { color: var(--gold-hi); border-bottom-color: var(--gold); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--fg); font: inherit; font-size: var(--step--1); letter-spacing: .2em; text-transform: uppercase; padding: .65rem 1.1rem; border-radius: 999px; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; padding: 1.05rem 2.6rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; cursor: pointer; font-family: inherit;
  color: var(--ink); background: linear-gradient(135deg, var(--gold-hi), var(--gold-lo));
  border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: transparent; color: var(--gold-hi); border-color: var(--gold); }
.btn.ghost { background: transparent; color: var(--gold-hi); border-color: var(--gold); }
.btn.ghost:hover { background: var(--gold); color: var(--ink); }
.btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }

/* Opener */
.hero { text-align: center; padding-block: clamp(2.5rem, 8vw, 5.5rem) clamp(4rem, 10vw, 7rem); display: flex; flex-direction: column; align-items: center; }
.hero .mark { width: clamp(150px, 26vw, 210px); height: auto; }
.wordmark { margin-top: 1.1rem; font-size: 0.95rem; font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); padding-left: 0.42em; }
.tagline { margin-top: 0.4rem; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); opacity: .85; padding-left: 0.4em; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); line-height: 1.08; margin: clamp(2.5rem, 6vw, 4.2rem) 0 0; max-width: 15ch; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--gold-hi); }
.hero .sub { margin: 1.75rem 0 0; max-width: 33rem; color: var(--muted); font-size: 1.08rem; }
.hero .btns { justify-content: center; }

/* Inner page opener */
.page-head { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4.5rem); }
.crumb { font-size: var(--step--1); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.crumb:hover { color: var(--gold-hi); }
.page-head h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); line-height: 1.06; margin: 1.1rem 0 0; max-width: 16ch; text-wrap: balance; }
.page-head h1 em { font-style: italic; color: var(--gold-hi); }
.page-head .sub { margin: 1.6rem 0 0; max-width: 36rem; color: var(--muted); font-size: 1.1rem; }

/* Sections */
section.s { border-top: 1px solid var(--line); padding-block: clamp(3.2rem, 8vw, 6rem); }
h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); line-height: 1.15; margin: 1rem 0 0; text-wrap: balance; }
h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); line-height: 1.25; margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.prose p { margin: 0 0 1.3rem; max-width: 37rem; }
.prose p.muted, .muted { color: var(--muted); }
.lead { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.4; font-weight: 400; max-width: 32rem; margin: 0 0 1.6rem; }
.pull { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 1rem + 1.3vw, 2rem); line-height: 1.35; color: var(--gold-hi); max-width: 34rem; margin: 2rem 0; padding-left: 1.4rem; border-left: 1px solid var(--gold); }
.list { margin: 0 0 1.4rem; padding: 0; list-style: none; display: grid; gap: .55rem; max-width: 37rem; }
.list li { padding-left: 1.5rem; position: relative; color: var(--fg); }
.list li::before { content: ""; position: absolute; left: 0; top: .85em; width: .7rem; height: 1px; background: var(--gold); }

/* Cards (rooms) */
.rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(2.2rem, 5vw, 3.5rem); }
.room { background: var(--bg); padding: 2.1rem 1.9rem 2.3rem; display: flex; flex-direction: column; gap: .75rem; min-width: 0; transition: background .3s; text-decoration: none; }
a.room:hover { background: var(--surface); }
.room .where { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.room p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.room .more { margin-top: auto; padding-top: 1rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); }
.status { align-self: flex-start; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* Rows (framework, values, steps) */
.rows { border-top: 1px solid var(--line); margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.row { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: .6rem 2.5rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 1.45rem; }
.row .q { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.row p { margin: 0; color: var(--muted); max-width: 40rem; }

/* People */
.person { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.person.flip { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); }
.person.flip .photo { order: 2; }
.photo { margin: 0; border: 1px solid var(--line); padding: .6rem; }
.photo img { width: 100%; height: auto; }
.photo figcaption { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); padding: .8rem .3rem .2rem; }
.role { font-size: var(--step--1); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: .8rem 0 1.8rem; }
.person h2 { margin-top: 0; }
.together { margin: 0 0 clamp(2rem, 5vw, 3.5rem); border: 1px solid var(--line); padding: .6rem; }
.together { max-width: 820px; } .together img { width: 100%; height: auto; }

/* Glasses */
.glasses { width: 100%; max-width: 640px; height: auto; display: block; margin: 2rem 0 0; }
.glasses text { font-family: var(--font-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; fill: var(--gold); text-anchor: middle; }

/* Form */
form.enquiry { display: grid; gap: 1.4rem; max-width: 34rem; }
.field { display: grid; gap: .5rem; }
label { font-size: var(--step--1); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--fg); background: rgba(0,0,0,.16); border: 1px solid var(--line); border-radius: 2px; padding: .9rem 1rem; width: 100%; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
select option { color: #111; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-hi); }
textarea { min-height: 9rem; resize: vertical; }
.email { font-family: var(--font-display); font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); color: var(--gold-hi); overflow-wrap: anywhere; user-select: all; margin: .6rem 0 0; }
.note { font-size: .86rem; color: var(--muted); max-width: 34rem; }
.safety { border: 1px solid var(--gold); padding: clamp(1.5rem, 4vw, 2.5rem); background: rgba(0,0,0,.14); }
.safety h2 { margin-top: 0; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2rem; }
.numbers > div { background: var(--bg); padding: 1.6rem 1.5rem; }
.numbers .n { font-family: var(--font-display); font-size: 2rem; color: var(--gold-hi); line-height: 1.1; }
.numbers .l { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.numbers p { margin: .4rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }

.cta { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta h2 { max-width: 20ch; }
.cta p { color: var(--muted); max-width: 32rem; margin: 1.4rem 0 0; }

footer.site { border-top: 1px solid var(--line); padding-block: 3rem 3rem; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
footer.site h4 { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; font-weight: 500; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
footer.site a { text-decoration: none; color: var(--muted); font-size: .92rem; }
footer.site a:hover { color: var(--gold-hi); }
footer.site .co { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 2; }
footer.site .co strong { color: var(--fg); font-weight: 500; }
.fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.6rem; font-size: .8rem; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 860px) {
  .split, .person, .person.flip { grid-template-columns: minmax(0, 1fr); }
  .person.flip .photo { order: 0; }
  .photo { max-width: 420px; }
  .row { grid-template-columns: minmax(0, 1fr); }
  footer.site { grid-template-columns: minmax(0, 1fr); }
  .menu-btn { display: inline-block; }
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 10; flex-direction: column; align-items: flex-start; gap: .4rem; padding: 1.4rem 1.2rem; background: var(--bg); border: 1px solid var(--line); }
  nav.main.open { display: flex; }
  nav.main a { font-size: .82rem; padding-block: .6rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 1s ease both; }
  .hero > *:nth-child(2) { animation-delay: .1s; }
  .hero > *:nth-child(3) { animation-delay: .18s; }
  .hero > *:nth-child(4) { animation-delay: .3s; }
  .hero > *:nth-child(5) { animation-delay: .42s; }
  .hero > *:nth-child(6) { animation-delay: .54s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
