/* ============================================
   haziman.com — Personal Brand Stylesheet
   Palette: Deep charcoal bg, warm cream text,
   gold accent, Inter body, Playfair display
   ============================================ */

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

:root {
    --bg:           #1a1510;
    --bg-warm:      #221d16;
    --bg-card:      #2a231a;
    --bg-hazwave:   #0f0e0d;
    --border:       rgba(255,220,160,0.1);
    --text:         #f0e8d8;
    --text-muted:   #a89880;
    --text-faint:   #5a4e40;
    --gold:         #c9a84c;
    --gold-light:   #e8c87a;
    --gold-glow:    rgba(201,168,76,0.15);
    --hazwave:      #1e3a5f;
    --hazwave-acc:  #4fa3d1;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --radius:       10px;
    --radius-lg:    16px;
    --max-w:        1100px;
    --section-gap:  100px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { color: var(--text); font-weight: 600; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---- NAVBAR ---- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 0;
    transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled { background: rgba(26,21,16,0.94); border-color: var(--border); backdrop-filter: blur(12px); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; }
.navbar__logo { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--gold); letter-spacing: -0.01em; }
.navbar__links { display: flex; align-items: center; gap: 4px; }
.navbar__links a { padding: 7px 14px; font-size: 14px; font-weight: 500; color: var(--text-muted); border-radius: 8px; transition: color 0.2s, background 0.2s; }
.navbar__links a:hover { color: var(--text); background: rgba(255,220,160,0.06); }
.navbar__toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; z-index: 200; }
.navbar__toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; font-family: var(--font-body); }
.btn--gold { background: var(--gold); color: #1a1510; }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--outline:hover { border-color: rgba(201,168,76,0.4); background: var(--gold-glow); }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--full { width: 100%; justify-content: center; }

/* ---- TAGS ---- */
.arm-card__tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; margin-top: 16px; }
.tag--live  { background: rgba(16,185,129,0.15); color: #10b981; }
.tag--dev   { background: rgba(245,158,11,0.15);  color: #f59e0b; }
.tag--soon  { background: rgba(139,92,246,0.15);   color: #8b5cf6; }
.tag--new   { background: rgba(6,182,212,0.15);    color: #06b6d4; }

/* ---- HERO ---- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero__bg-grain { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 30% 50%, rgba(201,168,76,0.06) 0%, transparent 60%), radial-gradient(ellipse 50% 60% at 80% 30%, rgba(201,168,76,0.04) 0%, transparent 50%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; width: 100%; }
.hero__location { font-size: 13px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.hero__name { font-family: var(--font-display); font-size: clamp(44px, 6vw, 76px); font-weight: 700; line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 16px; }
.hero__name span { color: var(--gold); display: block; }
.hero__descriptor { font-family: var(--font-display); font-size: 20px; font-style: italic; color: var(--text-muted); margin-bottom: 20px; }
.hero__sub { font-size: 17px; color: var(--text-muted); max-width: 480px; margin-bottom: 36px; line-height: 1.7; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__social { display: flex; gap: 12px; flex-wrap: wrap; }
.social-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 40px; font-size: 13px; color: var(--text-muted); transition: all 0.2s; }
.social-pill:hover { border-color: rgba(201,168,76,0.4); color: var(--text); }
.hero__photo { display: flex; justify-content: flex-end; }
.hero__photo-frame { width: 360px; height: 460px; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); position: relative; }
.hero__photo-placeholder { width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 32px; background: linear-gradient(135deg, #2a231a 0%, #1e1812 100%); }
.hero__photo-placeholder span { font-family: var(--font-display); font-size: 24px; color: var(--gold); opacity: 0.4; }
.hero__scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); font-size: 20px; color: var(--text-faint); animation: bounce 2s infinite; text-decoration: none; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ---- SECTIONS ---- */
.section { padding: var(--section-gap) 0; }
.section--warm { background: var(--bg-warm); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.section-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-sub { color: var(--text-muted); font-size: 17px; }

/* ---- ABOUT ---- */
.about__inner { display: grid; grid-template-columns: 180px 1fr; gap: 64px; align-items: start; }
.about__label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); padding-top: 6px; }
.about__headline { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 28px; }
.about__copy p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }
.about__personal { font-style: italic; }
.about__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--border); }
.about__meta-item { display: flex; flex-direction: column; gap: 4px; }
.about__meta-item span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); }
.about__meta-item strong { font-size: 15px; color: var(--text); }

/* ---- ARM CARDS ---- */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.arm-card { padding: 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.arm-card:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-2px); }
.arm-card__icon { font-size: 28px; margin-bottom: 14px; }
.arm-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.arm-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.cards-footnote { text-align: center; margin-top: 32px; font-size: 14px; color: var(--text-muted); }
.cards-footnote a { color: var(--gold); transition: color 0.2s; }
.cards-footnote a:hover { color: var(--gold-light); }

