/* =========================================================
   BukolaMajekodunmi.com — Stylesheet
   Palette drawn from the brand photography:
   soft studio grey, blush and powder blue on warm ivory.
   ========================================================= */

:root {
  --ivory: #f8f5f0;
  --paper: #fffdfa;
  --mist: #e9ecea;
  --stone: #c9d0ce;
  --blush: #e8c7bc;
  --blush-deep: #b9786a;
  --powder: #cdd9e3;
  --ink: #1f252b;
  --ink-soft: #3b444d;
  --muted: #69727b;
  --line: #dcd6cd;

  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max: 1180px;
  --text: 680px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 11vw, 140px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.75;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(44px, 6.4vw, 88px); }
h2 { font-size: clamp(34px, 4.2vw, 56px); }
h3 { font-size: clamp(26px, 2.6vw, 36px); }
h4 { font-size: clamp(21px, 1.8vw, 26px); }

p { margin: 0 0 1.25em; }

.skip-link {
  position: absolute; left: -999px; top: 12px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 12px; }

:focus-visible { outline: 2px solid var(--blush-deep); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(var(--text) + 2 * var(--gutter)); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--blush-deep);
  margin-bottom: 22px;
}

.lead { font-size: clamp(18px, 1.3vw + 10px, 22px); color: var(--ink-soft); }

.statement {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.3;
  color: var(--ink);
  margin: 1.4em 0;
}

.rule { width: 56px; height: 1px; background: var(--blush-deep); border: 0; margin: 0 0 28px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 240, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 24px;
}

.brand {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .01em;
  white-space: nowrap;
}

.nav-list { list-style: none; display: flex; gap: clamp(16px, 2vw, 32px); margin: 0; padding: 0; }
.nav-list a {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft); font-weight: 400;
  padding: 8px 0; position: relative; white-space: nowrap;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--blush-deep); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--ink); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 84px 0 0 0; background: var(--ivory);
    padding: 32px var(--gutter);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    overflow-y: auto;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 28px; padding: 16px 0; color: var(--ink); }
  .nav-list a::after { display: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding: 18px 34px; border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: #fff; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section--paper { background: var(--paper); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #d9dde0; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .eyebrow { color: var(--blush); }
.section--ink .btn { background: #fff; color: var(--ink); border-color: #fff; }
.section--ink .btn:hover { background: transparent; color: #fff; }

.page-header { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-header h1 { max-width: 14ch; }
.page-header .lead { max-width: 40ch; margin-top: 12px; }

/* ---------- Hero ---------- */

.hero { padding: clamp(40px, 6vw, 80px) 0 var(--section); }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero .role {
  font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 36px; font-weight: 400;
}
.hero .tagline {
  font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 40px);
  color: var(--blush-deep); margin-bottom: 28px; line-height: 1.2;
}
.hero .intro { max-width: 48ch; margin-bottom: 40px; }

.portrait-frame { position: relative; }
.portrait-frame::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px;
  border: 1px solid var(--blush); z-index: 0;
}
.portrait-frame picture, .portrait-frame img { position: relative; z-index: 1; width: 100%; }
.portrait-frame img { aspect-ratio: 682 / 1024; object-fit: cover; }

@media (max-width: 860px) {
  .portrait-frame { max-width: 440px; margin-right: 28px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .portrait-frame { max-width: 440px; margin-right: 28px; order: -1; }
}

/* ---------- Pathways ---------- */

.pathways { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pathway {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 44px 36px 40px; text-decoration: none; border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
  min-height: 300px;
}
.pathway:last-child { border-right: 0; }
.pathway:hover { background: var(--paper); }
.pathway .num { font-family: var(--serif); font-size: 18px; color: var(--blush-deep); }
.pathway h3 { margin: 0 0 12px; }
.pathway p { margin: 0; color: var(--muted); font-size: 16px; }
.pathway .go { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); display: inline-flex; gap: 10px; }
.pathway:hover .go .arrow { transform: translateX(6px); }
.pathway .arrow { transition: transform .3s var(--ease); }

@media (max-width: 860px) {
  .pathways { grid-template-columns: 1fr; }
  .pathway { border-right: 0; min-height: 0; padding: 36px 4px; }
}

/* ---------- Case studies ---------- */

.case-study {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 96px);
  padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line);
}
.case-study:first-of-type { border-top: 0; padding-top: 0; }
.case-label { position: sticky; top: 120px; align-self: start; }
.case-label .case-num { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--blush); display: block; margin-bottom: 12px; }
.case-label h3 { font-size: clamp(26px, 2.4vw, 32px); }
.case-body { max-width: var(--text); }
.case-body .conclusion {
  font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.35; color: var(--ink); border-left: 1px solid var(--blush-deep);
  padding-left: 24px; margin-top: 2em;
}
.section--ink .case-body .conclusion { color: #fff; border-color: var(--blush); }

@media (max-width: 860px) {
  .case-study { grid-template-columns: 1fr; }
  .case-label { position: static; }
  .case-label .case-num { font-size: 48px; }
}

/* ---------- Two column content ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.split--wide-text { grid-template-columns: .8fr 1.2fr; }
.split .sticky { position: sticky; top: 120px; }
@media (max-width: 860px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split .sticky { position: static; }
}

.bio p { max-width: var(--text); }
.bio .pause { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.35; color: var(--ink); margin: 1.2em 0; }

/* ---------- Services ---------- */

.service {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px);
  padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line);
}
.service:first-child { border-top: 0; }
.service .question { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); color: var(--blush-deep); line-height: 1.3; }
.service .kicker { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); color: var(--ink); line-height: 1.35; margin: 1.4em 0; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } }

