:root {
  --ink: #151413;
  --muted: #69645d;
  --paper: #f7f1e8;
  --paper-2: #eee4d5;
  --white: #fffaf2;
  --clay: #a9563a;
  --olive: #55624a;
  --teal: #3f4638;
  --line: rgba(21, 20, 19, 0.16);
  --shadow: 0 24px 80px rgba(18, 17, 15, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 58px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 241, 232, 0.93);
  box-shadow: 0 10px 30px rgba(21, 20, 19, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

.brand span {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.42rem);
  letter-spacing: 0;
}

.brand small {
  color: currentColor;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a,
.text-link,
.site-footer a,
.contact-list a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--ink);
}

.hero picture,
.hero picture img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
  object-position: 54% 10%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.82), rgba(10, 9, 8, 0.36) 48%, rgba(10, 9, 8, 0.12)),
    linear-gradient(0deg, rgba(10, 9, 8, 0.76), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 116px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c4a8;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(3.6rem, 10vw, 9.2rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 5vw, 5rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 250, 242, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 250, 242, 0.48);
  background: rgba(255, 250, 242, 0.06);
}

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

.button-outline {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

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

.hero-strip {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 4vw, 58px);
  bottom: 24px;
  display: flex;
  gap: 10px;
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-strip span {
  border-left: 1px solid rgba(255, 250, 242, 0.28);
  padding-left: 10px;
}

.section-pad {
  padding: clamp(76px, 10vw, 140px) clamp(20px, 4vw, 58px);
}

.intro {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(30px, 7vw, 96px);
  align-items: start;
}

.intro p,
.section-head p,
.seo-band p,
.about-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.17rem);
}

.section-head {
  max-width: 1180px;
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 5vw, 82px);
  align-items: end;
}

.masonry {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 2vw, 24px);
}

.tile {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  margin: 0;
  grid-column: span 4;
  background: var(--paper-2);
}

.tile.tall {
  min-height: 560px;
}

.tile:nth-child(2),
.tile:nth-child(4) {
  grid-column: span 8;
}

.tile img {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 700ms ease;
}

.tile:hover img {
  transform: scale(1.04);
}

.tile figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(17, 17, 17, 0.64);
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-more {
  max-width: 1280px;
  margin: 34px auto 0;
  display: flex;
  justify-content: center;
}

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

.services .section-head p,
.services .service-grid p {
  color: rgba(255, 250, 242, 0.68);
}

.service-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 250, 242, 0.16);
  border-left: 1px solid rgba(255, 250, 242, 0.16);
}

.service-grid article {
  min-height: 240px;
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid rgba(255, 250, 242, 0.16);
  border-bottom: 1px solid rgba(255, 250, 242, 0.16);
}

.service-grid span {
  display: block;
  margin-bottom: 48px;
  color: #f0c4a8;
  font-family: var(--serif);
  font-size: 2rem;
}

.about {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.about-media {
  box-shadow: var(--shadow);
}

.about-media img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.text-link {
  color: var(--teal);
  font-weight: 800;
}

.seo-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  padding: clamp(58px, 8vw, 96px) clamp(20px, 4vw, 58px);
  color: var(--white);
  background: var(--teal);
}

.seo-band h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.seo-band p {
  margin-bottom: 0;
  color: rgba(255, 250, 242, 0.76);
}

.contact {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 7vw, 92px);
}

.contact-card {
  padding: clamp(24px, 4vw, 44px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card-label {
  margin: 0;
  color: var(--muted);
}

.contact-card-label {
  margin-bottom: 18px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-card-main {
  display: block;
  margin-bottom: 28px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.7rem);
  line-height: 1;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-actions .button {
  min-width: min(100%, 190px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 58px);
  color: rgba(255, 250, 242, 0.78);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  text-align: center;
}

.site-footer > a {
  justify-self: end;
}

@media (max-width: 920px) {
  .site-nav {
    position: fixed;
    inset: 78px 16px auto;
    display: none;
    padding: 20px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .nav-toggle {
    display: block;
  }

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

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

  .tile,
  .tile:nth-child(2),
  .tile:nth-child(4) {
    grid-column: span 6;
  }

  .hero-strip {
    left: 20px;
    right: auto;
    flex-wrap: wrap;
  }
}

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

  .hero-content {
    width: min(100% - 32px, 980px);
    padding-bottom: 128px;
  }

  .button {
    width: 100%;
  }

  .masonry,
  .service-grid {
    display: block;
  }

  .tile,
  .tile.tall {
    min-height: auto;
    margin-bottom: 14px;
  }

  .tile img {
    min-height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

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

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

  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer p:nth-child(2) {
    text-align: left;
  }

  .site-footer > a {
    justify-self: start;
  }
}
