:root {
  --ink: #17201c;
  --muted: #647067;
  --paper: #f8f5ef;
  --white: #ffffff;
  --sea: #1f6f78;
  --seafoam-blue: #247f91;
  --clay: #b55f3b;
  --line: rgba(23, 32, 28, 0.16);
  --shadow: 0 18px 45px rgba(23, 32, 28, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 245, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
}

.brand span {
  display: block;
  font-size: 1.16rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 1.35rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--seafoam-blue);
}

.quote-link {
  color: var(--white) !important;
  background: var(--sea);
  padding: 10px 15px;
  border-radius: 6px;
}

@media (max-width: 1160px) {
  .brand {
    gap: 10px;
  }

  .brand img {
    width: 43px;
    height: 43px;
  }

  .brand span {
    font-size: 0.94rem;
  }

  .brand small {
    display: none;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.8rem;
  }

  .quote-link {
    padding: 8px 10px;
  }
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.24) 52%, rgba(0, 0, 0, 0.72) 72%, rgba(0, 0, 0, 0.84) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 64px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: #dbe9e7;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(1.73rem, 4.32vw, 4.1rem);
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 28px;
  color: #eef6f3;
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.actions.spaced {
  margin-top: 18px;
}

.actions.center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  background: var(--clay);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.button.on-light {
  border-color: var(--line);
  color: var(--ink);
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: var(--white);
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 32px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  padding: 96px 0 72px;
  background: var(--ink);
  color: var(--white);
}

.media-hero {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 0;
  display: grid;
  align-items: end;
}

.media-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.28) 52%, rgba(0, 0, 0, 0.76) 72%, rgba(0, 0, 0, 0.88) 100%);
}

.media-hero .wrap {
  position: relative;
  z-index: 1;
}

.media-hero h1 {
  font-size: clamp(1.73rem, 4.32vw, 4.1rem);
}

.photography-hero h1 {
  font-size: clamp(1.73rem, 4.32vw, 4.1rem);
}

.drone-hero h1 {
  font-size: clamp(1.73rem, 4.32vw, 4.1rem);
}

.photography-hero,
.drone-hero {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  min-height: 0;
  align-items: end;
  background-position: center;
  background-size: cover;
}

.photography-hero {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.7) 72%, rgba(0, 0, 0, 0.88) 100%), url("../images/real-estate/3217-middle-st-7.jpg");
}

.drone-hero {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.7) 72%, rgba(0, 0, 0, 0.88) 100%), url("../images/real-estate/oc-aerial.jpg");
}

.about-hero {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  min-height: 0;
  align-items: end;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.25) 48%, rgba(0, 0, 0, 0.76) 72%, rgba(0, 0, 0, 0.9) 100%), url("../images/real-estate/2195-beckenham-dr-18.jpg");
  background-position: center bottom;
  background-size: cover;
}

.about-hero .wrap {
  position: relative;
}

.about-hero h1 {
  font-size: clamp(1.73rem, 4.32vw, 4.1rem);
}

.photography-hero .wrap,
.drone-hero .wrap {
  position: relative;
  z-index: 1;
}

.media-hero .hero-copy {
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.media-hero .wedding-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: end;
}

.wedding-hero-heading h1,
.wedding-hero-details .hero-copy {
  margin-bottom: 0;
}

.wedding-hero-details .actions {
  margin-top: 26px;
}

.page-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 36px;
  align-items: end;
}

.page-hero p {
  color: #dbe9e7;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.intro-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.intro-panel p:last-child {
  margin-bottom: 0;
}

.ai-video-banner {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
}

.ai-video-banner video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-video-banner video::-webkit-media-controls {
  display: none !important;
}

.ai-hero-copy {
  padding: 72px 0 78px;
  background: var(--paper);
}

.ai-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.ai-hero-copy .eyebrow {
  color: var(--clay);
}

.ai-hero-copy h1 {
  max-width: 900px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1.02;
}

.ai-hero-copy .hero-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.65;
}

.ai-intro-panel {
  margin-top: 30px;
  padding: 28px 0 28px 28px;
  border-left: 3px solid var(--clay);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ai-intro-panel p:last-child {
  margin-bottom: 0;
}

.split-content {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.45fr);
  gap: 36px;
  align-items: start;
}

.copy-block p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: start;
}

.contact-card,
.contact-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-form h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.contact-card p,
.contact-form p {
  color: var(--muted);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-methods a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 900;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.photo-strip {
  display: grid;
  grid-auto-columns: minmax(280px, 42vw);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 0 0 14px;
  scroll-snap-type: x mandatory;
}

.photo-strip figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.photo-strip img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.photo-strip figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.image-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.image-mosaic img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.image-mosaic img:nth-child(1),
.image-mosaic img:nth-child(6) {
  grid-column: span 2;
}

.two-column-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.two-column-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.two-column-gallery img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.two-column-gallery figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  color: var(--white);
}

.video-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 180ms ease, opacity 180ms ease;
}

.video-link span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--clay);
  font-weight: 800;
}

.video-link:hover img,
.video-link:focus img {
  transform: scale(1.04);
  opacity: 0.68;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.service-card,
.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card img,
.work-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin-bottom: 8px;
  font-size: 1.14rem;
}

.card-body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.metrics li {
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 1.05rem;
  font-weight: 800;
}

.lifestyle {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.lifestyle img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 8px;
}

.lifestyle img.about-portrait {
  object-position: center 30%;
}

.lifestyle-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.lifestyle-copy p {
  color: var(--muted);
}

.cta {
  text-align: center;
}

.cta p {
  max-width: 640px;
  margin: 14px auto 24px;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .nav {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 12px 16px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    text-align: center;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    text-align: center;
  }

  .quote-link {
    text-align: center;
  }

  .section-heading,
  .page-hero .wrap,
  .ai-hero-grid,
  .contact-grid,
  .split-content,
  .lifestyle {
    grid-template-columns: 1fr;
  }

  .media-hero .wedding-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-grid,
  .work-grid,
  .video-grid,
  .image-mosaic,
  .two-column-gallery,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-hero,
  .about-hero {
    aspect-ratio: auto;
    min-height: 620px;
  }

  .ai-hero-copy {
    padding: 58px 0 64px;
  }

  .ai-intro-panel {
    margin-top: 0;
  }

  .image-mosaic img:nth-child(1),
  .image-mosaic img:nth-child(6) {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 760px;
  }

  .section {
    padding: 58px 0;
  }

  .ai-hero-copy {
    padding: 46px 0 54px;
  }

  .ai-hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.25rem);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .work-grid,
  .video-grid,
  .image-mosaic,
  .two-column-gallery,
  .metrics {
    grid-template-columns: 1fr;
  }

  .service-card img,
  .work-card img {
    height: 230px;
  }

  .photo-strip {
    grid-auto-columns: minmax(260px, 86vw);
  }

  .photo-strip img,
  .image-mosaic img,
  .two-column-gallery img {
    height: 250px;
  }

  .lifestyle-copy {
    padding: 24px;
  }
}
