/* GlassArray — static port of glassarray.com home */

@font-face {
  font-family: "Univers Bold";
  src: url("../fonts/univers-bold.woff2") format("woff2"),
       url("../fonts/univers-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GT Zirkon";
  src: url("../fonts/gt-zirkon-regular.woff2") format("woff2"),
       url("../fonts/gt-zirkon-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #a8b1b9;
  --black: #000000;
  --white: #faf8f4;
  --muted: #7e858b;
  --content: 980px;
  --font-body: "GT Zirkon", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Univers Bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

strong {
  font-weight: 700;
}

.wrap {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-inline: 16px;
}

/* ——— Header / nav ——— */
.site-header {
  padding: 18px 0 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 36px;
  list-style: none;
  margin: 0;
  padding: 8px 0 14px;
}

.nav a {
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--black);
}

.nav a:hover {
  opacity: 0.7;
}

.nav a[aria-current="page"] {
  font-weight: 700;
}

.header-rule {
  border: 0;
  border-top: 1px solid var(--black);
  margin: 0;
}

/* ——— Hero ——— */
.hero {
  padding: 100px 0 0;
  text-align: center;
}

.hero-lead {
  max-width: 980px;
  margin: 0 auto 14px;
  font-size: 18px;
  line-height: 1.5;
}

.hero-title {
  margin: 0 auto 36px;
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 85px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

/* ——— Video ——— */
.video-section {
  padding: 43px 0 34px;
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 980 / 554;
  background: var(--black);
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ——— About ——— */
.about {
  padding: 0 0 26px;
}

.about-copy {
  max-width: 917px;
  margin: 0 auto 26px;
  font-size: 18px;
  line-height: 1.5;
}

.about-actions {
  text-align: center;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  height: 40px;
  padding: 0 18px;
  background: var(--black);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.1em;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--muted);
}

/* ——— Gallery (full-bleed; fixed height → wider = more crop/zoom) ——— */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 100%;
  margin: 0;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  height: 391px;
  background: var(--bg);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ——— Quotes / slideshow ——— */
.quotes {
  margin-top: 0;
  background: var(--black);
  color: var(--white);
}

.quotes-inner {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
  min-height: 338px;
  padding: 48px 56px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.quote-slide {
  display: none;
  width: 100%;
}

.quote-panel {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  flex: 0 0 auto;
}

.quote-slide.is-active {
  display: block;
  animation: quote-fade 0.45s ease;
}

@keyframes quote-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.quote-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

.quote-rule {
  width: 36px;
  height: 1px;
  margin: 22px auto 18px;
  background: var(--bg);
  border: 0;
}

.quote-attribution {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--white);
}

.quote-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bg);
  cursor: pointer;
}

.quote-nav svg {
  width: 18px;
  height: 36px;
  fill: currentColor;
}

.quote-nav--prev { left: 12px; }
.quote-nav--next { right: 12px; }
.quote-nav--next svg { transform: scaleX(-1); }

.quote-nav:hover {
  opacity: 0.7;
}

.quote-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.quote-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  opacity: 0.55;
  cursor: pointer;
}

.quote-dots button[aria-current="true"] {
  width: 9px;
  height: 9px;
  opacity: 1;
}

.site-footer {
  height: 24px;
  background: var(--bg);
}

/* ——— Inner pages ——— */
.page {
  padding: 53px 0 80px;
}

.page-title {
  margin: 0 0 19px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
}

.page-title--center {
  text-align: center;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1;
  margin-bottom: 28px;
}

.page-kicker {
  margin: 0 0 1em;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.page-copy {
  max-width: 826px;
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
}

.page-copy p {
  margin: 0 0 1em;
}

.page-copy p:last-child {
  margin-bottom: 0;
}

.page-copy .lede {
  margin-bottom: 1.25em;
}

.page-copy h2 {
  margin: 1.4em 0 0.6em;
  font-size: 20px;
  font-weight: 700;
  text-decoration: underline;
  font-family: var(--font-body);
}

.page-copy ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.page-copy li {
  margin: 0 0 0.85em;
}

.page-copy li:last-child {
  margin-bottom: 0;
}

.page-contact {
  margin: 2em 0 0;
  font-size: 20px;
  line-height: 1.4;
}

.page-contact a {
  text-decoration: underline;
}

.page-copy--body {
  font-size: 18px;
  max-width: 980px;
}

.page-copy--body p {
  margin: 0 0 1.15em;
}

.contact-block {
  margin-top: 2em;
  font-size: 20px;
  line-height: 1.5;
}

.contact-block a {
  text-decoration: underline;
}

/* Specs */
.specs-figure {
  margin: 0 0 28px;
  overflow: hidden;
}

.specs-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  max-width: 980px;
}

.specs-col h2 {
  margin: 0 0 0.75em;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.specs-col p,
.specs-col .spec-block {
  margin: 0 0 1.5em;
  font-size: 16px;
  line-height: 1.5;
}

.specs-col .spec-block:last-child {
  margin-bottom: 0;
}

.specs-licensing {
  margin: 2em 0 0;
  font-size: 16px;
  line-height: 1.5;
}

.specs-licensing a {
  text-decoration: underline;
}

/* Antimodular hero image — full content width, fixed height crop */
.anti-figure {
  margin: 40px 0 0;
  width: 100%;
  max-width: 980px;
  height: 303px;
  overflow: hidden;
}

.anti-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

@media (max-width: 720px) {
  .nav {
    gap: 10px 20px;
  }

  .hero {
    padding-top: 56px;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .gallery figure {
    height: 260px;
  }

  .quotes-inner {
    padding: 40px 40px 72px;
    min-height: 300px;
  }

  .quote-nav--prev { left: 4px; }
  .quote-nav--next { right: 4px; }

  .specs-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .anti-figure {
    height: 200px;
  }
}