.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-list li { background: var(--ivory); padding: 36px 32px; }
.service-list h3 { font-size: clamp(24px, 2vw, 30px); }
.service-list p { font-size: 16px; }
@media (max-width: 960px) { .service-list { grid-template-columns: 1fr; } }

/* ---------- Buy / Sell ---------- */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.duo > article { background: var(--paper); padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; }
.duo > article .btn-row { margin-top: auto; padding-top: 16px; }
.duo .opener { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.35; color: var(--ink); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Portfolio ---------- */

.portfolio { display: grid; gap: clamp(48px, 7vw, 88px); }
.project { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.project figure { margin: 0; position: relative; }
.project figcaption.tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 10px; color: var(--ink);
}
.project .caption { grid-column: 1 / -1; max-width: var(--text); padding-top: 12px; }
.project .caption h3 { font-size: clamp(24px, 2vw, 30px); margin-bottom: 8px; }
.placeholder-img {
  aspect-ratio: 4 / 3; width: 100%;
  background: linear-gradient(135deg, var(--mist), var(--powder) 60%, var(--blush));
  display: grid; place-items: center; color: var(--ink-soft);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-align: center; padding: 16px;
}
@media (max-width: 600px) { .project { grid-template-columns: 1fr; } }

/* ---------- Stay cards ---------- */

.stay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stay-card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.stay-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(31,37,43,.35); }
.stay-card .placeholder-img { aspect-ratio: 4 / 3; }
.stay-card .body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.stay-card h3 { font-size: 28px; margin-bottom: 4px; }
.stay-card .meta { font-size: 14px; color: var(--muted); letter-spacing: .04em; margin-bottom: 24px; }
.stay-card .btn { margin-top: auto; align-self: flex-start; padding: 14px 24px; }
@media (max-width: 960px) { .stay-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .stay-grid { grid-template-columns: 1fr; } }

/* ---------- Feature band ---------- */

.feature-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
@media (max-width: 860px) { .feature-band { grid-template-columns: 1fr; } .feature-band .portrait-frame { max-width: 420px; margin-right: 28px; } }

/* ---------- Invitation / CTA ---------- */

.invitation { text-align: center; }
.invitation h2 { font-style: italic; font-weight: 400; margin-bottom: 36px; }

/* ---------- Contact form ---------- */

.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.field .opt { color: var(--muted); letter-spacing: .04em; text-transform: none; font-weight: 350; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231f252b' stroke-width='1.3'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(185,120,106,.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; }
.field .error { font-size: 14px; color: #b3261e; display: none; }
.field.invalid .error { display: block; }
.conditional { display: none; }
.conditional.show { display: grid; animation: fadeIn .35s var(--ease); }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { padding: 18px 20px; border: 1px solid var(--line); background: var(--paper); display: none; }
.form-status.show { display: block; }
.form-status.success { border-color: #6d8f7a; }
.form-status.error { border-color: #b3261e; }
.btn[disabled] { opacity: .6; cursor: wait; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #aeb5bb; padding: 80px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.site-footer .brand { color: #fff; font-size: 30px; }
.site-footer .footer-tag { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--blush); margin-top: 8px; }
.footer-nav { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.footer-nav a { text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 56px; padding-top: 24px; font-size: 13px; letter-spacing: .04em; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .btn { display: none !important; }
  body { background: #fff; }
}

/* =========================================================
   BOLD THEME — deep emerald, blush and terracotta
   (overrides the soft palette above)
   ========================================================= */
:root {
  --ivory: #faf6f0;
  --paper: #fffcf8;
  --mist: #f3dcd3;          /* blush band */
  --line: #e4d8cc;
  --blush: #f2cfc2;
  --blush-deep: #b5613f;    /* terracotta accent */
  --brand: #1f4e48;         /* deep emerald */
  --brand-deep: #143833;
  --ink: #16302c;
  --ink-soft: #3a4a47;
  --muted: #62716d;
}

/* Header */
.site-header { background: rgba(250, 246, 240, .94); }
.brand { color: var(--brand); }
.nav-list a[aria-current="page"] { color: var(--brand); font-weight: 500; }

/* Buttons */
.btn { background: var(--brand); border-color: var(--brand); }
.btn:hover { background: var(--blush-deep); border-color: var(--blush-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }

/* Hero: solid blush block behind the portrait */
.hero { background: linear-gradient(90deg, var(--ivory) 0 58%, var(--mist) 58% 100%); }
.portrait-frame::before { background: var(--blush-deep); border: 0; opacity: .9; }
@media (max-width: 860px) {
  .hero { background: linear-gradient(180deg, var(--mist) 0 38%, var(--ivory) 38% 100%); }
}
.hero .tagline { color: var(--blush-deep); }
.hero .role { color: var(--brand); }

/* Page headers get a colour band */
.page-header { background: var(--brand); color: #e7efec; margin-bottom: var(--section); }
.page-header h1 { color: #fff; }
.page-header .eyebrow { color: var(--blush); }
.page-header .lead { color: #d5e2de !important; }
.page-header .btn { background: #fff; color: var(--brand); border-color: #fff; }
.page-header .btn:hover { background: var(--blush-deep); color: #fff; border-color: var(--blush-deep); }
.page-header + .section { padding-top: 0; }

/* Pathways: colour blocks */
.pathways { border: 0; gap: 16px; }
.pathway { border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.pathway:nth-child(1) { background: var(--mist); }
.pathway:nth-child(2) { background: var(--brand); }
.pathway:nth-child(2) h3, .pathway:nth-child(2) .go { color: #fff; }
.pathway:nth-child(2) p { color: #cfe0db; }
.pathway:nth-child(2) .num { color: var(--blush); }
.pathway:nth-child(3) { background: #d9e5ec; }
.pathway { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pathway:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(20,56,51,.45); }
.pathway:nth-child(1):hover { background: var(--mist); }
.pathway:nth-child(2):hover { background: var(--brand); }
.pathway:nth-child(3):hover { background: #d9e5ec; }
@media (max-width: 860px) { .pathway { padding: 36px 28px; } }

/* Dark sections become emerald */
.section--ink { background: var(--brand-deep); }
.section--ink .btn:hover { background: var(--blush-deep); border-color: var(--blush-deep); color: #fff; }
.case-label .case-num { color: var(--blush-deep); }
.section--ink .case-label .case-num { color: var(--blush); }

/* Tinted panels */
.section--mist { background: var(--mist); }
.section--paper { background: #eef3f1; }
.service-list li { background: var(--paper); border-top: 3px solid var(--blush-deep); }
.duo > article:first-child { border-top: 4px solid var(--brand); }
.duo > article:last-child { border-top: 4px solid var(--blush-deep); }
.service .question { color: var(--blush-deep); }
.service .eyebrow { font-size: 14px; }

/* Invitation band */
.invitation { background: var(--mist); }
.invitation h2 { color: var(--brand); }

/* Cards and form */
.stay-card { border-top: 3px solid var(--brand); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,78,72,.18); }

/* Footer */
.site-footer { background: var(--brand-deep); color: #b9ccc7; }
.site-footer .brand { color: #fff; }
