/* ===== Media Asia — editorial studio theme ===== */
:root {
  --paper: #f6f3eb;
  --paper-deep: #efe9da;
  --ink: #1a1814;
  --ink-soft: #2b2822;
  --muted: #6f6a5c;
  --line: #ddd5c2;
  --accent: #d8401f;
  --accent-deep: #a92f14;
  --radius: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 780px; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------- type ---------- */
h1, h2, .serif { font-family: 'Fraunces', Georgia, serif; font-weight: 560; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.04; }
h1 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; margin: 14px 0 10px; }
.mono, .eyebrow, .svc-num, .work-tags, .plan-flag, .ticker, .footer-bottom { font-family: 'IBM Plex Mono', monospace; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.tick { width: 10px; height: 10px; background: var(--accent); flex-shrink: 0; }
.eyebrow-light { color: #b9b2a0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 8px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  font-family: 'Inter', sans-serif;
}
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { display: block; width: 100%; text-align: center; }
.text-link { font-weight: 600; font-size: 15px; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.text-link:hover { color: var(--accent); }
.text-link span { display: inline-block; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

/* ---------- nav ---------- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.navbar.scrolled { background: rgba(246, 243, 235, 0.94); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 14px; height: 14px; background: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 168px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 22px 0 34px; }
.hero-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-meta { display: flex; gap: 44px; border-top: 1px solid var(--line); padding-top: 26px; }
.hero-meta dt { font-family: 'IBM Plex Mono', monospace; font-size: 30px; font-weight: 500; letter-spacing: -0.02em; }
.hero-meta dt span { font-variant-numeric: tabular-nums; }
.hero-meta dd { font-size: 13px; color: var(--muted); margin-top: 2px; }
.hero-figure { margin: 0; }
.frame {
  position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden;
  background: linear-gradient(150deg, #23201a 0%, #4a3a2c 55%, #8a4a24 100%);
  border: 1px solid var(--line);
}
.frame::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, #ffffff22, transparent 55%), radial-gradient(ellipse at 50% 110%, #00000066, transparent 60%);
}
.frame-live {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); color: var(--ink); border-radius: 6px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 12px;
}
.frame-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.6s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 76px; height: 76px; border-radius: 50%; border: 1px solid #ffffff55;
  background: #f6f3ebee; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.play-btn:hover { background: var(--accent); color: #fff; transform: translate(-50%, -50%) scale(1.06); }
.hero-figure figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero-figure figcaption strong { color: var(--ink); }

/* ---------- ticker ---------- */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: tick 32s linear infinite; padding: 13px 0; }
.ticker-track span { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.ticker-track i { font-style: normal; color: var(--accent); margin: 0 18px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-tint { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .sec-sub { color: #b9b2a0; }
.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-sub { color: var(--muted); font-size: 17px; margin-top: 6px; }

/* ---------- services ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 72px 1fr 44px; gap: 24px; align-items: center;
  padding: 30px 12px; border-bottom: 1px solid var(--line);
  transition: background .2s, padding .25s;
}
.svc:hover { background: #ffffff70; padding-left: 22px; }
.svc-num { font-size: 14px; color: var(--accent); font-weight: 500; }
.svc h3 { font-family: 'Inter', sans-serif; font-size: 21px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 6px; }
.svc p { color: var(--muted); font-size: 15.5px; max-width: 640px; }
.svc svg { width: 34px; height: 34px; color: var(--ink-soft); justify-self: end; }
.svc:hover svg { color: var(--accent); }

/* ---------- portfolio ---------- */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 36px; }
.work-thumb {
  position: relative; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; justify-content: space-between; padding: 20px 22px;
}
.work-thumb.w1 { background: #211d16; } .work-thumb.w2 { background: #a93215; }
.work-thumb.w3 { background: #1e4a48; } .work-thumb.w4 { background: #2b3a67; }
.work-thumb.w5 { background: #5e2b3b; } .work-thumb.w6 { background: #31404f; }
.work-idx { font-family: 'Fraunces', serif; font-size: 64px; line-height: 1; color: #f6f3eb26; font-weight: 600; }
.work-tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--paper); background: #00000038; padding: 6px 12px; border-radius: 6px; align-self: flex-start;
}
.work-body { padding: 20px 4px 0; }
.work-body h3 { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 650; margin-bottom: 6px; }
.work-body p { color: var(--muted); font-size: 15px; }
.work-tags { margin-top: 12px !important; font-size: 12.5px; letter-spacing: 0.04em; color: var(--accent-deep) !important; text-transform: uppercase; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; border-top: 1px solid var(--line); padding-top: 40px; }
.step-num { font-family: 'Fraunces', serif; font-size: 44px; color: var(--accent); font-weight: 560; }
.step h3 { font-size: 18px; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  border: 1px solid var(--line); border-radius: 14px; padding: 36px 32px;
  background: var(--paper); display: flex; flex-direction: column; position: relative;
}
.plan h3 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.plan-price { font-family: 'Fraunces', serif; font-size: 46px; font-weight: 600; margin: 14px 0 4px; letter-spacing: -0.02em; }
.plan-price span { font-family: 'Inter', sans-serif; font-size: 17px; color: var(--muted); font-weight: 500; }
.plan-desc { color: var(--muted); font-size: 14.5px; margin-bottom: 8px; }
.plan ul { list-style: none; margin: 18px 0 30px; flex: 1; }
.plan li { padding: 8px 0 8px 26px; position: relative; font-size: 14.5px; color: var(--ink-soft); border-top: 1px dashed var(--line); }
.plan li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
.plan-featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan-featured h3, .plan-featured .plan-desc, .plan-featured .plan-price span { color: #b9b2a0; }
.plan-featured li { color: #e8e2d2; border-top-color: #3a362d; }
.plan-featured li::before { color: var(--accent); }
.plan-flag {
  position: absolute; top: -13px; left: 32px; background: var(--accent); color: #fff;
  font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 6px;
}

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; border-top: 1px solid #3a362d; padding-top: 48px; }
.quotes blockquote p { font-family: 'Fraunces', serif; font-size: 21px; line-height: 1.45; font-weight: 480; }
.quotes blockquote p::before { content: '“'; color: var(--accent); }
.quotes footer { margin-top: 22px; }
.quotes footer strong { display: block; font-size: 15px; }
.quotes footer span { font-size: 13.5px; color: #b9b2a0; font-family: 'IBM Plex Mono', monospace; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; font-family: 'Inter', sans-serif;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left;
  padding: 22px 4px; font-size: 17px; font-weight: 600; color: var(--ink);
}
.faq-q span { font-family: 'IBM Plex Mono', monospace; color: var(--accent); font-size: 22px; transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 24px; color: var(--muted); font-size: 15.5px; max-width: 640px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-list { list-style: none; margin-top: 36px; border-top: 1px solid var(--line); }
.contact-list li {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px;
}
.contact-list li span { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-list a { font-weight: 600; }
.contact-list a:hover { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 40px 36px; }
.contact-form label { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: 'Inter', sans-serif; font-size: 15.5px; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 10px 2px; width: 100%; border-radius: 0;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--accent); }
.contact-form textarea { resize: vertical; }
.contact-form select option { background: var(--paper); }
.form-note { font-size: 14px; color: var(--accent-deep); min-height: 20px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 72px 0 0; }
.footer-word { font-family: 'Fraunces', serif; font-size: clamp(48px, 8vw, 110px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.footer-word::after { content: '.'; color: var(--accent); }
.footer-grid { display: flex; justify-content: space-between; gap: 48px; margin: 48px 0; flex-wrap: wrap; }
.footer-desc { max-width: 320px; color: #b9b2a0; font-size: 15px; }
.footer-nav { display: flex; gap: 80px; }
.footer-nav h4 { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #8a8474; margin-bottom: 14px; font-weight: 500; }
.footer-nav a { display: block; padding: 5px 0; font-size: 15px; color: #e8e2d2; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #3a362d; padding: 20px 0;
  display: flex; justify-content: space-between; font-size: 12.5px; color: #8a8474;
}

/* ---------- to-top / reveal ---------- */
.to-top {
  position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; border-radius: 8px;
  background: var(--ink); color: var(--paper); border: none; font-size: 18px; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .3s, background .2s; z-index: 90;
}
.to-top:hover { background: var(--accent); }
.to-top.show { opacity: 1; pointer-events: auto; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .work-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .quotes { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc { grid-template-columns: 56px 1fr; }
  .svc svg { display: none; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0; background: var(--paper);
    flex-direction: column; padding: 24px; gap: 18px; align-items: stretch; text-align: center;
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 128px 0 64px; }
  .hero-meta { gap: 28px; flex-wrap: wrap; }
  .section { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 24px; }
  .footer-nav { gap: 48px; }
}
