@font-face {
  font-family: "Red Hat Display";
  src: url("/assets/fonts/red-hat-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --text: #f5f2ed;
  --text-muted: rgba(245, 242, 237, .82);
  --text-subtle: rgba(245, 242, 237, .65);
  --line: rgba(245, 242, 237, .33);
  --background: #07141b;
  --page-gutter: clamp(40px, 6.667vw, 128px);
  font-family: "Red Hat Display", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 0; }
body { margin: 0; min-width: 0; }
a { color: inherit; }
a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
  border-radius: 1px;
}

/* The photographic composition is also the page background. */
.home {
  min-height: 100%;
  background-color: var(--background);
  color: var(--text);
}
.composition {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 var(--page-gutter) calc(28px + env(safe-area-inset-bottom));
  background-image:
    linear-gradient(90deg, rgba(2, 12, 19, .80) 0%, rgba(2, 12, 19, .63) 30%, rgba(2, 12, 19, .31) 57%, rgba(2, 12, 19, .07) 100%),
    linear-gradient(0deg, rgba(1, 10, 16, .96) 0%, rgba(1, 10, 16, .66) 21%, rgba(1, 10, 16, .22) 47%, rgba(1, 10, 16, 0) 78%),
    url("/assets/images/background.jpg");
  background-size: cover;
  background-position: center, center, center 100%;
  background-repeat: no-repeat;
}

.intro {
  margin-top: clamp(90px, 21.75svh, 115px);
  max-width: 600px;
}
.intro h1 {
  font-size: clamp(50px, 4.80vw, 69px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.045;
  margin: 0;
}
.intro h1 span { display: block; }
.intro-description {
  max-width: 660px;
  margin: 23px 0 0;
  font-size: 17.5px;
  line-height: 1.48;
  font-weight: 400;
  letter-spacing: -.012em;
  color: var(--text-muted);
}

.information {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 29px;
  margin-top: auto;
  margin-bottom: 48px;
  padding-top: 55px;
}
.information-group {
  position: relative;
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.information-group h2 {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.015em;
}
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.link-list li { margin: 0; }
.link-list a, .information-contact address {
  font-size: 15px;
  line-height: 1.76;
  letter-spacing: -.011em;
  font-weight: 400;
  color: var(--text-muted);
}
.link-list a { text-decoration: none; transition: color .2s ease; }
.link-list a:hover { color: var(--text); }
.outbound::after {
  content: "\2197\FE0E";
  display: inline-block;
  margin-left: .38em;
  font-family: Arial, sans-serif;
  font-size: .88em;
  font-weight: 400;
  line-height: 1;
  transition: transform .22s ease;
}
.outbound:hover::after { transform: translate(2px, -2px); }
.information-contact address { font-style: normal; line-height: 1.56; }
.information-contact address span { display: block; }
.information-contact .contact-links { margin-top: 12px; }
.information-contact .contact-links a { line-height: 1.56; }
.information-contact .contact-links a { overflow-wrap: anywhere; }

.site-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: var(--text-subtle);
  font-size: 12px;
  line-height: 1.4;
}
.site-footer small { font-size: inherit; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--text); }

/* An understated, progressive reveal; all content is present without JS. */
@keyframes fade-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes line-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .intro h1 { animation: fade-rise .65s cubic-bezier(.22, 1, .36, 1) both; }
  .intro-description { animation: fade-rise .65s cubic-bezier(.22, 1, .36, 1) .11s both; }
  .information-group { border-top-color: transparent; animation: fade-rise .55s cubic-bezier(.22, 1, .36, 1) both; }
  .information-group::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    border-top: 1px solid var(--line);
    animation: line-reveal .6s ease both;
  }
  .information-group:nth-child(1), .information-group:nth-child(1)::before { animation-delay: .22s; }
  .information-group:nth-child(2), .information-group:nth-child(2)::before { animation-delay: .28s; }
  .information-group:nth-child(3), .information-group:nth-child(3)::before { animation-delay: .34s; }
  .information-group:nth-child(4), .information-group:nth-child(4)::before { animation-delay: .40s; }
  .information-group:nth-child(5), .information-group:nth-child(5)::before { animation-delay: .46s; }
}

