:root {
  --ink: #07111f;
  --ink-soft: #122138;
  --paper: #f5f4ef;
  --white: #ffffff;
  --gold: #d7ae72;
  --gold-deep: #a97b3d;
  --rose: #d48b82;
  --teal: #4b8d8b;
  --line: rgba(7, 17, 31, .13);
  --muted: #637083;
  --shadow: 0 24px 70px rgba(7, 17, 31, .13);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; background: var(--white); color: var(--ink); padding: .8rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.brand img { display: block; width: clamp(160px, 18vw, 255px); height: auto; }
.brand { min-width: 0; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.phone-link { color: rgba(255,255,255,.88); text-decoration: none; font-weight: 650; font-size: .95rem; }
.header-cta { color: var(--ink); background: var(--white); text-decoration: none; padding: .68rem 1rem; border-radius: 999px; font-weight: 750; font-size: .92rem; }

.hero {
  position: relative;
  min-height: 880px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-picture { display: contents; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,10,20,.96) 0%, rgba(3,10,20,.78) 46%, rgba(3,10,20,.34) 100%), linear-gradient(0deg, rgba(3,10,20,.78), transparent 52%); }
.hero-shell { position: relative; z-index: 1; width: min(1500px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: 8rem clamp(1.25rem, 5vw, 5rem) 4rem; }
.hero-content { min-width: 0; }
.eyebrow { margin: 0 0 1rem; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 850; }
.eyebrow.dark { color: var(--gold-deep); }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.5rem, 6.2vw, 6.5rem); line-height: .94; letter-spacing: -.055em; font-weight: 500; }
.hero h1 span { color: var(--gold); }
.hero-copy { max-width: 620px; margin: 1.75rem 0 2rem; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.primary-button, .submit-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.25rem; background: var(--gold); color: var(--ink); border: 0; border-radius: 999px; text-decoration: none; font-weight: 850; cursor: pointer; box-shadow: 0 10px 30px rgba(215,174,114,.22); }
.primary-button:hover, .submit-button:hover { background: #e5c18e; transform: translateY(-1px); }
.text-button { display: inline-flex; gap: .5rem; align-items: center; color: var(--white); text-decoration: none; font-weight: 750; border-bottom: 1px solid rgba(255,255,255,.35); }
.text-button.light { color: var(--gold); border-color: rgba(215,174,114,.45); }
.trust-row { display: flex; flex-wrap: wrap; gap: .65rem 1.8rem; margin-top: 5rem; color: rgba(255,255,255,.72); font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; }
.trust-row span { position: relative; }
.trust-row span:not(:last-child)::after { content: ""; position: absolute; right: -.95rem; top: 50%; width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }
.hero-developer-showcase { padding: clamp(1.2rem, 2vw, 1.8rem); border: 1px solid rgba(255,255,255,.2); border-radius: 30px; background: linear-gradient(145deg, rgba(8,20,37,.82), rgba(8,20,37,.55)); box-shadow: 0 35px 80px rgba(0,0,0,.34); backdrop-filter: blur(18px); }
.showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.showcase-heading .eyebrow { margin: 0; }
.showcase-heading > span { color: rgba(255,255,255,.52); font-size: .78rem; }
.hero-developer-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.hero-developer-tab { position: relative; min-height: 98px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: .9rem; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; color: var(--white); background: rgba(255,255,255,.055); cursor: pointer; overflow: hidden; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.hero-developer-tab::after { content: "↗"; position: absolute; top: .72rem; right: .8rem; color: rgba(215,174,114,.8); font-size: .9rem; }
.hero-developer-tab:hover { transform: translateY(-3px); border-color: rgba(215,174,114,.58); background: rgba(215,174,114,.12); }
.hero-developer-tab[aria-pressed="true"] { border-color: var(--gold); background: linear-gradient(145deg, rgba(215,174,114,.22), rgba(215,174,114,.08)); box-shadow: inset 0 0 0 1px rgba(215,174,114,.18); }
.hero-developer-tab small { color: rgba(255,255,255,.44); font-size: .68rem; letter-spacing: .14em; }
.hero-developer-tab strong { font-family: Georgia, serif; font-size: 1.06rem; font-weight: 500; }
.hero-developer-tab:focus-visible { outline: 3px solid rgba(215,174,114,.42); outline-offset: 2px; }

.portfolio-section { padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5.5rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; max-width: 1420px; margin: 0 auto 2.5rem; }
.section-heading h2, .advisor-copy h2, .enquiry-intro h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 4vw, 4.4rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 500; }
.section-heading h2 { max-width: 900px; }
.update-note { margin: 0 0 .5rem; color: var(--muted); font-size: .86rem; white-space: nowrap; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: .45rem; background: #2d9b73; border-radius: 50%; box-shadow: 0 0 0 5px rgba(45,155,115,.1); }

.developer-tabs { display: grid; grid-template-columns: repeat(9, minmax(105px, 1fr)); gap: .55rem; max-width: 1420px; margin: 0 auto 1.2rem; overflow-x: auto; padding: .25rem .1rem .8rem; scrollbar-width: thin; }
.developer-tab { position: relative; min-height: 74px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.65); color: var(--ink); padding: .7rem; font-family: Georgia, serif; font-size: .96rem; font-weight: 600; cursor: pointer; overflow: hidden; }
.developer-tab::after { content: ""; position: absolute; inset: auto 14px 8px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s ease; }
.developer-tab:hover { border-color: rgba(169,123,61,.55); background: var(--white); }
.developer-tab[aria-selected="true"] { color: var(--white); background: var(--ink); border-color: var(--ink); box-shadow: 0 12px 28px rgba(7,17,31,.15); }
.developer-tab[aria-selected="true"]::after { transform: scaleX(1); }
.developer-tab:focus-visible, .project-book:focus-visible, input:focus-visible, .submit-button:focus-visible { outline: 3px solid rgba(75,141,139,.45); outline-offset: 3px; }

.developer-stage { max-width: 1420px; margin: 0 auto; display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 2fr); gap: 1rem; align-items: stretch; }
.developer-summary { position: relative; min-height: 470px; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius); color: var(--white); background: var(--ink); overflow: hidden; }
.developer-summary::before { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; bottom: -80px; border: 1px solid rgba(215,174,114,.25); border-radius: 50%; box-shadow: 0 0 0 38px rgba(215,174,114,.045), 0 0 0 76px rgba(215,174,114,.025); }
.developer-index { display: block; color: var(--gold); font-family: Georgia, serif; font-size: 1.2rem; }
.developer-summary h3 { margin: 5.5rem 0 1rem; font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; font-weight: 500; }
.developer-summary p { color: rgba(255,255,255,.7); max-width: 33rem; }
.developer-plan { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.15); }
.developer-plan span { display: block; color: var(--gold); text-transform: uppercase; font-size: .72rem; letter-spacing: .14em; font-weight: 850; }
.developer-plan strong { display: block; margin-top: .45rem; font-size: 1rem; }
.project-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.project-card { min-width: 0; min-height: 470px; display: flex; flex-direction: column; padding: 1.4rem; border-radius: var(--radius); background: var(--white); border: 1px solid rgba(7,17,31,.08); box-shadow: 0 12px 35px rgba(7,17,31,.06); }
.project-card::before { content: ""; height: 7px; margin: -1.4rem -1.4rem 1.4rem; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg, var(--gold), var(--rose), var(--teal)); }
.project-location { display: inline-flex; align-items: center; gap: .45rem; color: var(--gold-deep); font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.project-card h4 { margin: .8rem 0 .5rem; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1.12; font-weight: 500; }
.project-type { margin: 0 0 1.2rem; color: var(--muted); font-size: .9rem; }
.project-facts { display: grid; gap: .9rem; margin: 0; }
.project-facts div { padding-top: .75rem; border-top: 1px solid var(--line); }
.project-facts dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.project-facts dd { margin: .2rem 0 0; font-weight: 760; line-height: 1.4; }
.offer-status { color: #246a58; }
.offer-status.caution { color: #8d642e; }
.card-actions { display: grid; grid-template-columns: 1fr; gap: .65rem; margin-top: auto; padding-top: 1.3rem; }
.project-book { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; font-weight: 820; font-size: .86rem; }
.project-book { border: 0; background: var(--ink); color: var(--white); padding: .6rem 1rem; cursor: pointer; }
.market-note { max-width: 1420px; margin: 1.1rem auto 0; color: var(--muted); font-size: .82rem; }

.advisor-section { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem); padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 8vw, 8rem); color: var(--white); background: var(--ink); overflow: hidden; }
.portrait-wrap { position: relative; justify-self: center; width: min(440px, 90vw); aspect-ratio: 4/5; border-radius: 240px 240px 30px 30px; background: radial-gradient(circle at 50% 40%, #263d5c, #0b1728 68%); overflow: hidden; }
.portrait-wrap img { position: absolute; inset: 3% 0 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.portrait-wrap picture { display: contents; }
.portrait-ring { position: absolute; z-index: 2; inset: 18px; border: 1px solid rgba(215,174,114,.42); border-radius: inherit; pointer-events: none; }
.advisor-copy { max-width: 760px; }
.advisor-copy h2 { color: var(--gold); }
.advisor-role { margin: .6rem 0 1.5rem; color: rgba(255,255,255,.62); font-weight: 700; }
.advisor-copy > p:not(.eyebrow):not(.advisor-role) { color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.6vw, 1.28rem); }
.advisor-points { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; }
.advisor-points span { padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.74); font-size: .82rem; }

.enquiry-section { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 7vw, 7rem); padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 8vw, 8rem); }
.enquiry-intro p:not(.eyebrow) { color: var(--muted); max-width: 520px; }
.contact-card { margin-top: 2rem; padding: 1.2rem 1.35rem; border-left: 3px solid var(--gold); background: rgba(255,255,255,.66); }
.contact-card span, .contact-card strong, .contact-card a { display: block; }
.contact-card span { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
.contact-card strong { margin: .25rem 0; font-size: 1.18rem; }
.contact-card strong, .contact-card a { overflow-wrap: anywhere; }
.contact-card a { color: var(--gold-deep); text-decoration: none; }
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-field { display: grid; gap: .4rem; }
.form-field.full, .form-consent.full, .submit-button.full { grid-column: 1 / -1; }
.form-field label { color: #344155; font-size: .82rem; font-weight: 850; }
.form-field input { width: 100%; min-height: 52px; padding: .8rem .95rem; border: 1px solid #d9dde3; border-radius: 12px; background: #fbfbfa; color: var(--ink); }
.form-field input::placeholder { color: #9aa2ae; }
.form-field input:focus { border-color: var(--teal); }
.form-consent { color: var(--muted); font-size: .78rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form-status { min-height: 1.5rem; margin: -.25rem 0 0; color: var(--muted); font-size: .86rem; }
.form-status.success { color: #246a58; }
.form-status.error { color: #a14b42; }
.submit-button { width: 100%; border-radius: 12px; }
.submit-button[disabled] { opacity: .68; cursor: wait; transform: none; }

.site-footer { display: grid; grid-template-columns: auto 1fr 1fr; gap: 2rem; align-items: center; padding: 2rem clamp(1.25rem, 5vw, 5rem); color: rgba(255,255,255,.62); background: #030915; font-size: .78rem; }
.site-footer img { width: 190px; height: auto; }
.site-footer p { margin: 0; }
.floating-email { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 20; display: grid; place-items: center; width: 58px; height: 58px; color: var(--ink); background: var(--gold); border-radius: 50%; box-shadow: 0 14px 30px rgba(169,123,61,.3); }
.floating-email svg { width: 28px; height: 28px; fill: currentColor; }

@media (max-width: 1120px) {
  .hero { min-height: 0; }
  .hero-shell { grid-template-columns: 1fr; padding-top: 8.5rem; }
  .hero-content { max-width: 820px; }
  .hero-developer-showcase { max-width: 820px; }
  .developer-stage { grid-template-columns: 1fr; }
  .developer-summary { min-height: 300px; }
  .developer-summary h3 { margin-top: 2rem; }
  .project-card { min-height: 430px; }
  .project-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card:last-child { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer img { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  .header-actions { gap: .5rem; }
  .phone-link { display: none; }
  .header-cta { font-size: .82rem; padding: .58rem .8rem; }
  .hero { min-height: 0; align-items: end; }
  .hero-shell { gap: 2rem; padding: 9rem 1.25rem 3rem; }
  .hero-content { width: auto; margin: 0; padding: 0; }
  .hero-shade { background: linear-gradient(0deg, rgba(3,10,20,.97) 0%, rgba(3,10,20,.78) 62%, rgba(3,10,20,.34) 100%); }
  .hero h1 { font-size: clamp(3.1rem, 14vw, 5.3rem); }
  .trust-row { margin-top: 3rem; }
  .hero-developer-showcase { padding: 1rem; }
  .hero-developer-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-developer-tab { min-height: 86px; padding: .75rem; }
  .showcase-heading > span { display: none; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .update-note { white-space: normal; }
  .developer-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding-bottom: .25rem; }
  .developer-tab { min-height: 54px; font-size: .9rem; }
  .project-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card { min-height: auto; }
  .project-card:last-child { grid-column: 1 / -1; }
  .advisor-section, .enquiry-section { grid-template-columns: 1fr; }
  .portrait-wrap { width: min(370px, 88vw); }
  .enquiry-form { grid-template-columns: 1fr; }
  .form-field { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr; gap: .8rem; }
  .site-footer img { grid-column: auto; }
}

@media (max-width: 480px) {
  .site-header { padding: .9rem 1rem; align-items: center; }
  .brand img { width: clamp(118px, 37vw, 150px); }
  .header-cta { padding: .5rem .65rem; font-size: .75rem; white-space: nowrap; }
  .hero { min-height: 0; }
  .hero-shell { padding: 7.5rem 1rem 2.5rem; }
  .hero h1 { font-size: clamp(2.8rem, 12.8vw, 3.8rem); overflow-wrap: anywhere; }
  .hero-copy { margin: 1.25rem 0 1.6rem; }
  .trust-row span:not(:last-child)::after { display: none; }
  .hero-developer-showcase { min-width: 0; }
  .hero-developer-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; padding-bottom: .4rem; }
  .hero-developer-tab { flex: 0 0 132px; scroll-snap-align: start; }
  .showcase-heading > span { display: block; }
  .developer-summary { min-height: 0; }
  .developer-summary h3 { margin-top: 1.4rem; }
  .project-panel { grid-template-columns: 1fr; }
  .project-card:last-child { grid-column: auto; }
  .developer-tab { padding: .45rem .2rem; font-size: clamp(.75rem, 3.5vw, .9rem); }
  .portrait-wrap { width: min(320px, 82vw); }
  .enquiry-form { min-width: 0; }
  .form-field input { min-width: 0; }
  .floating-email { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
