@import url('./tokens.css');

* { box-sizing: border-box; }
html { background: var(--color-dark); color: var(--color-cream); }
body { margin: 0; font-family: var(--font-serif); font-synthesis: none; }
a { color: inherit; }
.hero {
  --hero-type-unit: clamp(0px, 0.05787037vw, 1px);
  --hero-heading-size: clamp(40px, calc(150 * var(--hero-type-unit)), 150px);
  --hero-body-size: clamp(16px, calc(32 * var(--hero-type-unit)), 32px);
  --hero-small-size: clamp(12px, calc(18 * var(--hero-type-unit)), 18px);
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 958px;
  min-height: max(720px, 100svh);
  padding: 96px 4.5%;
  overflow: hidden;
  background: var(--color-dark);
}
.hero__background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__content { width: 100%; display: flex; flex-direction: column; align-items: center; gap: clamp(28px, calc(48 * var(--hero-type-unit)), 48px); text-align: center; }
.hero__heading { width: 100%; }
.hero__contact { margin: 0 0 clamp(20px, calc(32 * var(--hero-type-unit)), 32px); font-size: var(--hero-small-size); line-height: 1.25; }
.hero__contact a { text-decoration: none; }
.hero__contact a:hover { text-decoration: underline; text-underline-offset: .2em; }
.hero__slogan { margin: 0; color: var(--color-accent); font-family: var(--font-heading); font-size: var(--hero-heading-size); font-weight: 600; line-height: .8; letter-spacing: -.04em; }
.hero__slogan span { display: block; }
.hero__intro { font-family: var(--font-serif); font-weight: 400; letter-spacing: 0; color: var(--color-cream); width: 100%; max-width: clamp(280px, calc(1006 * var(--hero-type-unit)), 1006px); margin: 0; font-size: var(--hero-body-size); line-height: 1.41134375; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: var(--button-height); padding: 10px var(--button-padding-inline); border: 0; background: var(--color-cream); color: var(--color-dark); font: 400 var(--button-font-size)/1.25 var(--font-serif); text-align: center; text-decoration: none; cursor: pointer; transition: background-color 250ms ease, color 250ms ease; }
.button:hover, .button:focus-visible { background: var(--color-accent); color: var(--color-cream); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
:focus-visible { outline: 2px solid var(--color-cream); outline-offset: 6px; }
.motion-toggle { position: absolute; right: 24px; bottom: 20px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--color-accent); cursor: pointer; border-radius: 50%; transition: background-color 200ms ease; }
.motion-toggle:hover { background: rgba(23,22,21,.35); }
.motion-toggle:focus-visible { outline-color: var(--color-accent); outline-offset: 2px; }
.motion-toggle__icon { display: block; width: 12px; height: 16px; border-inline: 4px solid currentColor; }
.motion-toggle.is-paused .motion-toggle__icon { width: 0; height: 0; margin-left: 3px; border: 0; border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
@media (max-width: 1100px) {
  .hero { min-height: max(640px, 100svh); padding: 88px 6%; }
}
@media (max-width: 600px) {
  .hero { min-height: max(660px, 100svh); padding: 80px 20px 96px; }
  .hero { --hero-heading-size: clamp(36px, 10.7vw, 64px); }
  .hero__slogan { line-height: .9; }
  .hero__intro { line-height: 1.4; }
  .motion-toggle { right: 16px; bottom: 16px; }
}
