/*
Theme Name: BigRooom
Theme URI: https://bigrooom.com/
Author: BigRooom
Description: Marketing site for BigRooom — invitations, RSVPs and the whole event in one place. Self-contained, no page builder, no external requests.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: Proprietary
Text Domain: bigrooom
*/

/* ---------- fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Inter var";
  src: url("assets/fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2212;
}
@font-face {
  font-family: "Fraunces var";
  src: url("assets/fonts/fraunces-var.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --ink: #1b2a22;
  --forest: #2c4a3b;
  --forest-deep: #1f362b;
  --brass: #b0812f;
  --brass-bright: #c99b3f;
  --brass-soft: #f2e7cf;
  --ivory: #faf6ec;
  --paper: #ffffff;
  --muted: #5c6a61;
  --line: rgba(27, 42, 34, 0.12);
  --line-strong: rgba(27, 42, 34, 0.2);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(27, 42, 34, 0.04), 0 12px 32px -18px rgba(27, 42, 34, 0.35);
  --shadow-lift: 0 2px 4px rgba(27, 42, 34, 0.05), 0 26px 50px -26px rgba(27, 42, 34, 0.45);
  --max: 1160px;
  --sans: "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces var", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 86px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { text-wrap: wrap; }
::selection { background: var(--brass-soft); color: var(--ink); }
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }
section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--paper { background: var(--paper); }
.section--forest { background: var(--forest-deep); color: #f4efe3; }
.section--forest h2, .section--forest h3 { color: #fdfaf1; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--brass);
}
.lede { font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); max-width: 62ch; }
.section--forest .lede { color: rgba(250, 246, 236, 0.72); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(180deg, #38604c 0%, var(--forest) 55%, var(--forest-deep) 100%);
  color: #fdfaf1;
  box-shadow: var(--shadow);
}
.btn--primary:hover { box-shadow: var(--shadow-lift); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: rgba(27, 42, 34, 0.04); border-color: var(--ink); }
.btn--brass {
  background: linear-gradient(180deg, var(--brass-bright), var(--brass));
  color: #26190a;
  box-shadow: var(--shadow);
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn svg { width: 16px; height: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 236, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 8px 20px -22px rgba(27, 42, 34, 0.6); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(150deg, #3a6450, var(--forest-deep));
  display: grid;
  place-items: center;
  color: #e8d7a8;
  font-size: 14px;
  font-family: var(--serif);
  box-shadow: inset 0 0 0 1px rgba(232, 215, 168, 0.35);
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 26px; list-style: none; padding: 0; }
.nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: #33443a;
  padding-block: 6px;
  border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: var(--brass); color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 10px; }

/* mobile menu — <details>, no JS */
.menu-toggle { display: none; position: relative; }
.menu-toggle summary {
  list-style: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.menu-toggle summary::-webkit-details-marker { display: none; }
.menu-toggle summary span,
.menu-toggle summary span::before,
.menu-toggle summary span::after {
  content: "";
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.menu-toggle summary span::before { position: absolute; top: -5px; }
.menu-toggle summary span::after { position: absolute; top: 5px; }
.menu-toggle[open] summary span { background: transparent; }
.menu-toggle[open] summary span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[open] summary span::after { top: 0; transform: rotate(-45deg); }
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(86vw, 300px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 12px;
}
.menu-panel a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.menu-panel a:hover { background: var(--brass-soft); }
@media (max-width: 900px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(48px, 7vw, 96px) clamp(52px, 7vw, 100px); }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(46% 60% at 18% 12%, rgba(201, 155, 63, 0.18), transparent 70%),
    radial-gradient(52% 60% at 82% 4%, rgba(44, 74, 59, 0.14), transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  letter-spacing: -0.025em;
  margin: 18px 0 20px;
}
.hero h1 em { font-style: italic; color: var(--forest); }
.hero .lede { font-size: clamp(17px, 1.5vw, 20px); }
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-note svg { width: 16px; height: 16px; color: var(--forest); flex: none; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* invitation mock */
.mock { position: relative; display: grid; place-items: center; }
.mock-card {
  width: min(100%, 400px);
  background: linear-gradient(175deg, #fffdf7, #fbf4e4);
  border-radius: 22px;
  border: 1px solid rgba(176, 129, 47, 0.35);
  box-shadow: var(--shadow-lift);
  padding: 26px 24px 22px;
  transform: rotate(-1.4deg);
  position: relative;
}
.mock-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(176, 129, 47, 0.28);
  border-radius: 16px;
  pointer-events: none;
}
.mock-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  text-align: center;
}
.mock-names {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.15;
  text-align: center;
  margin: 10px 0 4px;
}
.mock-sub { text-align: center; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.mock-hr { height: 1px; background: rgba(176, 129, 47, 0.3); margin: 16px 0; }
.mock-rows { display: grid; gap: 8px; }
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 42, 34, 0.08);
}
.mock-row b { font-weight: 600; }
.mock-pill {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brass-soft);
  color: #6a4a12;
  white-space: nowrap;
}
.mock-pill--ok { background: #e2efe4; color: #235336; }
.mock-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}
.mock-badge {
  position: absolute;
  right: -6px;
  bottom: -18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px 14px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: rotate(1.6deg);
}
.mock-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #3f8b5a; box-shadow: 0 0 0 4px rgba(63, 139, 90, 0.16); }

