:root {
  --bg: #f4efe7;
  --panel: #fffaf2;
  --ink: #211b16;
  --muted: #6f6257;
  --line: #ded2c4;
  --brand: #8b4e2f;
  --brand-dark: #2c211b;
  --accent: #d7a15d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(39, 29, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(244, 239, 231, 0.9);
  border-bottom: 1px solid rgba(222, 210, 196, 0.8);
  backdrop-filter: blur(18px);
}

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

.brand-name {
  color: var(--brand-dark);
  font-size: clamp(1rem, 1.45vw, 1.32rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.brand-logo {
  width: clamp(56px, 6vw, 72px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(24px, 2vw, 38px);
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: clamp(54px, 8vw, 108px) clamp(20px, 5vw, 72px) 64px;
  background:
    radial-gradient(circle at top right, rgba(215, 161, 93, 0.24), transparent 30%),
    linear-gradient(135deg, #f7f1e8 0%, #eadfce 100%);
}

.hero-content {
  justify-self: end;
  width: 100%;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: -0.08em;
}

.hero h1 {
  font-size: clamp(2.8rem, 4.7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hero-header {
  max-width: 760px;
}

.hero-text {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.25vw, 1.35rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--brand-dark);
  border-radius: 999px;
  font-weight: 800;
}

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

.button-primary:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.button-secondary {
  color: var(--brand-dark);
  background: rgba(255, 250, 242, 0.62);
}

.button-secondary:hover {
  background: var(--white);
}

.hero-card {
  overflow: hidden;
  justify-self: start;
  width: 100%;
  max-width: 1180px;
  align-self: center;
  border: 12px solid rgba(255, 250, 242, 0.9);
  border-radius: 36px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}

.hero-card-caption {
  display: grid;
  gap: 6px;
  padding: 22px;
}

.hero-card-caption span {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--brand-dark);
  color: var(--white);
}

.service-strip span {
  padding: 20px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section {
  padding: clamp(66px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 38px;
}

.section-heading.narrow {
  max-width: 720px;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

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

.service-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
}

.service-card p {
  color: var(--muted);
  line-height: 1.65;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.section-actions.light .button-secondary {
  color: var(--brand-dark);
  background: var(--white);
  border-color: var(--white);
}

.service-number {
  display: inline-flex;
  margin-bottom: 58px;
  color: var(--brand);
  font-weight: 800;
}

.work {
  background: #211b16;
  color: var(--white);
}

.work .eyebrow,
.work .section-heading p:not(.eyebrow) {
  color: #d8c6b1;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.work-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  border-radius: 24px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
}

.split-copy {
  max-width: 620px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 64px;
  height: auto;
  margin-bottom: 0;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-contact {
  display: grid;
  gap: 8px;
  font-weight: 800;
  text-align: right;
}

.footer-contact a:hover {
  color: var(--brand);
}

.page-hero {
  padding: clamp(62px, 9vw, 126px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 86% 12%, rgba(215, 161, 93, 0.24), transparent 28%),
    linear-gradient(135deg, #f7f1e8 0%, #eadfce 100%);
}

.page-hero.compact {
  padding-bottom: clamp(46px, 7vw, 78px);
}

.page-hero h1 {
  max-width: 1040px;
  margin-bottom: 24px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.26rem);
  line-height: 1.7;
}

.gallery-page-grid {
  columns: 3 280px;
  column-gap: clamp(16px, 2vw, 26px);
}

.gallery-tile {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: clamp(16px, 2vw, 26px);
  break-inside: avoid;
  border-radius: 24px;
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-tile:hover,
.gallery-tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(39, 29, 22, 0.22);
}

.gallery-tile:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.gallery-lightbox {
  width: min(94vw, 1200px);
  max-height: 94vh;
  padding: clamp(14px, 2vw, 24px);
  border: 0;
  background: transparent;
  color: var(--white);
}

.gallery-lightbox::backdrop {
  background: rgba(22, 16, 12, 0.86);
  backdrop-filter: blur(10px);
}

.lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  height: auto;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  display: inline-flex;
  margin: 0 0 12px auto;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.contact-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: calc(100vh - 86px - 154px);
  text-align: left;
}

.contact-hero .eyebrow,
.contact-hero h1,
.contact-hero p:not(.eyebrow) {
  width: min(100%, 860px);
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 860px;
  margin: 36px auto 0;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.74);
}

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

.contact-card span {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  overflow-wrap: anywhere;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 760px);
    justify-content: start;
    gap: 32px;
    min-height: auto;
    padding-top: clamp(44px, 7vw, 76px);
  }

  .hero-content {
    justify-self: start;
    max-width: 900px;
  }

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

  .hero-card {
    justify-self: start;
    max-width: 980px;
  }
}

@media (max-width: 980px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    min-height: auto;
  }

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

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

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .brand-logo {
    width: 52px;
  }

  .brand-name {
    max-width: 12rem;
  }

  .site-nav {
    gap: 10px 16px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 4.2rem);
  }

  .hero h1 {
    font-size: clamp(2.15rem, 9.5vw, 3.15rem);
    line-height: 1.06;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    border-width: 8px;
    border-radius: 24px;
  }

  .hero-image {
    aspect-ratio: 4 / 3;
  }

  .service-strip,
  .service-grid,
  .work-grid,
  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 42px;
  }

}
