/* ============================================================
   Qwill Creative — qwillcreative.com
   Brand: Burnt Orange #A5492D · Oatmeal #E7DED3 · Charcoal #414042
          Soft White #F9F6F2 · Blue #3471B8
   Type:  Noto Serif Black (headlines) · Sora ExtraBold (labels)
          DM Sans (body)
   ============================================================ */

:root {
  --orange: #A5492D;
  --blue: #3471B8;
  --charcoal: #414042;
  --ink: #2E2D2E;
  --body: #55524F;
  --muted: #6B6867;
  --oatmeal: #E7DED3;
  --soft: #F9F6F2;
  --white: #FFFFFF;
  --line: #E7DED3;
  --field: #DCD2C6;

  --serif: 'Noto Serif', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --label: 'Sora', var(--sans);

  --gutter: 24px;
  --max: 1440px;
  --pad: 96px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}

p { margin: 0; }

a { color: var(--orange); }
a:hover { color: var(--blue); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--charcoal); color: var(--soft);
  padding: 12px 20px; z-index: 100; text-decoration: none;
}
.skip-link:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  font-family: var(--label);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0;
}
.eyebrow--blue { color: var(--blue); }

.lede { font-size: 19px; line-height: 1.6; color: var(--body); }
.lede--tight { max-width: 560px; }
.muted { font-size: 15px; color: var(--muted); }

.link { font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--solid { background: var(--orange); color: var(--soft); }
.btn--solid:hover { background: #8E3D24; color: var(--soft); }
.btn--ghost { color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: var(--soft); }
.btn--sm { padding: 12px 22px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* ---------- nav ---------- */
.nav {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav__inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--charcoal);
}
.brand__tile {
  width: 32px; height: 32px;
  flex: none;
  background: var(--orange);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 900; font-size: 18px;
  color: var(--soft);
}
.brand__text { display: flex; flex-direction: column; gap: 1px; }
.brand__name {
  font-family: var(--serif); font-weight: 900;
  font-size: 21px; line-height: 1; letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__name--foot { color: var(--soft); font-size: 24px; }
.brand__sub {
  font-family: var(--label); font-weight: 800;
  font-size: 9px; line-height: 1; letter-spacing: 0.26em;
  color: var(--muted);
}

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-size: 15px; font-weight: 500;
  color: var(--charcoal); text-decoration: none;
}
.nav__links a:hover { color: var(--orange); }
.nav__links a.btn { color: var(--soft); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: none; color: var(--charcoal);
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero { padding: 88px 0 72px; }
.hero__inner { display: flex; gap: 80px; align-items: flex-start; }
.hero__copy { flex: 1 1 auto; max-width: 800px; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(38px, 4.4vw, 62px); }
.hero__sub {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(21px, 2vw, 27px); line-height: 1.35;
  color: var(--blue); max-width: 620px;
}
.hero .lede { max-width: 560px; }

.contents {
  width: 372px; flex: none;
  background: var(--soft);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  padding: 32px;
}
.contents__list { list-style: none; margin: 18px 0; padding: 0; }
.contents__list li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--ink);
}
.contents__list li:last-child { border-bottom: none; }
.contents__note {
  font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--muted);
  white-space: nowrap;
}
.contents__foot {
  font-size: 14px; line-height: 1.55; color: var(--body);
  border-top: 1px solid var(--line); padding-top: 18px;
}

/* ---------- tagline strip ---------- */
.strip { background: var(--charcoal); color: var(--soft); }
.strip__inner {
  min-height: 80px;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: 12px 26px;
  font-family: var(--label); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding-top: 16px; padding-bottom: 16px;
}
.strip .dot { color: var(--orange); }

/* ---------- long game ---------- */
.longgame { padding: 80px 0; border-bottom: 1px solid var(--line); }
.longgame__inner { display: flex; gap: 88px; align-items: flex-start; }
.longgame__copy { flex: 1 1 auto; max-width: 580px; display: flex; flex-direction: column; gap: 18px; }
.longgame h2 { font-size: clamp(34px, 3.4vw, 48px); }

.card {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 32px;
}
.card--form {
  width: 500px; flex: none;
  border-top: 4px solid var(--orange);
  display: flex; flex-direction: column; gap: 14px;
}
.card--form h3 { font-size: 22px; letter-spacing: -0.02em; }
.beehiiv { margin-top: 4px; min-height: 120px; }
.beehiiv iframe { width: 100% !important; border: 0; }

/* ---------- index ---------- */
.banner { padding: 76px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; padding-bottom: 28px;
}
.section-head h2 { font-size: clamp(30px, 3vw, 42px); }
.section-head .muted { max-width: 420px; text-align: right; }

.index { list-style: none; margin: 0; padding: 0; }
.index li { border-top: 1px solid var(--line); }
.index li:last-child { border-bottom: 1px solid var(--line); }
.index a {
  display: flex; align-items: center; gap: 36px;
  padding: 26px 0; text-decoration: none; color: var(--charcoal);
}
.index a:hover .index__name { color: var(--orange); }
.index a:hover .index__arrow { transform: translateX(4px); }
.index__num {
  width: 44px; flex: none;
  font-family: var(--label); font-size: 13px; font-weight: 800;
  letter-spacing: 0.08em; color: var(--blue);
}
.index__name {
  width: 300px; flex: none;
  font-family: var(--serif); font-weight: 900; font-size: 25px;
  letter-spacing: -0.02em; color: var(--ink);
  transition: color .15s ease;
}
.index__desc { flex: 1 1 auto; font-size: 16px; line-height: 1.55; color: var(--body); }
.index__arrow {
  flex: none; color: var(--orange); display: flex;
  transition: transform .15s ease;
}