/* ---- HAZWAVE ---- */
.section--hazwave { position: relative; padding: var(--section-gap) 0; background: var(--bg-hazwave); overflow: hidden; }
.hazwave__bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(79,163,209,0.06) 0%, transparent 70%); pointer-events: none; }
.hazwave__inner { position: relative; }
.hazwave__header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-label--light { color: var(--hazwave-acc); }
.hazwave__headline { font-family: var(--font-display); font-size: clamp(36px, 5vw, 60px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; background: linear-gradient(135deg, #fff 0%, var(--hazwave-acc) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hazwave__sub { color: var(--text-muted); font-size: 17px; margin-bottom: 24px; }
.hazwave__badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hazwave__badges span { padding: 4px 12px; border: 1px solid rgba(79,163,209,0.3); border-radius: 40px; font-size: 12px; font-weight: 500; color: var(--hazwave-acc); }
.hazwave__divisions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 56px; }
.hw-card { padding: 28px; background: rgba(255,255,255,0.03); border: 1px solid rgba(79,163,209,0.15); border-radius: var(--radius-lg); transition: border-color 0.2s; }
.hw-card:hover { border-color: rgba(79,163,209,0.35); }
.hw-card__icon { font-size: 28px; margin-bottom: 14px; display: block; }
.hw-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 10px; color: #fff; }
.hw-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.hazwave__subscribe { text-align: center; }
.hazwave__subscribe > p { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; }
.subscribe-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.subscribe-form input { flex: 1; min-width: 180px; padding: 12px 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(79,163,209,0.2); border-radius: 8px; color: var(--text); font-size: 15px; font-family: var(--font-body); }
.subscribe-form input:focus { outline: none; border-color: var(--hazwave-acc); }
.subscribe-form input::placeholder { color: var(--text-faint); }

/* ---- CONTENT PLATFORMS ---- */
.content-platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.platform-card { display: flex; align-items: center; gap: 20px; padding: 24px 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color 0.2s, transform 0.2s; }
.platform-card:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-2px); }
.platform-card__icon { color: var(--gold); flex-shrink: 0; }
.platform-card__icon svg { width: 28px; height: 28px; }
.platform-card__name { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 4px; }
.platform-card__num { font-family: var(--font-display); font-size: 32px; font-weight: 700; line-height: 1; }
.platform-card__label { font-size: 12px; color: var(--text-muted); }
.platform-card__cta { margin-left: auto; font-size: 13px; color: var(--gold); font-weight: 600; white-space: nowrap; }
.content-pillars { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.pillar { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); font-size: 14px; color: var(--text-muted); min-width: 130px; }
.pillar span { font-size: 24px; }

/* ---- WEDDING TEASER ---- */
.section--wedding { background: linear-gradient(180deg, #2a1f14 0%, #1e1610 100%); border-top: 1px solid rgba(201,168,76,0.15); border-bottom: 1px solid rgba(201,168,76,0.15); }
.wedding__inner { text-align: center; }
.wedding__eyebrow { font-size: 14px; color: var(--gold); margin-bottom: 12px; }
.wedding__headline { font-family: var(--font-display); font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.wedding__sub { font-size: 16px; color: var(--text-muted); margin-bottom: 48px; }
.wedding__countdown { margin-bottom: 48px; }
.countdown__label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.countdown__timer { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.countdown__unit { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 70px; }
.countdown__unit span { font-family: var(--font-display); font-size: clamp(40px, 6vw, 64px); font-weight: 700; color: var(--gold); line-height: 1; }
.countdown__unit label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.countdown__sep { font-family: var(--font-display); font-size: 40px; color: var(--text-faint); line-height: 1; padding-bottom: 20px; }
.wedding__events { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.wedding__event { padding: 24px 32px; background: rgba(255,220,160,0.04); border: 1px solid rgba(201,168,76,0.15); border-radius: var(--radius-lg); text-align: center; min-width: 180px; }
.wedding__event-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 8px; color: var(--gold); }
.wedding__event-date { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.wedding__event-venue { font-size: 13px; color: var(--text-muted); }
.btn--wedding { background: var(--gold); color: #1a1510; padding: 14px 36px; font-size: 16px; font-weight: 700; border-radius: 8px; display: inline-block; transition: all 0.2s; }
.btn--wedding:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ---- CONTACT ---- */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__left .section-label { margin-bottom: 12px; }
.contact__left h2 { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 38px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.contact__left p { color: var(--text-muted); margin-bottom: 32px; }
.contact__social { display: flex; flex-direction: column; gap: 12px; }
.contact__social a { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.contact__social a:hover { color: var(--gold); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.form-group input, .form-group textarea { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-size: 15px; color: var(--text); font-family: var(--font-body); transition: border-color 0.2s; width: 100%; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-faint); }
.form-group.has-error input, .form-group.has-error textarea { border-color: #ef4444; }
.form-error { font-size: 12px; color: #ef4444; }
.alert--success { padding: 14px 18px; background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3); border-radius: 8px; color: #10b981; font-size: 15px; margin-bottom: 16px; }

/* ---- FOOTER ---- */
.footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg-hazwave); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer__name { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.footer__sub { font-size: 13px; color: var(--text-muted); }
.footer__social { display: flex; gap: 16px; }
.footer__social a { color: var(--text-muted); transition: color 0.2s; }
.footer__social a:hover { color: var(--gold); }
.footer__copy { font-size: 12px; color: var(--text-faint); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__photo { display: none; }
    .about__inner { grid-template-columns: 1fr; gap: 20px; }
    .cards-grid { grid-template-columns: 1fr; }
    .hazwave__divisions { grid-template-columns: 1fr; }
    .content-platforms { grid-template-columns: 1fr; }
    .contact__inner { grid-template-columns: 1fr; gap: 40px; }
    .footer__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
    :root { --section-gap: 64px; }
    .navbar__links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg); padding: 100px 32px 32px; gap: 8px; }
    .navbar__links.open { display: flex; }
    .navbar__links a { font-size: 18px; padding: 12px 0; border-radius: 0; }
    .navbar__toggle { display: flex; }
    .hero__cta { flex-direction: column; }
    .about__meta { grid-template-columns: 1fr; }
    .wedding__events { flex-direction: column; align-items: center; }
    .subscribe-form { flex-direction: column; }
    .subscribe-form input { min-width: unset; width: 100%; }
}
