@font-face {
  font-family: "Marques";
  src: url("assets/fonts/marques-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Marques";
  src: url("assets/fonts/marques-medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Neue Haas";
  src: url("assets/fonts/neue-haas-roman.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Neue Haas";
  src: url("assets/fonts/neue-haas-medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  --green: #1c4534;
  --deep-green: #132c1f;
  --stone: #e5e0da;
  --paper: #f8f5ef;
  --chalk: #fffaf4;
  --white: #ffffff;
  --coral: #f06a67;
  --ink-soft: rgba(19, 44, 31, 0.68);
  --white-soft: rgba(255, 255, 255, 0.78);
  --line-light: rgba(255, 255, 255, 0.32);
  --line-dark: rgba(28, 69, 52, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--stone);
  color: var(--green);
  font-family: "Neue Haas", Arial, sans-serif;
  font-size: 16px;
}

body {
  background: var(--stone);
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  color: var(--white);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr;
  left: 0;
  padding: 28px 40px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3;
  min-width: 0;
}

.brand {
  align-items: center;
  display: inline-flex;
  height: 74px;
  justify-content: center;
  width: 66px;
}

.brand img {
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(8, 23, 16, 0.85));
  height: 70px;
  object-fit: contain;
  width: 62px;
}

.header-nav a {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.header-nav {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: end;
}

.header-nav a {
  align-items: center;
  border: 1px solid var(--line-light);
  border-radius: 4px;
  display: inline-flex;
  min-height: 38px;
  padding: 0 15px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--white);
  outline: none;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
}

.nav-cta {
  background: var(--white);
  border-color: var(--white);
  color: var(--green);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--deep-green);
}

.hero {
  color: var(--white);
  display: grid;
  min-height: min(860px, 92svh);
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-shade,
.hero-inner {
  grid-area: 1 / 1;
}

.hero-media {
  background-image: url("assets/images/house-of-kairos-day-render.png");
  background-position: center;
  background-size: cover;
  min-height: 0;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 23, 16, 0.82) 0%, rgba(8, 23, 16, 0.58) 45%, rgba(8, 23, 16, 0.34) 100%),
    linear-gradient(180deg, rgba(8, 23, 16, 0.6) 0%, rgba(8, 23, 16, 0.1) 32%, rgba(8, 23, 16, 0.66) 62%, rgba(8, 23, 16, 0.88) 100%);
  min-height: 0;
}

.hero-inner {
  align-items: end;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  margin: 0 auto;
  max-width: 1320px;
  padding: 158px 40px 72px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-content {
  max-width: 820px;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  text-transform: uppercase;
}

.eyebrow {
  align-items: center;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  text-shadow: 0 1px 4px rgba(8, 23, 16, 0.7), 0 2px 12px rgba(8, 23, 16, 0.45);
}

.eyebrow::before {
  background: var(--coral);
  content: "";
  display: block;
  height: 1px;
  width: 46px;
}

h1 {
  font-family: "Marques", Georgia, serif;
  font-size: clamp(68px, 9vw, 136px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.86;
  margin: 0;
  max-width: 840px;
  overflow-wrap: normal;
  text-shadow: 0 2px 10px rgba(8, 23, 16, 0.7), 0 6px 28px rgba(8, 23, 16, 0.45);
}

.tour-copy {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
  line-height: 1.46;
  margin: 28px 0 0;
  max-width: 740px;
  overflow-wrap: break-word;
  text-shadow: 0 1px 5px rgba(8, 23, 16, 0.7), 0 2px 16px rgba(8, 23, 16, 0.45);
  word-spacing: 0.04em;
}

.tour-aside {
  border-left: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.96);
  display: grid;
  gap: 24px;
  padding-left: 24px;
}

.tour-aside p {
  font-family: "Marques", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  overflow-wrap: break-word;
  text-shadow: 0 1px 5px rgba(8, 23, 16, 0.7), 0 2px 16px rgba(8, 23, 16, 0.45);
}

.primary-cta {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--white);
  border-radius: 4px;
  color: var(--green);
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--deep-green);
  outline: none;
}

.visit-note {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  margin: 0 auto;
  max-width: 1320px;
  overflow: hidden;
  padding: 78px 40px 86px;
}

.visit-copy {
  max-width: 820px;
  min-width: 0;
}

.section-kicker {
  color: var(--coral);
  margin-bottom: 18px;
}

.visit-copy p:last-child {
  color: var(--green);
  font-family: "Marques", Georgia, serif;
  font-size: clamp(36px, 4.2vw, 66px);
  font-weight: 400;
  line-height: 1.03;
  margin: 0;
  overflow-wrap: break-word;
}

.visit-side {
  display: grid;
  gap: 28px;
  padding-top: 8px;
}

.visit-location {
  border-top: 1px solid var(--line-dark);
  display: block;
  padding-top: 18px;
}

.visit-map-preview {
  aspect-ratio: 1.35;
  background: #e6e2db;
  border: 1px solid rgba(28, 69, 52, 0.22);
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.visit-map-preview iframe {
  border: 0;
  display: block;
  filter: grayscale(1) contrast(1.05);
  height: 100%;
  pointer-events: none;
  position: relative;
  width: 100%;
  z-index: 1;
}

.map-open-link {
  border-radius: 4px;
  inset: 0;
  position: absolute;
  z-index: 4;
}

.map-open-link:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: -3px;
}

.contact-list {
  border-top: 1px solid var(--line-dark);
  display: flex;
  gap: 14px;
  padding-top: 18px;
}

.contact-list a {
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--green);
  display: flex;
  height: 46px;
  justify-content: center;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
  width: 46px;
}

.contact-list a svg {
  height: 22px;
  width: 22px;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  background-color: var(--green);
  border-color: var(--green);
  color: var(--paper);
  outline: none;
}

.site-footer {
  align-items: center;
  background: var(--deep-green);
  color: rgba(229, 224, 218, 0.62);
  display: grid;
  font-size: 12px;
  font-weight: 500;
  gap: 28px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  line-height: 1.45;
  padding: 28px 40px 34px;
}

.site-footer img {
  filter: brightness(0) invert(1);
  height: 58px;
  object-fit: contain;
  width: 52px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: end;
}

.footer-links a {
  color: var(--stone);
  font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--coral);
  outline: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr;
    padding: 22px 26px;
  }

  .brand {
    height: 66px;
    width: 60px;
  }

  .brand img {
    height: 62px;
    width: 54px;
  }

  .header-nav {
    justify-self: end;
  }

  .hero {
    min-height: min(680px, 86svh);
  }

  .hero-inner {
    align-content: start;
    align-items: start;
    gap: 30px;
    grid-template-columns: 1fr;
    padding: 134px 26px 56px;
  }

  .tour-aside {
    border-left: 0;
    border-top: 1px solid var(--line-light);
    max-width: 560px;
    padding: 24px 0 0;
  }

  .visit-note {
    grid-template-columns: 1fr;
    padding: 58px 26px 66px;
  }

  .site-footer {
    align-items: start;
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 26px;
  }

  .site-footer img {
    height: 50px;
    width: 44px;
  }

  .footer-links {
    grid-column: 2;
    justify-content: start;
  }

}

@media (max-width: 620px) {
  .site-header {
    align-items: start;
    gap: 14px;
    padding: 18px 20px;
  }

  .brand {
    height: 58px;
    width: 52px;
  }

  .brand img {
    height: 56px;
    width: 48px;
  }

  .header-nav {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(218px, 100%);
  }

  .header-nav a {
    font-size: 12px;
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
  }

  .header-nav .nav-cta {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: min(620px, 84svh);
  }

  .hero-media {
    background-position: 51% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 23, 16, 0.78) 0%, rgba(8, 23, 16, 0.18) 34%, rgba(8, 23, 16, 0.82) 100%),
      linear-gradient(90deg, rgba(8, 23, 16, 0.62) 0%, rgba(8, 23, 16, 0.28) 100%);
  }

  .hero-inner {
    align-content: start;
    align-items: start;
    gap: 24px;
    padding: 126px 20px 40px;
  }

  .hero-content,
  .tour-aside,
  .visit-copy,
  .visit-side {
    max-width: calc(100vw - 40px);
    width: 100%;
  }

  .eyebrow,
  .section-kicker {
    font-size: 12px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .eyebrow::before {
    width: 34px;
  }

  h1 {
    font-size: 52px;
    line-height: 0.88;
    max-width: 100%;
  }

  .tour-copy {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 20px;
  }

  .tour-aside {
    gap: 18px;
    padding-top: 20px;
  }

  .tour-aside p {
    font-size: 21px;
  }

  .primary-cta {
    min-height: 50px;
    width: 100%;
  }

  .visit-note {
    gap: 38px;
    padding: 48px 20px 58px;
  }

  .visit-copy p:last-child {
    font-size: 32px;
    line-height: 1.08;
  }

  .site-footer {
    gap: 18px;
    padding: 24px 20px 30px;
  }

  .visit-map-preview {
    max-width: none;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 12px;
    padding: 16px;
  }

  .brand {
    height: 54px;
    width: 48px;
  }

  .brand img {
    height: 52px;
    width: 44px;
  }

  .header-nav {
    gap: 6px;
    width: min(204px, 100%);
  }

  .header-nav a {
    font-size: 11px;
    min-height: 32px;
    padding: 0 8px;
  }

  .hero-inner {
    padding: 128px 16px 30px;
  }

  .hero-content,
  .tour-aside,
  .visit-copy,
  .visit-side {
    max-width: calc(100vw - 32px);
  }

  h1 {
    font-size: 46px;
  }

  .tour-copy {
    font-size: 15px;
    line-height: 1.48;
  }

  .tour-aside p {
    font-size: 19px;
  }

  .visit-note {
    padding: 42px 16px 52px;
  }

  .visit-copy p:last-child {
    font-size: 28px;
  }

  .site-footer {
    gap: 14px;
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 22px 16px 28px;
  }

  .site-footer img {
    height: 44px;
    width: 38px;
  }

  .visit-map-preview {
    max-width: none;
  }
}

@media (max-width: 620px) and (max-height: 640px) {
  .hero {
    min-height: 0;
  }

  .hero-inner {
    padding-bottom: 24px;
    padding-top: 116px;
  }

  .tour-copy {
    line-height: 1.42;
    margin-top: 16px;
  }

  .tour-aside {
    gap: 14px;
    padding-top: 16px;
  }

  .tour-aside p {
    display: none;
  }
}
