/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Syne";
  src: url("../fonts/syne.woff2") format("woff2-variations"), url("../fonts/syne.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2-variations"), url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #13161D;
  --card: #1A1E27;
  --line: #2A303C;
  --line-2: #323949;
  --text: #ECEFF4;
  --muted: #8891A5;     /* small print */
  --muted-2: #A3ABBD;   /* secondary body */
  --hero: #1E3A34;      /* name tile; try #232D4A navy or #3A2B29 oxblood */

  /* one soft color per section */
  --sage: #7CC4AB;      /* writing */
  --sand: #D6BE7A;      /* consulting */
  --peri: #9AAEE8;      /* projects */
  --terra: #E0A08A;     /* contact */

  --display: "Syne", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-lg: 28px;
  --r-md: 20px;
  --gap: 16px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: min(100% - 48px, 1120px); margin: 0 auto; padding-top: 24px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--text); color: var(--bg); padding: .6rem 1rem; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 1rem; }

.small { font-size: 14px; }
.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot--ink { background: var(--text); }
.dot--sage { background: var(--sage); }
.dot--sand { background: var(--sand); }
.dot--peri { background: var(--peri); }
.dot--terra { background: var(--terra); }

/* ---------- Header ---------- */
.bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 10px 10px 10px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 999px;
}
.mark { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 600; }
.nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--muted-2); text-decoration: none; transition: background-color .15s, color .15s; }
.nav a:hover { color: var(--text); background: #222733; }
.nav .ext { width: 14px; height: 14px; margin-left: -2px; }
.nav a.nav__cta { background: var(--terra); color: var(--bg); padding: 0 18px; }
.nav a.nav__cta:hover { background: #EBB4A1; color: var(--bg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: #FFFFFF; }
.btn--ghost { border-color: rgba(236,239,244,.3); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--outline { border-color: #3A4152; color: var(--text); }
.btn--outline:hover { border-color: var(--text); }
.btn--sand { border-color: var(--sand); color: var(--sand); }
.btn--sand:hover { background: rgba(214,190,122,.1); border-color: var(--sand); }
.btn--terra { background: var(--terra); color: var(--bg); }
.btn--terra:hover { background: #EBB4A1; }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Intro grid ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 20px; }
.b-name { grid-column: span 3; grid-row: span 2; }
.b-photo { grid-column: span 1; grid-row: span 2; }
.b-now { grid-column: span 2; }
.b-feat { grid-column: span 2; grid-row: span 2; }
.b-sm { grid-column: span 1; }

.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; min-width: 0; }
.tile--split { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.tile__label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-family: var(--display); font-weight: 700; font-size: 18px; }
.tile__label--sand { font-family: var(--body); font-size: 14px; color: var(--sand); margin: 0; }
.tile--sand { background: rgba(214,190,122,.08); border-color: rgba(214,190,122,.28); }
.tile--sage { background: rgba(124,196,171,.07); border-color: rgba(124,196,171,.28); }

.tile--hero {
  background: var(--hero); border-color: rgba(255,255,255,.06);
  padding: clamp(32px, 5vw, 56px); min-height: 440px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.hero__title {
  font-family: var(--display); font-weight: 800; color: #F2F6F4;
  font-size: clamp(56px, 7.6vw, 104px); line-height: .92; letter-spacing: -.035em;
}
.hero__lede { max-width: 34em; font-size: 20px; line-height: 1.5; color: #D3E2DC; }

.tile--photo { position: relative; padding: 0; overflow: hidden; display: grid; place-items: center; min-height: 260px; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.monogram { font-family: var(--display); font-weight: 800; font-size: 64px; letter-spacing: -.03em; color: #2C3240; }

.now__text { font-size: 18px; line-height: 1.5; margin-bottom: 12px; }

.feature { display: flex; flex-direction: column; gap: 14px; padding: 14px 14px 24px; text-decoration: none; transition: border-color .15s; }
.feature:hover { border-color: rgba(124,196,171,.6); }
.feature__img {
  flex: 1 1 auto; min-height: 160px; border-radius: 18px; overflow: hidden; position: relative;
  background: rgba(124,196,171,.12); display: grid; place-items: center;
}
.feature__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__mark { font-family: var(--display); font-weight: 800; font-size: 28px; color: rgba(124,196,171,.55); }
.feature__body { display: flex; flex-direction: column; gap: 4px; padding: 0 10px; }
.feature__meta { font-size: 14px; font-weight: 700; color: var(--sage); }
.feature__title { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.2; }
.feature:hover .feature__title { text-decoration: underline; text-decoration-thickness: 1.5px; }

.clock { display: block; font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.avail { font-size: 16px; line-height: 1.45; }
.avail a { color: var(--sand); font-weight: 700; }

/* ---------- Section cards ---------- */
.card { margin-top: var(--gap); padding: clamp(28px, 4vw, 44px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card--row { display: flex; flex-wrap: wrap; gap: 20px 48px; }
.card--row > :first-child { flex: 0 1 220px; }
.card--row > :last-child { flex: 1 1 460px; }
.card__body { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.card--sand { border-top: 3px solid var(--sand); }
.card--sage { border-top: 3px solid var(--sage); }
.card--peri { border-top: 3px solid var(--peri); }
.card--terra { background: rgba(224,160,138,.06); border-color: rgba(224,160,138,.28); }
.card__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 40px; margin-bottom: 28px; }
.card__head > p { max-width: 34em; }
.card__head--tight { align-items: baseline; margin-bottom: 8px; }

.h2 { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; letter-spacing: -.01em; }
.h2--big { font-weight: 800; font-size: clamp(36px, 4vw, 48px); letter-spacing: -.02em; margin-bottom: 12px; }
.lead { font-size: 19px; line-height: 1.55; }
.card__body strong { color: var(--text); }
.card__body .btn { margin-top: 8px; }

.services { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.service { padding: 24px; background: rgba(214,190,122,.06); border: 1px solid rgba(214,190,122,.2); border-radius: var(--r-md); }
.service h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.service p { color: var(--muted-2); font-size: 16px; }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.pair > .card { margin-top: var(--gap); }
.more { font-size: 15px; font-weight: 700; }
.more--sage { color: var(--sage); }
.more--peri { color: var(--peri); }
.more--below { display: inline-block; margin-top: 16px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { border-top: 1px solid var(--line); }
.rows a { display: block; padding: 16px 0; text-decoration: none; }
.rows a:hover .row__title { text-decoration: underline; text-decoration-thickness: 1.5px; }
.row__title { display: block; font-weight: 700; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.row__desc { display: block; color: var(--muted-2); font-size: 16px; }
.row__meta { font-size: 14px; color: var(--muted); }
.empty { color: var(--muted-2); padding-top: 12px; border-top: 1px solid var(--line); }
.skeleton { height: 64px; margin: 8px 0; border-radius: 12px; background: #222733; border: 0 !important; }

/* ---------- Contact ---------- */
.email { color: var(--terra); font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
#contact > :first-child { flex: 1 1 320px; }
#contact .muted-2 { margin-bottom: 12px; }
#contact .btn--terra[data-booking] { margin-top: 20px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; align-content: start; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--muted-2); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted-2) 50%), linear-gradient(135deg, var(--muted-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(224,160,138,.25); }
.field [aria-invalid="true"] { border-color: #F08C7A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.form__status { font-weight: 600; font-size: 15px; }

/* ---------- Footer ---------- */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px 8px 40px; font-size: 14px; color: var(--muted); }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.foot__links a { color: var(--muted); text-decoration: none; }
.foot__links a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-name, .b-now, .b-feat { grid-column: span 2; }
  .b-name { grid-row: auto; }
  .b-photo { grid-column: span 2; grid-row: auto; min-height: 320px; }
  .b-feat { grid-row: auto; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .pair { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 24px, 1120px); padding-top: 12px; }
  .bar { border-radius: 24px; padding: 10px 12px; }
  .nav { gap: 2px; font-size: 14px; }
  .nav a { padding: 0 10px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .b-name, .b-photo, .b-now, .b-feat, .b-sm { grid-column: auto; }
  .tile--hero { min-height: 0; }
  .b-photo { min-height: 260px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .card--row > *, #contact > :first-child { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Confidentiality note under the services */
.note { display: flex; gap: 12px; align-items: flex-start; max-width: 46em; margin: 0 0 24px; font-size: 15px; line-height: 1.6; color: var(--muted-2); }
.note svg { width: 18px; height: 18px; margin-top: 3px; color: var(--sand); }
.note strong { color: var(--text); }
