:root {
  --warm-brown: #bc936f;
  --ink: #2f1f14;
  --panel: rgba(252, 241, 226, 0.34);

  --shell-max-width: 120rem;
  --shell-inline: clamp(0.8rem, 4vw, 1.2rem);
  --shell-block: clamp(0.8rem, 2.4vh, 1.1rem);
  --layout-gap: clamp(0.78rem, 2vh, 1rem);
  --column-gap: clamp(0.9rem, 2vw, 1.2rem);
  --control-gap: 0.65rem;

  --image-size: min(74vw, 20rem);

  --title-size: clamp(2.75rem, 12vw, 3.5rem);
  --subline-size: clamp(0.9rem, 3.2vw, 0.95rem);
  --zone-size: clamp(0.93rem, 2.8vw, 0.98rem);
  --info-title-size: clamp(1.2rem, 3.4vw, 1.3rem);
  --info-body-size: clamp(0.93rem, 2.7vw, 0.95rem);

  --industry-gap: 10px;
  --industry-button-height: 3.15rem;
  --industry-stack-span: calc((4 * var(--industry-button-height)) + (3 * var(--industry-gap)));
  --info-title-band: 2.3em;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Manrope", "Avenir Next", sans-serif;
  color: var(--ink);
  background: var(--warm-brown);
  overflow-x: hidden;
  overflow-y: auto;
  font-kerning: normal;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font: inherit;
  color: inherit;
}

.page-shell {
  min-height: 100dvh;
  width: min(100%, var(--shell-max-width));
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--layout-gap);
  padding: var(--shell-block) var(--shell-inline) 1.1rem;
}

@supports not (height: 100dvh) {
  .page-shell {
    min-height: 100vh;
  }
}

.site-header {
  text-align: center;
  max-width: 76rem;
  width: 100%;
  justify-self: center;
  transform: none;
}

.brand-title {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: var(--title-size);
  line-height: 1.03;
  letter-spacing: 0.01em;
}

.brand-byline {
  display: block;
  font-size: 1em;
  font-weight: 400;
}

.brand-core {
  display: block;
}

.brand-subline {
  margin: 0.55rem auto 0;
  max-width: 34ch;
  font-size: var(--subline-size);
  line-height: 1.45;
  color: rgba(47, 31, 20, 0.88);
}

.main-layout {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "image"
    "controls"
    "info";
  row-gap: 0.8rem;
  align-items: start;
}

.image-column {
  grid-area: image;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
  min-height: 0;
  min-width: 0;
}

.image-stack {
  position: relative;
  width: var(--image-size);
  aspect-ratio: 1 / 1;
  align-self: end;
  isolation: isolate;
}

.base-frame,
.head-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  transform: translateZ(0);
  pointer-events: none;
  user-select: none;
}

.base-frame {
  opacity: 1;
}

.head-overlay {
  opacity: 0;
  transition: opacity 180ms ease;
  will-change: opacity;
}

.head-overlay.is-active {
  opacity: 1;
}

.head-overlay[data-overlay="down"] {
  transform: translate3d(6px, 0, 0);
}

.button-column {
  grid-area: controls;
  width: min(100%, 24rem);
  justify-self: center;
  align-self: start;
  position: static;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: var(--control-gap);
  padding-top: 0;
  padding-bottom: 18px;
}

.button-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--industry-gap);
  margin-top: 0;
}

.zone {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(63, 40, 27, 0.24);
  border-radius: 0.75rem;
  padding: 0.72rem 0.9rem;
  font-size: var(--zone-size);
  line-height: 1.16;
  font-family: "DM Serif Display", Georgia, serif;
  letter-spacing: 0.03em;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease;
}

.zone.is-current,
.zone:hover,
.zone:focus-visible {
  background: rgba(67, 38, 18, 0.88);
  border-color: rgba(67, 38, 18, 0.88);
  color: #fcefe3;
  outline: none;
}

.social-block {
  position: static;
  width: 100%;
  margin-top: 0.35rem;
  text-align: center;
}

.follow-label {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(47, 31, 20, 0.76);
}

