@font-face {
  font-family: 'GeometosRounded';
  src: url('GeometosRounded.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gold: #9A7D2E;
  --gold-light: #b8952e;
  --muted: #888880;
  --rule: #2a2a22;
  --card-bg: #111108;
}

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: 'GeometosRounded', sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--rule);
}

.back-btn {
  font-family: 'GeometosRounded', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.back-btn:hover { color: var(--gold); }

.header-logo {
  font-family: 'GeometosRounded', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 30px;
  width: auto;
  display: block;
}

/* Main */
main {
  flex: 1;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 5vh 2rem 6vh;
}

/* Hero */
.hero {
  text-align: center;
  padding-bottom: 2rem;
}

.molecule {
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: invert(1) brightness(1.3) contrast(1.6) sepia(0.4) saturate(2);
  margin-bottom: 2rem;
}

.molecule.flip { transform: rotate(180deg); }

.title {
  font-family: 'GeometosRounded', sans-serif;
  font-size: clamp(2rem, 8vw, 3.5rem);
  letter-spacing: 0.2em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.subtitle {
  font-family: 'GeometosRounded', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Divider */
.rule {
  width: 1px;
  height: 50px;
  background: var(--gold);
  opacity: 0.4;
  margin: 3rem auto;
}

/* Sections */
.sections {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.section {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
}

.section-title {
  font-family: 'GeometosRounded', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.section-body {
  font-family: 'GeometosRounded', sans-serif;
  font-size: 0.78rem;
  line-height: 2;
  color: #aaaaaa;
}

/* Disclaimer */
.disclaimer {
  margin-top: 4rem;
  font-family: 'GeometosRounded', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #444440;
  line-height: 2;
  text-align: center;
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--rule);
}

footer span {
  font-family: 'GeometosRounded', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
}

.footer-logo {
  height: 26px;
  width: auto;
  display: block;
  margin: 0 auto 0.6rem;
  opacity: 0.7;
}

/* Learn More link */
.learn-more {
  display: inline-block;
  font-family: 'GeometosRounded', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--gold);
  padding: 0.55rem 1.1rem;
  transition: background 0.2s, color 0.2s;
}
.learn-more:hover {
  background: var(--gold);
  color: var(--black);
}

/* Effects grid */
.effects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 1.25rem;
}
.effects-col {
  background: var(--card-bg);
  padding: 1.25rem 1.25rem 1.5rem;
}
.effects-col-title {
  font-family: 'GeometosRounded', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.effects-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.effects-list li {
  font-family: 'GeometosRounded', sans-serif;
  font-size: 0.64rem;
  line-height: 1.7;
  color: #888880;
  padding-left: 0.85rem;
  position: relative;
}
.effects-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.45;
  font-size: 0.5rem;
  top: 0.18rem;
}

/* Section photos */
.section-photo {
  margin: 2.5rem 0;
}
.section-photo img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
  filter: grayscale(20%) contrast(1.08) brightness(0.92);
}
.section-photo-caption {
  font-family: 'GeometosRounded', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3a3a36;
  text-align: right;
  margin-top: 0.5rem;
  line-height: 1.8;
}

/* ──────────────────────────────────────────────────────────────
   FACELIFT LAYER — crispness + mobile (added 2026-06-12)
   Additive only: refines rendering, focus/touch behaviour, and
   responsiveness without altering the existing visual language.
   ────────────────────────────────────────────────────────────── */

/* Sharper text rendering + sensible global defaults */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Never let media or embeds force horizontal scroll */
img, svg, video, iframe {
  max-width: 100%;
}

/* Keyboard-accessible focus ring in the brand gold */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Micro-interactions — subtle, in keeping with the angular aesthetic */
.molecule {
  transition: filter 0.4s ease, transform 0.4s ease;
}
.hero:hover .molecule {
  filter: invert(1) brightness(1.55) contrast(1.7) sepia(0.45) saturate(2.4);
}

.section {
  transition: border-color 0.25s ease;
}
.section:hover {
  border-color: var(--gold-light);
}

.learn-more:active {
  transform: translateY(1px);
}

.effects-col,
.section {
  -webkit-tap-highlight-color: transparent;
}

/* Honour reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── Tablet / small laptop ── */
@media (max-width: 760px) {
  header { padding: 1.15rem 1.25rem; }
  main { padding: 4vh 1.25rem 5vh; }

  .molecule { width: 150px; height: 150px; margin-bottom: 1.5rem; }

  .title { letter-spacing: 0.14em; }
  .rule { margin: 2.25rem auto; }

  .section { padding-left: 1.1rem; }
  .section-body { font-size: 0.8rem; }      /* nudge up for readability */

  .section-photo img { max-height: 220px; }
}

/* ── Phones ── */
@media (max-width: 480px) {
  header { padding: 1rem 1rem; }
  main { padding: 3.5vh 1rem 4.5vh; }

  .header-logo img { height: 26px; }
  .back-btn { font-size: 0.56rem; letter-spacing: 0.24em; }

  .molecule { width: 124px; height: 124px; margin-bottom: 1.25rem; }
  .title { letter-spacing: 0.1em; }
  .subtitle { font-size: 0.6rem; letter-spacing: 0.22em; word-break: break-word; }

  .section-body { font-size: 0.82rem; line-height: 1.95; }

  /* Effects: 2 readable columns instead of cramped auto-fit */
  .effects-grid { grid-template-columns: 1fr 1fr; }
  .effects-col { padding: 1rem 1rem 1.25rem; }

  .section-photo { margin: 1.75rem 0; }
  .section-photo img { max-height: 180px; }

  .disclaimer { font-size: 0.55rem; letter-spacing: 0.16em; }
  footer { padding: 1.75rem 1.25rem; }
}

/* ── Very narrow phones ── */
@media (max-width: 360px) {
  .effects-grid { grid-template-columns: 1fr; }
}