/* Content-aware changes of column structure, not device assumptions. */
@media (max-width: 1100px) {
  :root { --page-gutter: clamp(32px, 5vw, 55px); }
  .intro h1 { font-size: clamp(46px, 5.1vw, 59px); }
  .intro-description { font-size: 16px; }
  .information { column-gap: 20px; }
  .information-group h2 { font-size: 14px; }
  .link-list a, .information-contact address { font-size: 13.5px; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .information-contact .contact-links a { font-size: 12px; letter-spacing: -.02em; }
}
@media (max-width: 960px) {
  .intro { margin-top: clamp(85px, 13svh, 130px); }
  .information {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 35px;
    margin-top: 70px;
    padding-top: 0;
    margin-bottom: 70px;
  }
  .information-contact { grid-column: 1 / -1; }
  .information-group h2 { font-size: 15px; }
  .link-list a, .information-contact address { font-size: 15px; }
}
@media (max-width: 600px) {
  :root { --page-gutter: 30px; }
  .composition {
    padding-bottom: calc(25px + env(safe-area-inset-bottom));
    background-image:
      linear-gradient(90deg, rgba(1, 12, 19, .58), rgba(1, 12, 19, .26)),
      linear-gradient(180deg, rgba(1, 11, 18, .24) 0%, rgba(1, 11, 18, .40) 29%, rgba(1, 11, 18, .62) 54%, rgba(1, 9, 15, .96) 88%, rgba(1, 9, 15, .98) 100%),
      url("/assets/images/background.jpg");
    background-position: center, center, 79% center;
  }
  .intro { margin-top: calc(clamp(72px, 10.5svh, 105px) + 5px); }
  .intro h1 { font-size: clamp(35px, 10.25vw, 41px); line-height: 1.015; letter-spacing: -.025em; }
  .intro-description { font-size: 14px; line-height: 1.58; margin-top: 26px; letter-spacing: -.008em; }
  .information {
    column-gap: 20px;
    row-gap: 23px;
    margin-top: clamp(78px, 12svh, 122px);
    margin-bottom: 62px;
  }
  .information-group { padding-top: 14px; }
  .information-group h2 { font-size: 14px; margin-bottom: 15px; }
  .link-list a, .information-contact address { font-size: 14px; line-height: 1.94; }
  .information-contact .contact-links { margin-top: 13px; }
  .information-contact address, .information-contact .contact-links a { line-height: 1.58; }
  .site-footer { font-size: 11px; gap: 10px; }
  .site-footer nav { gap: 17px; }
}
@media (max-width: 340px) {
  :root { --page-gutter: 22px; }
  .intro h1 { font-size: 34px; }
  .information { column-gap: 14px; }
  .link-list a, .information-contact address { font-size: 13px; }
  .site-footer nav { gap: 10px; }
}

/* The legal pages prioritize text instead of immersive photography. */
.legal {
  background: var(--background);
  color: var(--text);
}
.legal-layout {
  max-width: 760px;
  margin-inline: auto;
  padding: 68px 32px 104px;
}
.back-link {
  display: inline-block;
  margin-bottom: 62px;
  font-size: 14px;
  color: var(--text-subtle);
  text-decoration: none;
}
.back-link:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.legal h1 {
  font-size: clamp(44px, 6vw, 62px);
  line-height: 1.09;
  letter-spacing: -.035em;
  font-weight: 900;
  margin: 0 0 44px;
}
.legal h2 {
  font-size: clamp(24px, 3vw, 29px);
  line-height: 1.25;
  letter-spacing: -.025em;
  margin: 52px 0 22px;
  font-weight: 700;
}
.legal h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -.01em;
  margin: 36px 0 14px;
  font-weight: 700;
}
.legal h4 {
  font-size: 16px;
  line-height: 1.5;
  margin: 26px 0 10px;
  font-weight: 700;
}
.legal p, .legal address, .legal li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
  font-style: normal;
}
.legal p + p { margin-top: 18px; }
.legal a:not(.back-link) { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal ul { padding-left: 24px; margin: 0 0 24px; }
.legal ul li { margin-bottom: 8px; }
@media (max-width: 600px) {
  .legal-layout { padding: 36px 28px 75px; }
  .back-link { margin-bottom: 48px; }
  .legal h1 { margin-bottom: 32px; }
  .legal h2 { margin-top: 44px; }
  .legal p, .legal address, .legal li { font-size: 15px; }
}
@media (max-width: 300px) {
  :root { --page-gutter: 18px; }
  .intro h1 { font-size: 30px; overflow-wrap: anywhere; }
  .information { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .information-contact { grid-column: auto; }
  .site-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms;
    animation-iteration-count: 1;
    transition-duration: .01ms;
    scroll-behavior: auto;
  }
}
