/*
Theme Name: Sxphy Studio
Theme URI: https://sxphy.com/
Author: Sxphy Recording Studio
Description: Lightweight, conversion-focused theme for Sxphy Recording Studio in Manila.
Version: 1.0.0
Text Domain: sxphy-studio
*/

:root {
  --ink: #08090d;
  --panel: #11131a;
  --panel-2: #171a23;
  --text: #f5f1e9;
  --muted: #b9b4aa;
  --amber: #ffb347;
  --orange: #f27635;
  --line: rgba(255,255,255,.12);
  --max: 1180px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 5%, rgba(242,118,53,.14), transparent 30rem),
    radial-gradient(circle at 10% 35%, rgba(255,179,71,.08), transparent 28rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a { color: var(--amber); text-underline-offset: .2em; }
a:hover { color: #ffd18d; }
img { display: block; max-width: 100%; height: auto; }
.sx-wrap { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.sx-skip { position: absolute; left: -9999px; }
.sx-skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; color: #000; padding: 10px 14px; }

.sx-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(8,9,13,.86);
  backdrop-filter: blur(18px);
}
.sx-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sx-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.sx-brand-mark { width: 34px; height: 34px; border-radius: 50%; background: repeating-radial-gradient(circle, var(--amber) 0 2px, transparent 3px 6px); box-shadow: 0 0 30px rgba(255,179,71,.35); }
.sx-menu { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.sx-menu a { color: #e8e4dc; text-decoration: none; font-size: 14px; font-weight: 700; }
.sx-menu a:hover { color: var(--amber); }
.sx-menu .menu-item:last-child a { display: inline-flex; padding: 10px 16px; border: 1px solid var(--amber); border-radius: 999px; }
.sx-menu-toggle { display: none; border: 1px solid var(--line); color: #fff; background: transparent; border-radius: 10px; padding: 9px 12px; }

main { min-height: 65vh; }
.sx-page { padding: 70px 0 90px; }
.sx-page > .sx-wrap > article > header { max-width: 860px; margin-bottom: 42px; }
.sx-eyebrow { color: var(--amber); font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1,h2,h3 { font-family: "Arial Narrow", Impact, ui-sans-serif, sans-serif; line-height: 1.06; letter-spacing: -.025em; }
h1 { margin: 12px 0 20px; font-size: clamp(44px, 7vw, 86px); }
h2 { margin: 58px 0 18px; font-size: clamp(32px, 4vw, 52px); }
h3 { margin: 28px 0 10px; font-size: clamp(22px, 2.2vw, 30px); }
p, li { color: #d4d0c8; }

.sx-hero { position: relative; overflow: hidden; padding: clamp(84px, 11vw, 150px) 0 100px; border-bottom: 1px solid var(--line); }
.sx-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .28;
  background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(255,255,255,.1) 10px, transparent 11px 20px);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 90%);
}
.sx-hero-grid { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 50px; }
.sx-hero h1 { max-width: 900px; }
.sx-lead { font-size: clamp(19px, 2.2vw, 25px); max-width: 760px; color: var(--muted); }
.sx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sx-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 22px; border-radius: 999px; color: #111; background: linear-gradient(135deg, var(--amber), var(--orange)); text-decoration: none; font-weight: 900; box-shadow: 0 12px 38px rgba(242,118,53,.22); }
.sx-btn:hover { color: #111; transform: translateY(-2px); }
.sx-btn--ghost { color: #fff; background: transparent; border: 1px solid var(--line); box-shadow: none; }
.sx-btn--ghost:hover { color: var(--amber); border-color: var(--amber); }
.sx-meter { min-height: 260px; display: flex; align-items: end; gap: 8px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.01)); }
.sx-meter span { flex: 1; min-width: 4px; border-radius: 999px; background: linear-gradient(to top, var(--orange), var(--amber)); animation: sx-wave 1.8s ease-in-out infinite alternate; transform-origin: bottom; }
.sx-meter span:nth-child(2n) { animation-delay: -.6s; }.sx-meter span:nth-child(3n) { animation-delay: -1.1s; }
@keyframes sx-wave { from { transform: scaleY(.35); opacity: .45; } to { transform: scaleY(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto!important; animation: none!important; transition: none!important; } }

.sx-section { padding: 84px 0; border-bottom: 1px solid var(--line); }
.sx-section--warm { background: linear-gradient(135deg, rgba(242,118,53,.12), rgba(255,179,71,.03)); }
.sx-section-head { max-width: 760px; margin-bottom: 34px; }
.sx-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.sx-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.sx-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018)); }
.sx-card h2,.sx-card h3 { margin-top: 0; }
.sx-card p:last-child { margin-bottom: 0; }
.sx-price { color: var(--amber); font-weight: 900; font-size: 26px; }
.sx-tag { display: inline-block; margin: 4px 6px 4px 0; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: #d7d2c8; font-size: 13px; }
.sx-quote { border-left: 3px solid var(--amber); padding-left: 22px; color: #eee9df; font-size: 21px; }
.sx-cta { margin-top: 56px; padding: clamp(30px,5vw,58px); border-radius: var(--radius); background: linear-gradient(135deg, #2b180f, #171319); border: 1px solid rgba(255,179,71,.28); }
.sx-cta h2 { margin-top: 0; }

.sx-content { max-width: 900px; }
.sx-content > p:first-of-type { font-size: 21px; color: #eee9df; }
.sx-content ul { padding-left: 1.2em; }
.sx-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.sx-content th,.sx-content td { padding: 14px; border: 1px solid var(--line); text-align: left; }
.sx-content details { margin: 12px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.sx-content summary { cursor: pointer; font-weight: 800; color: #fff; }
.sx-content blockquote { margin: 32px 0; padding: 20px 24px; border-left: 3px solid var(--amber); background: rgba(255,255,255,.04); }
.sx-breadcrumbs { margin-bottom: 26px; color: #8f8b84; font-size: 13px; }

.sx-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.sx-field--full { grid-column: 1 / -1; }
.sx-field label { display: block; margin-bottom: 7px; color: #f2eee6; font-size: 14px; font-weight: 800; }
.sx-field input,.sx-field select,.sx-field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px;
  color: #fff; background: #0d0f14; font: inherit;
}
.sx-field textarea { min-height: 150px; resize: vertical; }
.sx-field input:focus,.sx-field select:focus,.sx-field textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.sx-consent { display: flex; gap: 10px; align-items: flex-start; }
.sx-consent input { width: auto; margin-top: 7px; }
.sx-hp { position: absolute!important; left: -9999px!important; }
.sx-alert { margin-bottom: 24px; padding: 14px 18px; border-radius: 10px; background: rgba(85,196,122,.14); border: 1px solid rgba(85,196,122,.35); }

.sx-post-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.sx-post-list article { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.sx-post-list h2 { margin: 8px 0 14px; font-size: 30px; }
.sx-post-list time { color: #8f8b84; font-size: 13px; }

.sx-footer { padding: 60px 0 24px; background: #050609; border-top: 1px solid var(--line); }
.sx-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 35px; }
.sx-footer h2 { margin: 0 0 15px; font-size: 28px; }
.sx-footer ul { list-style: none; margin: 0; padding: 0; }
.sx-footer a { color: #d5d0c7; text-decoration: none; }
.sx-footer a:hover { color: var(--amber); }
.sx-copyright { margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); color: #77736c; font-size: 13px; }

@media (max-width: 900px) {
  .sx-hero-grid,.sx-footer-grid { grid-template-columns: 1fr; }
  .sx-grid,.sx-post-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sx-meter { min-height: 170px; }
  .sx-menu-toggle { display: block; }
  .sx-menu { display: none; position: absolute; top: 76px; left: 18px; right: 18px; padding: 20px; flex-direction: column; align-items: stretch; background: #101218; border: 1px solid var(--line); border-radius: 16px; }
  .sx-menu.is-open { display: flex; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sx-page,.sx-section { padding: 58px 0; }
  .sx-grid,.sx-grid--2,.sx-post-list,.sx-form { grid-template-columns: 1fr; }
  .sx-field--full { grid-column: auto; }
  .sx-meter { display: none; }
  .sx-hero { padding-top: 70px; }
  h1 { font-size: 45px; }
}
