:root {
  --gold: #c4a035;
  --gold-bright: #dfb84a;
  --gold-deep: #8f7420;
  --ink: #121212;
  --ink-soft: #4a4a4a;
  --mist: #f3f1ec;
  --mist-2: #e8eef3;
  --sky: #d7e6f0;
  --navy: #1c2b45;
  --white: #ffffff;
  --line: rgba(18, 18, 18, 0.08);
  --shadow: 0 24px 60px rgba(18, 18, 18, 0.12);
  --radius: 4px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-script: "Great Vibes", cursive;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(196, 160, 53, 0.1), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(28, 43, 69, 0.06), transparent 28%),
    linear-gradient(180deg, #fbfaf7 0%, #f4f6f8 48%, #eef2f5 100%);
  line-height: 1.65;
  font-size: 1rem;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1rem; font-family: var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; }

ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

li { margin-bottom: 0.45rem; }
li:last-child { margin-bottom: 0; }

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.prose {
  max-width: 62ch;
}

.prose p + p { margin-top: 0.9rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-script {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--gold-deep);
  line-height: 1.05;
  white-space: nowrap;
}
.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #111; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-outline { border-color: rgba(18,18,18,0.25); background: transparent; color: var(--ink); }
.btn-small { padding: 0.65rem 1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 5.5rem;
  max-width: 720px;
}

.hero-brand {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--gold-bright);
  display: block;
  margin-bottom: 0.55rem;
  line-height: 1;
  animation: riseIn 0.9s ease both;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  color: var(--white);
  max-width: 18ch;
  margin-bottom: 0.9rem;
  animation: riseIn 1s ease 0.1s both;
}

.hero p {
  max-width: 40ch;
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  animation: riseIn 1s ease 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
  animation: riseIn 1s ease 0.3s both;
}

.section { padding: 4.5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-mist { background: rgba(255,255,255,0.55); }
.section-navy {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1c2b45 0%, #121824 100%);
  color: var(--white);
}
.section-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/brand/logo-mark.png") center / min(420px, 46vw) no-repeat;
  opacity: 0.16;
  pointer-events: none;
}
.section-navy > .container {
  position: relative;
  z-index: 1;
}
.section-navy h2,
.section-navy .eyebrow { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.8); }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.section-head h2 { margin-bottom: 0.7rem; }
.section-head p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 52ch;
  font-size: 1.02rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: #ddd center/cover no-repeat;
  box-shadow: var(--shadow);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(transparent, rgba(0,0,0,0.28));
}

.copy-block h2 { margin-bottom: 1rem; }
.copy-block .btn { margin-top: 0.5rem; }

.factor-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.factor {
  padding: 1.35rem 1.25rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.factor:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.factor-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  background: var(--sky);
  font-weight: 700;
  font-size: 0.85rem;
}

.factor h3 { margin-bottom: 0.45rem; }
.factor p { margin: 0; font-size: 0.95rem; }

.property-card {
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.property-card .thumb {
  aspect-ratio: 4/3;
  background: #ccc center/cover no-repeat;
}

.property-card .body {
  padding: 1.2rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.property-card .body h3 { margin-bottom: 0.15rem; }
.property-card .body p {
  margin: 0.35rem 0 0.85rem;
  font-size: 0.94rem;
  flex: 1;
}

.property-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  background: var(--mist-2);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-deep);
  line-height: 1.3;
}

.filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 260px));
  gap: 0.9rem;
  margin-bottom: 1.75rem;
  align-items: end;
}

.filters label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.filters select,
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(18,18,18,0.14);
  background: rgba(255,255,255,0.95);
  font: inherit;
  color: var(--ink);
}