.social-links {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.38rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-link {
  width: 1.74rem;
  height: 1.74rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(252, 241, 226, 0.44);
  border: 1px solid rgba(72, 45, 29, 0.2);
  transition: transform 140ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

.social-link img {
  width: 0.92rem;
  height: 0.92rem;
  object-fit: contain;
  filter: none;
  transition: filter 170ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 18px rgba(34, 21, 14, 0.35);
  background: rgba(252, 241, 226, 0.64);
  outline: none;
}

.social-link:hover img,
.social-link:focus-visible img {
  filter: drop-shadow(0 6px 8px rgba(24, 13, 8, 0.32));
}

.info-column {
  grid-area: info;
  width: min(100%, 44rem);
  justify-self: center;
  height: auto;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  align-items: center;
  gap: 0.8rem;
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 0;
  transform: none;
  text-align: center;
}

.info-title {
  margin: 0 auto;
  width: 100%;
  max-width: 40ch;
  min-height: 2.3em;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: var(--info-title-size);
  line-height: 1.15;
}

.info-body {
  margin: 0;
  width: 100%;
  max-width: 40ch;
  min-height: 0;
  margin-left: auto;
  margin-right: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  font-size: var(--info-body-size);
  line-height: 1.58;
  color: rgba(47, 31, 20, 0.9);
  overflow: visible;
}

@media (min-width: 48rem) {
  :root {
    --shell-inline: 1.05rem;
    --shell-block: 1rem;
    --layout-gap: 0.9rem;
    --column-gap: 0.9rem;
    --control-gap: 0.75rem;
    --image-size: 24rem;
    --title-size: 3.5rem;
    --subline-size: 0.95rem;
    --zone-size: 0.97rem;
    --info-title-size: 1.32rem;
    --info-body-size: 0.95rem;
    --industry-gap: 32px;
  }

  .brand-subline {
    max-width: 45ch;
  }

  .main-layout {
    grid-template-columns: minmax(13rem, 0.95fr) minmax(13rem, 1.05fr);
    grid-template-areas:
      "image controls"
      "info info";
    row-gap: 0.9rem;
    column-gap: var(--column-gap);
    align-items: end;
  }

  .image-column {
    justify-content: center;
  }

  .button-column {
    width: 100%;
    max-width: 22rem;
    padding-bottom: 32px;
  }

  .zone {
    border-radius: 0.9rem;
    padding: 0.82rem 1rem;
  }

  .follow-label {
    font-size: 0.84rem;
    letter-spacing: 0.1em;
  }

  .social-links {
    gap: 0.62rem;
  }

  .social-link {
    width: 2.1rem;
    height: 2.1rem;
  }

  .social-link img {
    width: 1.1rem;
    height: 1.1rem;
  }

  .info-body {
    line-height: 1.56;
  }
}

@media (min-width: 64rem) {
  :root {
    --shell-inline: 1.45rem;
    --shell-block: 1.2rem;
    --layout-gap: 1rem;
    --column-gap: 1.1rem;
    --control-gap: 0.9rem;
    --image-size: clamp(21rem, 29vw, 31rem);
    --title-size: clamp(3.9rem, 5.25vw, 4.65rem);
    --subline-size: 1rem;
    --zone-size: 1rem;
    --info-title-size: 1.38rem;
    --info-body-size: 0.97rem;
    --industry-gap: 32px;
    --info-title-band: 3rem;
  }

  .site-header {
    margin-top: 0.7rem;
  }

  .main-layout {
    grid-template-columns: minmax(12rem, 1fr) minmax(13rem, 20rem) minmax(13rem, 1fr);
    grid-template-areas: "image controls info";
    row-gap: 0;
    column-gap: var(--column-gap);
    align-items: start;
  }

  .image-column {
    justify-content: flex-start;
    align-self: end;
  }

  .button-column {
    width: min(100%, 20rem);
    min-height: 0;
    align-self: start;
    margin-top: clamp(2.8rem, 9vh, 4.8rem);
    padding-bottom: 0;
  }

  .social-block {
    margin-top: clamp(1.4rem, 2.6vh, 2.1rem);
    padding-top: 0;
  }

  .info-column {
    width: min(100%, 32rem);
    min-height: 0;
    align-self: start;
    margin-top: clamp(2.8rem, 9vh, 4.8rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(0.9rem, 1.4vh, 1.15rem);
  }

  .info-title {
    min-height: 0;
    height: auto;
  }

  .info-body {
    line-height: 1.52;
  }
}

@media (min-width: 90rem) {
  :root {
    --shell-inline: 2.5rem;
    --shell-block: 2.1rem;
    --layout-gap: 1.15rem;
    --column-gap: 1.9rem;
    --control-gap: 1rem;
    --image-size: 44rem;
    --title-size: 5.2rem;
    --subline-size: 1.12rem;
    --zone-size: 1.12rem;
    --info-title-size: 1.58rem;
    --info-body-size: 1rem;
    --industry-gap: 40px;
    --industry-button-height: 3.15rem;
    --industry-stack-span: calc((4 * var(--industry-button-height)) + (3 * var(--industry-gap)));
    --info-title-band: 3.55rem;
  }

  .page-shell {
    padding: 0 var(--shell-inline) 0;
  }

  .site-header {
    margin-top: 0;
    transform: translateY(122px);
  }

  .brand-subline {
    margin: 0.65rem auto 0;
    max-width: 60ch;
  }

  .main-layout {
    grid-template-columns: minmax(18rem, 1fr) minmax(14rem, 23rem) minmax(18rem, 1fr);
    grid-template-areas: "image controls info";
    align-items: end;
  }

  .image-column {
    align-self: end;
  }

  .image-stack {
    width: min(100%, var(--image-size));
  }

  .button-column {
    width: min(100%, 23rem);
    justify-self: center;
    align-self: stretch;
    position: relative;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 40px;
    min-height: 0;
  }

  .button-stack {
    gap: var(--industry-gap);
    margin-top: 0;
  }

  .zone {
    border-radius: 0.9rem;
    padding: 0.92rem 1.1rem;
  }

  .social-block {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    margin-top: 0;
    padding-top: 0;
  }

  .follow-label {
    font-size: 0.84rem;
    letter-spacing: 0.1em;
  }

  .social-links {
    margin-top: 0.6rem;
    gap: 0.62rem;
  }

  .social-link {
    width: 2.5rem;
    height: 2.5rem;
  }

  .social-link img {
    width: 1.32rem;
    height: 1.32rem;
  }

  .info-column {
    width: min(100%, 36rem);
    justify-self: center;
    align-self: center;
    height: var(--industry-stack-span);
    min-height: 0;
    display: grid;
    grid-template-rows: var(--info-title-band) 1fr;
    align-items: start;
    justify-items: center;
    gap: 0;
    padding-bottom: 0;
    transform: none;
  }

  .info-title {
    min-height: 0;
    height: var(--info-title-band);
  }

  .info-body {
    font-size: 0.94rem;
    line-height: 1.5;
    overflow: hidden;
  }
}

@media (min-width: 118.75rem) {
  :root {
    --shell-max-width: 138rem;
    --shell-inline: 3.2rem;
    --column-gap: 2.8rem;
    --image-size: 50rem;
    --title-size: 6.2rem;
    --subline-size: 1.2rem;
    --zone-size: 1.22rem;
    --info-title-size: 1.78rem;
    --info-body-size: 1.08rem;
  }

  .main-layout {
    grid-template-columns: minmax(20rem, 1fr) minmax(16rem, 24rem) minmax(20rem, 1fr);
  }
}

@media (min-width: 90rem) and (min-aspect-ratio: 21 / 9) {
  .main-layout {
    grid-template-columns: minmax(22rem, 1fr) minmax(16rem, 24rem) minmax(22rem, 1fr);
  }
}

@media (max-height: 920px) and (min-width: 90rem) {
  :root {
    --shell-block: 0.95rem;
    --layout-gap: 0.78rem;
    --control-gap: 0.62rem;
    --title-size: 4rem;
    --subline-size: 0.98rem;
    --zone-size: 0.98rem;
    --info-body-size: 0.94rem;
    --industry-gap: 30px;
  }

  .zone {
    padding: 0.72rem 0.95rem;
  }

  .button-stack {
    margin-top: 0;
  }

  .social-link {
    width: 1.88rem;
    height: 1.88rem;
  }
}

@media (max-height: 760px) and (min-width: 90rem) {
  :root {
    --title-size: 3.4rem;
    --subline-size: 0.92rem;
    --image-size: 27rem;
    --industry-gap: 22px;
  }

  .main-layout {
    align-items: start;
  }

  .button-stack {
    margin-top: 0;
  }

  .info-body {
    line-height: 1.5;
  }
}
