:root {
  color-scheme: light;
  --ink: #11161f;
  --muted: #5f6875;
  --paper: #f4f1eb;
  --panel: #ffffff;
  --night: #07090d;
  --steel: #d9dde2;
  --blue: #1f62d0;
  --copper: #b9773a;
  --sage: #6d7b68;
  --line: rgba(17, 22, 31, 0.14);
  --shadow: 0 24px 70px rgba(17, 22, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  min-height: 100vh;
  background: var(--night);
  color: white;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(7, 9, 13, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  width: clamp(118px, 13vw, 184px);
}

.brand img,
.contact-panel img {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a,
.nav-contact a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-contact a:hover {
  color: white;
}

.nav-contact {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: white;
}

.nav-contact a {
  font-weight: 800;
}

.nav-phone {
  font-size: 0.95rem;
}

.nav-email {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.mobile-email {
  display: none;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 16px;
  color: white;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 148px clamp(20px, 5vw, 72px) 8vh;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.94) 0%, rgba(7, 9, 13, 0.72) 36%, rgba(7, 9, 13, 0.14) 72%),
    linear-gradient(0deg, rgba(7, 9, 13, 0.82) 0%, transparent 42%),
    url("assets/hampton-shingle-estate.png") center/cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8.2vw, 7.5rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.6vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.7;
}

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

.hero-email {
  display: inline-block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.button.secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

main {
  overflow: hidden;
}

.intro-band,
.services,
.approach,
.contact,
footer {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 6vw, 90px);
  padding: clamp(54px, 9vw, 118px) 0;
  align-items: end;
}

.intro-band p:not(.eyebrow),
.approach-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  width: 100%;
  background: var(--night);
  padding: 12px;
}

.project-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #16191e;
}

.project-card.large {
  grid-row: span 2;
  min-height: 660px;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 26%, rgba(7, 9, 13, 0.86));
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: clamp(22px, 4vw, 42px);
  color: white;
}

.project-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--steel);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 560px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
}

.hamptons-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  background: var(--night);
}

.hamptons-gallery img {
  width: 100%;
  height: clamp(220px, 24vw, 420px);
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.services {
  padding: clamp(62px, 9vw, 118px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(24px, 5vw, 70px);
  margin-bottom: 38px;
}

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

.service-list article {
  position: relative;
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(34px, 5vw, 58px);
  text-align: center;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(17, 22, 31, 0.12);
  box-shadow: 0 18px 42px rgba(17, 22, 31, 0.06);
}

.service-list article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
}

.service-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-list h3 {
  max-width: 420px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-list p,
.process-list span {
  color: var(--muted);
  line-height: 1.7;
}

.service-list p {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 0.98rem;
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 92px);
  padding: clamp(58px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.approach-copy p {
  margin-top: 28px;
}

.process-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.process-list div {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 26px;
  padding: 28px;
  background: var(--panel);
}

.process-list strong {
  color: var(--ink);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.quote-band {
  display: grid;
  min-height: 460px;
  align-items: center;
  padding: clamp(46px, 8vw, 96px) clamp(20px, 6vw, 82px);
  color: white;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.9), rgba(7, 9, 13, 0.46)),
    url("assets/hampton-shingle-estate.png") center/cover;
}

.quote-band p {
  width: min(900px, 100%);
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5.6vw, 5rem);
  line-height: 1.05;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(32px, 8vw, 110px);
  align-items: center;
  padding: clamp(62px, 10vw, 128px) 0;
}

.contact h2 {
  margin-bottom: 24px;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: white;
  background: var(--night);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel img {
  width: 100%;
  margin-bottom: 10px;
}

.contact-panel a {
  display: block;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-panel .email-link {
  color: var(--steel);
  font-size: 1rem;
}

.contact-panel span {
  color: rgba(255, 255, 255, 0.66);
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  justify-content: space-between;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer span {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 920px) {
  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav-contact {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 75px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(7, 9, 13, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
  }

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

  .nav-links a {
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links .mobile-email {
    display: block;
    color: var(--steel);
    overflow-wrap: anywhere;
    text-transform: none;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .intro-band,
  .section-head,
  .approach,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .hamptons-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card.large,
  .project-card {
    min-height: 440px;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 92vh;
    padding-bottom: 56px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(7, 9, 13, 0.82) 0%, rgba(7, 9, 13, 0.48) 46%, rgba(7, 9, 13, 0.92) 100%),
      url("assets/hampton-shingle-estate.png") center/cover;
  }

  h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.5rem);
  }

  .hero-actions,
  footer {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .project-card.large,
  .project-card {
    min-height: 360px;
  }

  .hamptons-gallery {
    grid-template-columns: 1fr;
  }

  .hamptons-gallery img {
    height: 280px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list article {
    min-height: auto;
  }

  .service-list span {
    margin-bottom: 28px;
  }

  .process-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