.form label {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-panel {
  padding: 1.6rem;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 4rem 0 2.75rem;
  background:
    linear-gradient(120deg, rgba(251,250,247,0.94), rgba(232,238,243,0.82)),
    url("../images/about-kitchen.png") right center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.page-hero-logo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #fbfaf7 0%, #e8eef3 100%);
}
.page-hero-logo::before {
  content: "";
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(320px, 42vw);
  height: min(320px, 42vw);
  background: url("../images/brand/logo-mark.png") center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}
.page-hero-logo > .container {
  position: relative;
  z-index: 1;
}

.page-hero .container > * {
  max-width: 640px;
}

.page-hero h1 {
  max-width: 16ch;
  margin-bottom: 0.85rem;
}

.page-hero p {
  max-width: 54ch;
  margin: 0;
  font-size: 1.05rem;
}

.split-statement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.statement {
  padding: 1.8rem;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
}

.statement.mission { border-top: 4px solid var(--gold); }
.statement.vision { border-top: 4px solid var(--navy); }
.statement h3 { margin-bottom: 0.7rem; }
.statement p { margin: 0; }

.service-block {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) 1.15fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.service-block:last-child { border-bottom: 0; }
.service-block h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}
.service-block p {
  margin: 0;
  max-width: 58ch;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 0.85rem;
}

.portfolio-grid .tile {
  background: #ccc center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.portfolio-grid .tile:first-child { grid-row: span 2; min-height: 460px; }
.portfolio-grid .tile:last-child { grid-column: span 2; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  gap: 1.5rem;
  justify-content: center;
}

.team-card {
  text-align: center;
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--line);
  padding: 1rem 1rem 1.45rem;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 1rem;
}

.team-card h3 { margin-bottom: 0.25rem; }
.team-card p { margin: 0; }

.contact-bars {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.contact-bar {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem 1.15rem;
  color: var(--white);
}

.contact-bar strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-bar.address { background: var(--gold); color: #111; }
.contact-bar.phone,
.contact-bar.web { background: var(--navy); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  padding: 1.3rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: var(--gold-bright);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.stat span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  background: rgba(255,255,255,0.84);
  border: 1px solid var(--line);
}

.cta-band h2 {
  margin-bottom: 0.4rem;
  max-width: 18ch;
}

.cta-band p {
  margin: 0;
  max-width: 42ch;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background: #10141c;
  color: rgba(255,255,255,0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .brand-script { color: var(--gold-bright); }
.footer-brand .brand-sub { color: rgba(255,255,255,0.55); }
.footer-copy {
  color: rgba(255,255,255,0.65);
  max-width: 38ch;
  margin-top: 0.85rem;
}
.site-footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
}
.site-footer a {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255,255,255,0.7);
}
.site-footer a:hover { color: var(--gold-bright); }
.site-footer p { color: rgba(255,255,255,0.7); margin-bottom: 0.45rem; }
.footer-bottom {
  padding-top: 1.2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.flash {
  padding: 0.85rem 0;
  font-weight: 600;
}
.flash-success { background: #e7f6ea; color: #1f6b34; }
.flash-error { background: #fdeceb; color: #8f1f1a; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-slider { position: relative; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 7s ease;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.4rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
}
.hero-nav,
.gallery-nav {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
.hero-dots { display: flex; gap: .45rem; }
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  padding: 0;
}
.hero-dot.is-active { background: var(--gold-bright); }

.gallery-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.gallery-track {
  display: flex;
  transition: transform 0.55s ease;
}
.gallery-slide {
  min-width: 100%;
  aspect-ratio: 16/9;
  background: #ddd center/cover no-repeat;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.gallery-nav.prev { left: .8rem; }
.gallery-nav.next { right: .8rem; }

.property-gallery-main {
  min-height: 420px;
  background: #ddd center/cover no-repeat;
  border: 1px solid var(--line);
}
.property-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: .55rem;
  margin-top: .75rem;
}
.property-thumb {
  aspect-ratio: 4/3;
  border: 2px solid transparent;
  background: #ddd center/cover no-repeat;
  cursor: pointer;
  padding: 0;
}
.property-thumb.is-active { border-color: var(--gold); }

@media (max-width: 960px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .split-statement,
  .service-block,
  .footer-grid,
  .stats,
  .form-row,
  .factor-list,
  .cta-band,
  .portfolio-grid,
  .team-grid,
  .filters {
    grid-template-columns: 1fr;
  }

  .portfolio-grid .tile:first-child,
  .portfolio-grid .tile:last-child {
    grid-row: auto;
    grid-column: auto;
    min-height: 240px;
  }

  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.4rem;
    background: rgba(251,250,247,0.98);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 78vh; }
  .hero-content { padding: 4rem 0 5rem; }
  .contact-bar { grid-template-columns: 1fr; gap: 0.35rem; }
  .service-block { gap: 0.55rem; }
}
