:root {
  --white: #ffffff;
  --paper: #f8f8f6;
  --ink: #080808;
  --text: #232323;
  --muted: #767676;
  --line: #deded8;
  --line-soft: #ecece7;
  --panel: #f2f2ee;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --header-h: 86px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.is-loading {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

::selection {
  background: var(--ink);
  color: var(--white);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 10001;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--white);
  transition:
    opacity 0.65s var(--ease),
    visibility 0.65s var(--ease),
    transform 0.65s var(--ease);
}

body:not(.is-loading) .preloader {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  min-height: var(--header-h);
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.nav-group {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.nav-group--right {
  justify-content: flex-end;
}

.nav-group a {
  position: relative;
  padding: 10px 0;
}

.nav-group a::after {
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav-group a:hover::after,
.nav-group a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.brand {
  display: grid;
  place-items: center;
}

.logo-crop {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
}

.logo-crop img {
  position: absolute;
  left: 50%;
  top: 47.2%;
  width: 111%;
  max-width: none;
  filter: none;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
}

.logo-crop--nav {
  width: clamp(260px, 30vw, 470px);
  height: clamp(54px, 6vw, 76px);
}

.logo-crop--intro {
  width: min(78vw, 720px);
  height: clamp(90px, 13vw, 142px);
}

.logo-crop--contact {
  width: min(100%, 520px);
  height: 78px;
  margin-bottom: 34px;
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px) 0;
  background: var(--white);
}

.hero-copy {
  align-self: center;
  padding-bottom: clamp(24px, 5vw, 64px);
}

.eyebrow,
.section-label,
.property-card__body span,
.method-grid span,
.contact-form span {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Bodoni 72", Didot, Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 650px;
  margin-top: 18px;
  font-size: clamp(2.55rem, 4.6vw, 4.65rem);
  line-height: 1;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 0;
  color: #555;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--ink);
  padding: 0 18px;
  font-size: 0.78rem;
  text-transform: uppercase;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.button--dark {
  background: var(--ink);
  color: var(--white);
}

.button--dark:hover,
.button--dark:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.button--light {
  background: var(--white);
  color: var(--ink);
}

.button--light:hover,
.button--light:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.hero-visual {
  position: relative;
  min-height: clamp(460px, 58vw, 720px);
  overflow: hidden;
  background: var(--panel);
}

.hero-visual img,
.property-card img,
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
}

.hero-visual:hover img,
.property-card:hover img,
.video-frame:hover img {
  transform: scale(1.045);
  filter: grayscale(0.75) contrast(1.05);
}

.hero-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  min-width: 210px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.9);
  padding: 16px;
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.hero-badge strong {
  font-family: "Bodoni 72", Didot, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.search-panel {
  grid-column: 1 / -1;
  transform: translateY(50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 132px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.08);
}

.search-panel label {
  display: grid;
  gap: 8px;
  padding: 17px 19px;
  border-right: 1px solid var(--line-soft);
}

.search-panel span {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.search-panel input,
.search-panel select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-panel button,
.contact-form button {
  border: 0;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  text-transform: uppercase;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    outline-color 0.35s var(--ease);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.search-panel button:hover,
.search-panel button:focus-visible,
.contact-form button:hover,
.contact-form button:focus-visible {
  background: var(--white);
  color: var(--ink);
  outline: 1px solid var(--ink);
}

.intro {
  padding-top: clamp(126px, 14vw, 190px);
  background: var(--paper);
}

.intro-grid,
.section-top,
.production-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 6vw, 94px);
  align-items: start;
}

.section h2 {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(1.95rem, 3.25vw, 3.45rem);
  line-height: 1.05;
}

.intro-text,
.section-top > p,
.production-copy > p,
.contact-copy > p {
  display: grid;
  gap: 20px;
  color: #595959;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.78;
}

.intro-text p,
.section-top > p,
.production-copy > p,
.contact-copy > p,
.method-grid p,
.property-card__body p,
.contact-form p {
  margin: 0;
}

.properties {
  background: var(--white);
}

.section-top {
  align-items: end;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: clamp(36px, 5vw, 64px);
}

.property-card {
  border: 1px solid var(--line-soft);
  background: var(--white);
  transition:
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.property-card:hover {
  border-color: var(--line);
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.07);
}

.property-card img {
  aspect-ratio: 4 / 3;
}

.property-card__body {
  display: grid;
  gap: 9px;
  padding: 20px;
}

.property-card__body h3 {
  font-size: clamp(1.42rem, 1.8vw, 1.9rem);
  line-height: 1.05;
}

.property-card__body p {
  color: var(--muted);
  font-size: 0.94rem;
}

.production {
  background: var(--paper);
}

.production-layout {
  align-items: center;
}

.production-copy > p {
  margin-top: 24px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--panel);
}

.video-frame button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  transform: translate(-50%, -50%);
  transition:
    background 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.video-frame button:hover,
.video-frame button:focus-visible {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-frame button span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--ink);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(38px, 5vw, 66px);
  background: var(--line);
}

.method-grid article {
  min-height: 235px;
  display: grid;
  align-content: end;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
}

.method-grid h3 {
  font-size: clamp(1.45rem, 2vw, 2.15rem);
}

.method-grid p {
  color: #666;
  line-height: 1.65;
}

.contact {
  background: var(--white);
}

.contact-copy h2 {
  margin-top: 14px;
}

.contact-copy a {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: 26px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 7px;
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 1.5vw, 1.24rem);
}

.contact-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(20px, 3.4vw, 36px);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  padding: 13px 12px;
  outline: 0;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(8, 8, 8, 0.05);
}

.contact-form button {
  min-height: 50px;
}

.contact-form p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line-soft);
  padding: 26px clamp(18px, 5vw, 72px);
  background: var(--white);
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-brand,
.footer-legal,
.footer-policies {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand,
.footer-legal {
  flex-wrap: wrap;
}

.footer-brand span:first-child {
  color: var(--ink);
}

.footer-legal {
  justify-content: center;
  text-align: center;
}

.footer-policies {
  justify-content: flex-end;
}

.footer-policies a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 4px;
    justify-items: center;
    min-height: 112px;
  }

  .brand {
    order: 1;
  }

  .nav-group--left {
    order: 2;
  }

  .nav-group--right {
    order: 3;
  }

  .nav-contact {
    display: none;
  }

  .nav-group {
    justify-content: center;
    gap: 18px;
  }

  .hero,
  .intro-grid,
  .section-top,
  .production-layout,
  .contact-grid,
  .search-panel {
    grid-template-columns: 1fr;
  }

  .search-panel {
    transform: none;
    margin-top: 26px;
  }

  .intro {
    padding-top: clamp(72px, 9vw, 128px);
  }

  .property-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 104px;
    padding: 12px 16px;
  }

  .logo-crop--nav {
    width: min(88vw, 360px);
    height: 58px;
  }

  .nav-group {
    font-size: 0.69rem;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.8rem);
  }

  .section h2 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .hero-visual {
    min-height: 390px;
  }

  .search-panel label {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .search-panel button {
    min-height: 54px;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-legal,
  .footer-policies {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
