/*
 @file styles.css
 @brief DramiShort orange-theme responsive website styles.
*/
:root {
  --orange: #ff6a1a;
  --orange-deep: #e95100;
  --orange-soft: #fff3eb;
  --ink: #17130f;
  --muted: #716961;
  --line: #ece6e0;
  --paper: #fffdfb;
  --soft: #faf7f4;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(236,230,224,.9);
  background: rgba(255,253,251,.92);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px 10px 10px 3px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(255,106,26,.22);
}
nav { display: flex; gap: 28px; }
nav a {
  text-decoration: none;
  color: #5e564f;
  font-size: 14px;
  font-weight: 650;
}

.hero {
  min-height: 650px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  right: -120px;
  top: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,174,115,.98), rgba(255,106,26,.86) 45%, rgba(255,106,26,0) 72%);
  filter: blur(4px);
  opacity: .38;
}
.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: 120px;
  bottom: -170px;
  border-radius: 44% 56% 60% 40%;
  background: var(--orange);
  opacity: .08;
  transform: rotate(18deg);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 110px 0 120px;
}
.eyebrow, .section-label {
  margin: 0 0 16px;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .17em;
}
h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(52px, 7.5vw, 90px);
  line-height: .98;
  letter-spacing: -.06em;
}
h1 span { color: var(--orange); }
.lead {
  max-width: 680px;
  margin: 28px 0 34px;
  color: #655d55;
  font-size: 19px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 780;
}
.button.primary {
  color: white;
  background: var(--orange);
  border: 1px solid var(--orange);
}
.button.primary:hover { background: var(--orange-deep); }
.button.secondary {
  background: rgba(255,255,255,.72);
  border: 1px solid #ded5cd;
}

.section { padding: 96px 0; }
.soft { background: var(--soft); }
.split {
  display: grid;
  grid-template-columns: .9fr 1.35fr;
  gap: 80px;
  align-items: start;
}
.section-heading h2, .section > .container > h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.copy { color: #554d46; font-size: 17px; }
.copy .large { margin-top: 0; color: #322b25; font-size: 22px; }
.fact-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  gap: 12px;
}
.fact {
  padding: 18px 0 0;
  border-top: 1px solid #dfd7d0;
}
.fact-title {
  display: block;
  margin-bottom: 7px;
  color: #887e74;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.fact strong { font-size: 14px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}
.card-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 64px;
  border-radius: 50%;
  color: var(--orange-deep);
  background: var(--orange-soft);
  font-size: 12px;
  font-weight: 850;
}
.card h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.025em; }
.card p { margin: 0; color: #6f665e; font-size: 15px; }

.statement {
  background: var(--orange);
  color: white;
}
.statement .section-label { color: rgba(255,255,255,.78); }
.statement blockquote {
  margin: 0;
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 850;
  line-height: .92;
  letter-spacing: -.065em;
}
.contact-section { background: #201b17; color: white; }
.contact-section .section-label { color: #ff9b63; }
.contact-section .section-heading h2 { color: white; }
.contact-section .copy { color: #cfc6be; }
.email {
  display: inline-block;
  margin: 14px 0 20px;
  color: #ff8a49;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 800;
  text-decoration: none;
}
.company-line { color: #8f857c; font-size: 14px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: var(--paper);
  color: #7d746c;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.footer-inner > div { display: flex; align-items: center; gap: 18px; }
.footer-brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; }

.legal-page {
  max-width: 900px;
  padding-top: 84px;
  padding-bottom: 110px;
}
.legal-page > h1 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(46px, 6vw, 72px);
  line-height: 1;
}
.updated { margin: 18px 0 48px; color: #887e74; font-size: 13px; }
.legal-copy {
  color: #433b35;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.78;
}
.legal-copy h2 {
  margin: 46px 0 14px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.legal-copy h3 {
  margin: 32px 0 10px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
}
.legal-copy p { margin: 0 0 15px; }
.legal-copy a { color: var(--orange-deep); word-break: break-word; }
.legal-list { padding-left: 18px; }

.story-showcase {
  overflow: hidden;
  background: #211914;
  color: #fff;
}
.showcase-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 38px;
}
.showcase-heading h2 { color: #fff; }
.showcase-heading > p {
  max-width: 480px;
  margin: 0 0 6px;
  color: #cfc2b8;
  font-size: 16px;
}
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.poster-card {
  position: relative;
  isolation: isolate;
  aspect-ratio: 2 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: #34251c;
  box-shadow: 0 22px 50px rgba(0,0,0,.22);
}
.poster-card::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(18,10,6,.9));
}
.poster-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}
.poster-card:hover img { transform: scale(1.025); }
.poster-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 26px;
}
.poster-card figcaption span {
  display: block;
  margin-bottom: 7px;
  color: #ffb082;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
}
.poster-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.03;
  letter-spacing: -.035em;
}

.legal-header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.legal-header h1 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 6vw, 72px);
  line-height: 1;
}
.legal-copy { padding-top: 46px; }

@media (max-width: 800px) {
  nav { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding: 80px 0 90px; }
  .hero-glow { width: 370px; height: 370px; right: -130px; top: 80px; }
  .section { padding: 68px 0; }
  .split, .cards, .fact-grid, .showcase-heading { grid-template-columns: 1fr; }
  .split { gap: 30px; }
  .showcase-heading { gap: 16px; }
  .poster-grid { gap: 12px; }
  .poster-card { border-radius: 16px; }
  .poster-card figcaption { padding: 16px; }
  .cards { gap: 12px; }
  .card { min-height: auto; }
  .card-index { margin-bottom: 32px; }
  .footer-inner, .footer-inner > div { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-direction: row !important; }
}

@media (max-width: 620px) {
  .poster-grid {
    grid-template-columns: 1fr 1fr;
  }
  .poster-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 6px);
    justify-self: center;
  }
}
