:root {
  --brown: #663F33;
  --terracotta: #A26D54;
  --taupe: #B89F8C;
  --sand: #E3D1BA;
  --cream: #E6DECC;
  --blue: #AFBEC4;
  --ink: #2b1a15;
  --white: #fffaf4;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--cream); color: var(--brown); padding: 12px 18px;
  border-radius: 999px; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.hero {
  min-height: 100svh;
  position: relative;
  color: var(--cream);
  background: url("../images/hero.jpg") center 42% / cover no-repeat;
  isolation: isolate;
  overflow: hidden;
}
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(50,27,20,.72) 0%, rgba(50,27,20,.42) 48%, rgba(50,27,20,.18) 100%),
    linear-gradient(0deg, rgba(37,18,13,.52) 0%, transparent 48%);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 30px;
  border-bottom: 1px solid rgba(230,222,204,.42);
}
.brand img { width: 190px; height: auto; }
.nav__contact {
  text-decoration: none; text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; font-weight: 700; padding: 10px 0;
}
.nav__contact::after { content: ""; display: block; width: 0; height: 1px; margin-top: 5px; background: currentColor; transition: width .25s; }
.nav__contact:hover::after { width: 100%; }
.hero__content {
  min-height: calc(100svh - 110px);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding-block: 90px 130px;
}
.hero__eyebrow {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .25em;
  font-weight: 700; margin-bottom: 24px;
}
.hero h1 {
  max-width: 920px; margin: 0 0 42px;
  font-size: clamp(3.3rem, 8.3vw, 7.6rem); line-height: .93;
  letter-spacing: -.065em; font-weight: 500;
}
.button {
  display: inline-flex; align-items: center; gap: 28px;
  min-height: 58px; padding: 0 26px; border-radius: 999px;
  text-decoration: none; text-transform: uppercase; letter-spacing: .12em;
  font-size: .72rem; font-weight: 800; transition: transform .25s, background .25s, color .25s;
}
.button span { font-size: 1rem; }
.button:hover { transform: translateY(-2px); }
.button--light { background: var(--cream); color: var(--brown); }
.button--light:hover { background: white; }
.button--dark { background: var(--brown); color: var(--cream); }
.button--dark:hover { background: #4f3028; }
.hero__scroll { position: absolute; right: 4vw; bottom: 0; height: 100px; width: 1px; background: rgba(230,222,204,.32); }
.hero__scroll span { display: block; width: 1px; height: 35px; background: var(--cream); animation: scroll 2s infinite ease-in-out; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 0; } 35%{ opacity:1; } 100% { transform: translateY(65px); opacity:0; } }

.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr);
  min-height: 780px;
}
.contact__image-wrap { position: relative; min-height: 720px; overflow: hidden; background: var(--taupe); }
.contact__image { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; transition: transform 1s ease; }
.contact__image-wrap:hover .contact__image { transform: scale(1.025); }
.contact__image-label {
  position: absolute; left: 32px; bottom: 28px; color: white;
  font-weight: 700; text-transform: uppercase; letter-spacing: .2em; font-size: .65rem;
}
.contact__panel { position: relative; background: var(--cream); overflow: hidden; }
.contact__pattern {
  position: absolute; inset: auto -8% -18% auto; width: 52%; aspect-ratio: 1;
  background: url("../images/pattern.jpg") center/cover; opacity: .08; border-radius: 50%; transform: rotate(-8deg);
}
.contact__inner { position: relative; padding: clamp(70px, 8vw, 132px) clamp(44px, 7vw, 120px); max-width: 760px; }
.section-number { margin: 0 0 38px; text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; font-weight: 700; color: var(--terracotta); }
.contact h2 { margin: 0 0 56px; font-size: clamp(3.5rem, 7vw, 6.8rem); line-height: .95; letter-spacing: -.07em; font-weight: 500; color: var(--brown); }
.details { border-top: 1px solid rgba(102,63,51,.28); }
.detail {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  padding: 26px 0; border-bottom: 1px solid rgba(102,63,51,.28);
}
.detail__icon { width: 29px; height: 29px; color: var(--terracotta); }
.detail__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.detail__label { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .65rem; color: var(--terracotta); }
.detail__value { margin: 0; font-size: clamp(1.08rem, 1.8vw, 1.45rem); line-height: 1.35; font-weight: 500; }
.detail__link { text-decoration: none; text-underline-offset: 5px; }
.detail__link:hover { text-decoration: underline; }
.contact__actions { display: flex; gap: 28px; align-items: center; margin-top: 46px; flex-wrap: wrap; }
.text-link { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; text-underline-offset: 7px; }

.closing {
  min-height: 650px; position: relative; display: grid; place-items: center; overflow: hidden; background: var(--brown); color: var(--cream);
}
.closing__photo { position: absolute; inset: 0; background: linear-gradient(rgba(62,31,24,.46),rgba(62,31,24,.72)), url("../images/cups.jpg") center/cover; filter: saturate(.88); }
.closing__content { position: relative; z-index: 1; text-align: center; }
.closing__content img { width: min(430px, 68vw); margin: 0 auto 28px; }
.closing__content p { margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .24em; font-weight: 700; }

.footer { background: var(--sand); padding: 44px 0; }
.footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.footer img { width: 140px; }
.footer__contact { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer__contact a { text-decoration: none; font-size: .76rem; font-weight: 700; }
.footer p { margin: 0; justify-self: end; font-size: .72rem; color: rgba(43,26,21,.7); }

@media (max-width: 900px) {
  :root { --shell: min(100% - 34px, 760px); }
  .nav { padding-block: 22px; }
  .brand img { width: 155px; }
  .hero__content { min-height: calc(100svh - 90px); }
  .hero h1 { letter-spacing: -.055em; }
  .contact { grid-template-columns: 1fr; }
  .contact__image-wrap { min-height: 58vw; max-height: 620px; }
  .contact__inner { max-width: none; }
  .footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer p { justify-self: center; }
}

@media (max-width: 560px) {
  .hero { background-position: 60% center; }
  .hero__content { justify-content: flex-end; padding-bottom: 92px; }
  .hero h1 { font-size: clamp(3rem, 17vw, 5rem); }
  .button { gap: 18px; padding-inline: 20px; }
  .nav__contact { display: none; }
  .contact__image-wrap { min-height: 78vw; }
  .contact__inner { padding: 68px 24px 76px; }
  .contact h2 { margin-bottom: 42px; }
  .detail { grid-template-columns: 34px 1fr; gap: 12px; }
  .detail__value { overflow-wrap: anywhere; }
  .closing { min-height: 500px; }
  .footer__contact { flex-direction: column; gap: 10px; }
}

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