/* Tokens: GRWC colors from the Figma file */
:root {
  --grwc-white: #fffdf9;
  --grwc-black: #000c16;
  --grwc-eerie: #262523;
  --grwc-pale-10: #fad8c6;
  --grwc-azure-10: #e4eeef;
  --grwc-xanthous-10: #ffeac2;
  --grwc-sand: #ddd3ca;

  /* Druk is a trial font (not licensed for web); Anton is the free stand-in */
  --font-display: "Druk", "Druk Trial", "Anton", "Impact", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --radius: 23.04px;
  --gutter: 32px;
  --shadow-btn: 0 1px 3px rgba(188, 164, 143, .25), 0 2px 6px rgba(188, 164, 143, .1), 0 6px 10px -2px rgba(188, 164, 143, .25);
}

/* Use the licensed font when it's installed locally */
@font-face {
  font-family: "Druk";
  src: local("Druk Bold Trial"), local("Druk-Bold-Trial"), local("Druk Bold"), local("Druk-Bold");
  font-weight: 700;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--grwc-white);
  color: var(--grwc-black);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
a { color: inherit; }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  text-transform: none;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Intro */
.intro {
  padding: 80px var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.intro__name {
  font-size: clamp(64px, 20.8vw, 300px);
  white-space: nowrap;
  line-height: 1.2;
}
.intro__tagline { font-size: clamp(18px, 1.67vw, 24px); }

/* Figures: images fill their slot */
.figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--grwc-sand);
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero { height: clamp(320px, 53.75vw, 774px); }
.hero img { object-position: center top; transform: scale(1.2); transform-origin: center top; }

.eyebrow {
  padding: 98px var(--gutter) 18px; /* 80 from hero + 18 */
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 17.28px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Packs */
.pack {
  display: grid;
  grid-template-columns: minmax(0, 800fr) minmax(0, 544fr);
  gap: var(--gutter);
  padding-block: var(--gutter);
}
.pack--reverse { grid-template-columns: minmax(0, 544fr) minmax(0, 800fr); }
.pack--reverse .card { order: 2; }

.card {
  border-radius: var(--radius);
  padding: 58.84px 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card--pale { background: var(--grwc-pale-10); }
.card--azure { background: var(--grwc-azure-10); }
.card--xanthous { background: var(--grwc-xanthous-10); }

.card__inner {
  width: 100%;
  max-width: 508px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.card__head { display: flex; flex-direction: column; gap: 9.7px; }
.card__head h3 { font-size: 34px; font-weight: 400; line-height: 40.96px; }
.card__head p { font-size: 20px; line-height: 26.88px; }

.stats { display: flex; gap: 10px; }
.stats > div { flex: 1 1 0; min-width: 0; }
.stats dt { font-size: 14px; line-height: 17.28px; text-transform: uppercase; }
.stats dd { font-size: 64px; }

.features, .faq {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.features { gap: 17.28px; font-size: 14px; line-height: 17.28px; padding-left: 21px; }
.features strong { display: block; font-weight: 400; }
.faq { gap: 26.88px; font-size: 20px; line-height: 26.88px; padding-left: 30px; }
.faq strong { display: block; font-weight: 700; }

.gallery {
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
  min-height: 600px;
}
.gallery .figure { flex: 1 1 0; min-height: 0; }

/* Button */
.btn {
  align-self: flex-start;
  display: inline-block;
  padding: 18px 32px;
  border-radius: 30px;
  background: var(--grwc-white);
  box-shadow: var(--shadow-btn), inset 0 1px 0 rgba(255, 255, 255, .15);
  font-size: 20px;
  line-height: 23px;
  text-decoration: underline;
  text-underline-position: from-font;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-btn), 0 10px 18px -6px rgba(188, 164, 143, .45); }
.btn:focus-visible, .arrow:focus-visible { outline: 2px solid var(--grwc-black); outline-offset: 3px; }

/* Banner + panels */
.stack {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-block: var(--gutter);
}
.banner { height: clamp(220px, 35vw, 504px); border-radius: 24px; }

.panel {
  background: var(--grwc-sand);
  border-radius: var(--radius);
  padding: 60px 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.panel > .faq { width: 100%; max-width: 1020px; }
.panel .btn { align-self: center; }
.panel--center { text-align: center; font-size: 20px; line-height: 26.88px; }
.panel__head { display: flex; flex-direction: column; gap: 9.7px; max-width: 1020px; }
.panel__title { font-size: clamp(56px, 6.67vw, 96px); text-align: center; }
.panel__lead { font-size: 34px; line-height: 40.96px; }

.arrow {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--grwc-black);
}
a.arrow { transition: transform .2s ease; }
a.arrow:hover { transform: translateY(4px); }

/* Contact */
.contact {
  background: var(--grwc-black);
  color: var(--grwc-white);
  padding-block: var(--gutter) 80px;
  margin-top: var(--gutter);
}
.contact__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 672px));
  gap: var(--gutter);
}
.contact__card {
  background: var(--grwc-eerie);
  border-radius: var(--radius);
  padding: 58.84px 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9.7px;
}
.contact__title { font-size: clamp(56px, 6.67vw, 96px); }
.contact__email {
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact__email:hover { text-decoration: underline; }
.contact__figure { min-height: 280px; }

/* Tablet & mobile */
@media (max-width: 1024px) {
  .pack, .pack--reverse, .contact__row { grid-template-columns: minmax(0, 1fr); }
  .pack--reverse .card { order: 0; }
  .gallery { flex-direction: row; min-height: 0; }
  .gallery .figure { aspect-ratio: 3 / 4; }
  .pack--reverse .gallery .figure, .gallery--narrow .figure { aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .intro { padding-block: 48px; }
  .eyebrow { padding-top: 56px; }
  .card, .panel, .contact__card { padding: 40px 24px; }
  .card__inner { gap: 32px; }
  .card__head h3 { font-size: 28px; line-height: 1.2; }
  .card__head p, .faq, .panel--center { font-size: 18px; line-height: 1.45; }
  .stats dd { font-size: 48px; }
  .panel__lead { font-size: 26px; line-height: 1.25; }
  .gallery { flex-direction: column; }
  .gallery .figure { flex: none; }
  .stack { gap: 32px; }
  .arrow { width: 80px; height: 80px; }
  .arrow img { width: 52px; height: 52px; }
}
