:root {
  --ink: #17130f;
  --bone: #ede6da;
  --paper: #f7f2e9;
  --clay: #9d5b3d;
  --moss: #17130f;
  --muted: #665f56;
  --rule: #b8aea0;
}

body {
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  min-height: 102px;
  padding: 1rem clamp(1.25rem, 3vw, 3.5rem);
  background: rgba(247, 242, 233, 0.97);
  border-color: rgba(23, 19, 15, 0.16);
}

.brand-logo {
  width: clamp(250px, 23vw, 345px);
}

.brand-logo img {
  object-fit: contain;
}

nav {
  gap: clamp(1.1rem, 2.5vw, 2.5rem);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  height: auto;
  min-height: min(760px, calc(100svh - 102px));
  color: var(--ink);
  background: var(--paper);
}

.hero-image {
  grid-column: 2;
  grid-row: 1;
  min-height: min(760px, calc(100svh - 102px));
  overflow: hidden;
}

.hero-image img {
  object-position: 58% center;
}

.hero-shade {
  display: none;
}

.hero-copy {
  position: static;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  max-width: none;
  padding: clamp(4rem, 8vw, 8rem) clamp(2.25rem, 6vw, 6.5rem);
  transform: none;
}

.hero .eyebrow {
  color: var(--clay);
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.4rem, 6.2vw, 7.1rem);
  line-height: 0.91;
  text-transform: uppercase;
}

.hero .dek {
  max-width: 630px;
  margin-top: 2.2rem;
  font-size: clamp(1.15rem, 1.65vw, 1.42rem);
}

.hero-uses {
  color: var(--muted);
  margin: 0 0 2.3rem;
  font-size: 0.96rem;
}

.hero .button-light {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.hero .button-light:hover {
  color: var(--ink);
  background: transparent;
}

.hero .text-link {
  color: var(--ink);
}

.intro {
  background: var(--bone);
}

.intro .section-number,
.work-with-me .section-number,
.approach .section-number,
.contact .section-number,
.service-fit .section-number,
.service-process .section-number {
  color: var(--clay);
}

.intro h2 {
  text-transform: uppercase;
}

.work,
.service-panel-dark,
.service-hero-copy,
.approach,
footer {
  background: var(--ink);
}

.work .section-number,
.portfolio-sequence span {
  color: #c87855;
}

.work-with-me {
  background: var(--paper);
  border-top-color: var(--clay);
}

.contact {
  background: var(--clay);
  color: var(--paper);
}

.contact h2 {
  letter-spacing: -0.04em;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(247, 242, 233, 0.72);
}

.contact-details > a,
.contact-details > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  margin: 0;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(247, 242, 233, 0.72);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.45;
}

.contact-details > :nth-child(odd) {
  padding-right: 2.25rem;
}

.contact-details > :nth-child(even) {
  padding-left: 2.25rem;
  border-left: 1px solid rgba(247, 242, 233, 0.72);
}

.contact-details a:hover,
.contact-quick-links a:hover,
footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.24em;
}

.contact-name {
  font-weight: 700;
}

.contact-details .instagram-link {
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 0;
  color: inherit;
  border-radius: 0;
}

.contact-details .instagram-link svg {
  width: 24px;
  height: 24px;
}

.contact-details .instagram-link span:last-child {
  margin-left: 0;
}

.contact-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  max-width: 820px;
  margin-top: 1.5rem;
  font-size: 1rem;
}

footer {
  display: grid;
  grid-template-columns: 128px 1fr minmax(260px, 1.2fr) 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  padding: 3.2rem clamp(1.25rem, 3vw, 3.5rem);
  color: var(--bone);
  border-top: 0.4rem solid var(--clay);
}

.maker-stamp {
  width: 112px;
  height: 112px;
  padding: 6px;
  background: var(--paper);
  border-radius: 50%;
}

.maker-stamp img {
  object-fit: contain;
}

footer p {
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.82rem;
  line-height: 1.8;
}

footer p:last-child {
  text-align: right;
}

@media (max-width: 1050px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 430px;
    row-gap: 0.8rem;
  }

  .hero {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  }

  .hero-copy {
    padding-inline: clamp(2rem, 4.5vw, 4rem);
  }
}

@media (max-width: 760px) {
  .site-header {
    display: block;
    padding: 1rem 5vw 1.15rem;
  }

  .brand-logo {
    width: min(285px, 88vw);
  }

  nav {
    justify-content: flex-start;
    gap: 0.8rem 1.25rem;
    max-width: none;
    margin-top: 1rem;
    font-size: 0.71rem;
    line-height: 1.5;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-image {
    order: 1;
    min-height: 68vw;
    max-height: 510px;
  }

  .hero-image img {
    object-position: 58% center;
  }

  .hero-copy {
    order: 2;
    padding: 4.5rem 7vw 5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro h2 {
    font-size: clamp(2.55rem, 12vw, 4.4rem);
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-details > :nth-child(odd),
  .contact-details > :nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  footer {
    grid-template-columns: 100px 1fr;
    align-items: start;
  }

  .maker-stamp {
    grid-row: span 3;
    width: 92px;
    height: 92px;
  }

  footer p,
  footer p:last-child {
    text-align: left;
  }
}

@media (max-width: 420px) {
  footer {
    grid-template-columns: 1fr;
  }

  .maker-stamp {
    grid-row: auto;
  }
}