/* ---------- rolling photo bar ---------- */
.roll {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 40px;
  overflow: hidden;
}
.roll__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px; margin-bottom: 20px;
}
.roll__viewport { overflow: hidden; }
.roll__track {
  display: flex;
  width: max-content;
  animation: roll 46s linear infinite;
}
.roll__track img {
  height: 220px;
  width: auto;
  margin-right: 16px;
  border-radius: 4px;
  object-fit: cover;
}
.roll:hover .roll__track { animation-play-state: paused; }
@keyframes roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .roll__track { animation: none; }
  .roll__viewport { overflow-x: auto; }
}

/* ---------- out loud (shorts) ---------- */
.outloud { padding: 72px 0; }
.outloud .eyebrow { margin-bottom: 12px; }
.outloud h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 12px; }

.shorts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 1140px;
}
.short {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
}
.short__btn {
  width: 100%; height: 100%;
  padding: 0; border: none; background: var(--ink);
  cursor: pointer; display: block; position: relative;
}
.short__poster {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .92;
  transition: opacity .2s ease, transform .3s ease;
}
.short__btn:hover .short__poster { opacity: 1; transform: scale(1.03); }
.short__play {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--soft);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.short iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- about ---------- */
.about { padding: 80px 0; }
.about__inner { display: flex; gap: 80px; align-items: flex-start; }
.about__figure { margin: 0; width: 520px; flex: none; }
.about__figure img { border-radius: 4px; width: 100%; }
.about__figure figcaption { font-size: 13px; color: var(--muted); margin-top: 14px; }
.about__copy { flex: 1 1 auto; max-width: 620px; display: flex; flex-direction: column; gap: 18px; }
.about h2 { font-size: clamp(30px, 3vw, 42px); }
.about__pull {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(20px, 2vw, 24px); line-height: 1.45; color: var(--ink);
}

/* ---------- footer ---------- */
.foot { background: var(--charcoal); color: var(--soft); padding: 64px 0 40px; }
.foot__top { display: flex; justify-content: space-between; gap: 64px; flex-wrap: wrap; }
.foot__brand p { font-size: 15px; line-height: 1.6; color: #B8B3AE; margin-top: 12px; }
.foot__cols { display: flex; gap: 72px; flex-wrap: wrap; }
.foot__cols div { display: flex; flex-direction: column; gap: 12px; }
.foot__cols a { font-size: 15px; color: var(--soft); text-decoration: none; }
.foot__cols a:hover { color: var(--oatmeal); text-decoration: underline; }
.foot__label {
  font-family: var(--label); font-size: 10px; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase; color: #ADA8A3;
}
.foot__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid #5A5859;
  margin-top: 48px; padding-top: 24px;
  font-size: 13px; color: #ADA8A3;
}
.foot__bottom a { color: #ADA8A3; text-decoration: none; }
.foot__bottom a:hover { color: var(--soft); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1180px) {
  :root { --pad: 48px; }
  .hero__inner, .longgame__inner, .about__inner { gap: 48px; }
  .contents { width: 330px; }
  .card--form { width: 440px; }
  .index__name { width: 240px; font-size: 22px; }
}

@media (max-width: 900px) {
  :root { --pad: 28px; }

  .nav__toggle { display: flex; }
  .nav__inner { flex-wrap: wrap; min-height: 72px; }
  .nav__links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 0 20px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 0; font-size: 17px; }
  .nav__links a.btn { margin-top: 8px; }

  .hero { padding: 48px 0 40px; }
  .hero__inner { flex-direction: column; }
  .contents { width: 100%; }
  .contents__note { display: none; }

  .longgame { padding: 48px 0; }
  .longgame__inner { flex-direction: column; }
  .card--form { width: 100%; }

  .banner { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head .muted { text-align: left; max-width: none; }

  .index a { flex-wrap: wrap; gap: 8px 16px; padding: 22px 0; }
  .index__num { width: auto; }
  .index__name { width: auto; flex: 1 1 auto; font-size: 21px; }
  .index__desc { flex: 1 1 100%; font-size: 15px; }
  .index__arrow { display: none; }

  .roll__head { flex-direction: column; gap: 6px; }
  .roll__note { display: none; }
  .roll__track img { height: 150px; }

  .outloud { padding: 48px 0; }
  .shorts {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-right: calc(var(--pad) * -1);
    padding-right: var(--pad);
  }
  .short {
    flex: 0 0 200px;
    scroll-snap-align: start;
  }

  .about { padding: 48px 0; }
  .about__inner { flex-direction: column; }
  .about__figure { width: 100%; }

  .foot { padding: 48px 0 32px; }
  .foot__top { flex-direction: column; gap: 36px; }
  .foot__cols { gap: 32px 48px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .lede { font-size: 17px; }
  .btn { width: 100%; text-align: center; }
  .btn--sm { width: auto; }
  .btn-row { flex-direction: column; }
  .strip__inner { font-size: 10px; letter-spacing: 0.16em; gap: 8px 14px; }
}