/* ---------- personalisation ---------- */
.pers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.pers-copy h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 16px; }
.pers-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.pers-list li { display: flex; gap: 11px; font-size: 15px; color: #33443a; }
.pers-list svg { width: 19px; height: 19px; color: var(--forest); flex: none; margin-top: 2px; }
.pers-list b { font-weight: 600; color: var(--ink); }

.pers-stack { position: relative; display: grid; gap: 12px; }
.mini {
  background: linear-gradient(175deg, #fffdf7, #fbf3e2);
  border: 1px solid rgba(176, 129, 47, 0.32);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.mini-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mini-label { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.mini-name { font-family: var(--serif); font-size: 22px; line-height: 1.15; margin-top: 4px; }
.mini-for { font-size: 11px; color: var(--muted); margin-top: 2px; }
.mini-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mini-pill {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(27, 42, 34, 0.06);
  color: #33443a;
  white-space: nowrap;
}
.mini-pill--on { background: var(--brass-soft); color: #6a4a12; }
.mini-pill--ok { background: #e2efe4; color: #235336; }
.mini-tag { font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
  .pers { grid-template-columns: 1fr; }
  .pers-stack { order: -1; }
}

/* ---------- proof strip ---------- */
.proof { border-block: 1px solid var(--line); background: var(--paper); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-block: 26px;
}
.proof-item { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; }
.proof-item svg { width: 20px; height: 20px; color: var(--forest); flex: none; margin-top: 1px; }
.proof-item b { display: block; font-size: 14px; font-weight: 600; }
.proof-item span { color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- feature cards ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(176, 129, 47, 0.45); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 21px; margin: 16px 0 9px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brass-soft);
  color: #6a4a12;
}
.card .ico svg { width: 21px; height: 21px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ---------- event types ---------- */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.type {
  border-radius: var(--radius);
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(250, 246, 236, 0.16);
}
.type h3 { font-size: 22px; margin-bottom: 8px; }
.type p { font-size: 14.5px; color: rgba(250, 246, 236, 0.74); }
.type ul { margin: 16px 0 0; padding-left: 18px; font-size: 14px; color: rgba(250, 246, 236, 0.82); }
.type li { margin-bottom: 6px; }
@media (max-width: 900px) { .types { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 18px; border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 13px;
  color: var(--brass);
  letter-spacing: 0.08em;
}
.step h3 { font-size: 18px; margin: 8px 0 6px; }
.step p { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- languages ---------- */
.langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lang {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 15px;
  background: var(--paper);
}
.lang small { display: block; font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- faq ---------- */
.faq { max-width: 820px; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 19px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--brass); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- cta band ---------- */
.cta-band {
  border-radius: 26px;
  background:
    radial-gradient(60% 120% at 12% 0%, rgba(201, 155, 63, 0.22), transparent 60%),
    linear-gradient(160deg, #2f4d3d, #1c3128);
  color: #f7f1e2;
  padding: clamp(34px, 5vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 26px;
  align-items: center;
  border: 1px solid rgba(232, 215, 168, 0.22);
}
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }
.cta-band p { color: rgba(247, 241, 226, 0.76); max-width: 56ch; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- contact form ---------- */
.contact { max-width: 760px; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  margin-top: 26px;
}
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: #33443a; }
.field label span { color: var(--brass); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(44, 74, 59, 0.14);
}
.contact-form ::placeholder { color: #98a29b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.submit .tiny { font-size: 12.5px; color: var(--muted); margin: 0; }

.notice { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14.5px; border: 1px solid; }
.notice p { margin: 4px 0 0; }
.notice--ok { background: #eaf3ec; border-color: #b8d7c1; color: #1f4a2e; }
.notice--bad { background: #fdf1ec; border-color: #e9c4b4; color: #7a3320; }

.contact-direct { margin-top: 28px; font-size: 14px; color: var(--muted); }
.contact-direct a { color: var(--forest); text-underline-offset: 3px; }
@media (max-width: 640px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer { background: #16241d; color: rgba(244, 239, 227, 0.72); padding-block: 52px 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer .brand { color: #f6f1e4; }
.site-footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, 0.5);
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(244, 239, 227, 0.82); text-decoration: none; }
.site-footer a:hover { color: #f6f1e4; text-decoration: underline; text-underline-offset: 3px; }
.footer-about { margin-top: 14px; max-width: 34ch; color: rgba(244, 239, 227, 0.6); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 239, 227, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(244, 239, 227, 0.5);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- generic page ---------- */
.page-head { padding-block: clamp(44px, 6vw, 78px) 24px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 14px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 32px 0 10px; }
.prose h3 { font-size: 20px; margin: 24px 0 8px; }
.prose p, .prose li { color: #33443a; font-size: 16px; }
.prose ul, .prose ol { padding-left: 20px; display: grid; gap: 7px; margin: 12px 0; }
.prose a { color: var(--forest); text-underline-offset: 3px; }
.prose blockquote { border-left: 2px solid var(--brass); padding-left: 16px; color: var(--muted); }

/* ---------- misc ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 99;
  border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }
