/* ==========================================================
   RentMyStudio — shared styles
   ========================================================== */
:root {
  --green-900: #163f2e;
  --green-800: #1d4d39;
  --green-700: #235a43;
  --green-600: #2d6a4f;
  --green-500: #3d7d5f;
  --sage: #7fa48c;
  --sage-soft: #a9c4b1;
  --sage-pale: #dfe6df;
  --paper: #f7f5f1;
  --paper-2: #efeeea;
  --card: #fbfaf8;
  --ink: #26302b;
  --ink-soft: #5d6862;
  --ink-mute: #8a928d;
  --line: #dcdcd6;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.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-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--green-800); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow--line::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.display {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
}
.display em, .accent {
  font-style: italic;
  color: var(--sage);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -.015em;
}
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  padding-bottom: 6px; border-bottom: 1px solid var(--ink-mute);
  transition: gap .25s ease, border-color .25s ease;
}
.text-link:hover { gap: 12px; border-color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; border-radius: 999px;
  font-size: 14px; font-weight: 600; line-height: 1;
  padding: 14px 22px; white-space: nowrap;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green-600); color: var(--white); }
.btn--primary:hover { background: var(--green-700); }
.btn--light { background: #e9efe9; color: var(--green-800); }
.btn--light:hover { background: var(--white); }
.btn--ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--white); border-color: var(--ink-mute); }
.btn .ico { width: 14px; height: 14px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo .studio { font-weight: 500; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.site-header nav { display: flex; align-items: center; gap: 34px; }
.site-header nav a { font-size: 15px; font-weight: 500; opacity: .92; transition: opacity .2s; }
.site-header nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions .signin { font-size: 15px; font-weight: 500; }

.site-header--dark { color: var(--white); }
.site-header--dark .logo .studio { color: var(--sage-soft); }
.site-header--light { color: var(--ink); background: var(--paper); border-bottom: 1px solid transparent; }
.site-header--light .logo .studio { color: var(--sage); }
.site-header--light .btn--light { background: var(--sage-pale); }

.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid currentColor; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; opacity: .85;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background-color: var(--green-800);
  min-height: 680px;
  display: flex; flex-direction: column;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(22,63,46,.72) 0%, rgba(29,77,57,.78) 55%, rgba(22,63,46,.9) 100%),
    /* To use a real studio photo: save it as assets/hero.jpg and uncomment the next line */
    /* url("../assets/hero.jpg") center / cover no-repeat, */
    var(--green-800);
}
/* sunlight through tall windows — shows even without a photo */
.hero-bg::before {
  content: ""; position: absolute; inset: -20% -10%;
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(255,240,205,.07) 46% 53%, transparent 53% 100%),
    linear-gradient(115deg, transparent 0 57%, rgba(255,240,205,.06) 57% 62%, transparent 62% 100%),
    linear-gradient(115deg, transparent 0 67%, rgba(255,240,205,.05) 67% 71%, transparent 71% 100%),
    radial-gradient(60% 50% at 70% 25%, rgba(255,236,190,.10), transparent 70%);
  animation: beams 14s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32%;
  background: linear-gradient(180deg, transparent, rgba(18,50,37,.55));
}
@keyframes beams { from { transform: translateX(-2%); opacity: .85; } to { transform: translateX(2%); opacity: 1; } }

.hero .site-header { background: transparent; }
.hero-body { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; padding: 60px 0 40px; }
.hero h1 {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(2.8rem, 6.4vw, 5rem);
  line-height: 1.02; letter-spacing: -.035em;
  margin: 22px 0 22px;
}
.hero h1 em { display: block; font-style: italic; color: #d9e6dc; font-weight: 600; }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero-lead { max-width: 470px; font-size: 17px; color: rgba(255,255,255,.88); }

.hero-search {
  margin-top: 30px; max-width: 560px;
  display: flex; align-items: center; gap: 8px;
  background: #f4f3ef; border-radius: 999px; padding: 6px 6px 6px 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.hero-search .pin { width: 18px; height: 18px; color: var(--ink-mute); flex: none; }
.hero-search select {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  color: var(--ink-soft); font-size: 15px; padding: 10px 26px 10px 4px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d6862' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 6px center;
}
.hero-search .btn { padding: 13px 20px; }
.hero-links { margin-top: 18px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hero-links .list-link { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid transparent; }
.hero-links .list-link:hover { border-color: currentColor; }
.reviewed { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.88); }
.reviewed svg { width: 15px; height: 15px; }

.hero-foot { position: relative; z-index: 1; padding-bottom: 28px; }
.hero-foot .wrap { display: flex; justify-content: flex-end; }
.tagline-rule {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.tagline-rule::after { content: ""; order: 1; width: 64px; height: 1px; background: currentColor; opacity: .7; }
.tagline-rule span:last-child { order: 2; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--tint { background: #eceeea; }
.section--green { background: var(--green-700); color: var(--white); }

.intro .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.intro .display { margin-top: 18px; }
.intro-side p { font-size: 17px; color: var(--ink-soft); max-width: 380px; margin-bottom: 26px; line-height: 1.75; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head .section-title { margin-top: 14px; }

/* category grid */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.cat {
  position: relative; display: block; padding: 30px 60px 34px 52px;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease;
}
.cat:nth-child(odd) { border-right: 1px solid var(--line); }
.cat:hover { background: rgba(255,255,255,.55); }
.cat-num { position: absolute; left: 0; top: 30px; font-size: 11px; color: var(--ink-mute); font-family: ui-monospace, monospace; padding-left: 4px; }
.cat:nth-child(even) .cat-num { left: 22px; }
.cat:nth-child(even) { padding-left: 74px; }
.cat h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 6px; }
.cat p { font-size: 14px; color: var(--ink-soft); }
.cat .arrow { position: absolute; right: 28px; top: 34px; width: 14px; height: 14px; color: var(--ink-soft); transition: transform .25s ease; }
.cat:hover .arrow { transform: translate(3px, -3px); color: var(--ink); }

/* state card (empty / error / loading) */
.state-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card);
  padding: 56px 24px; text-align: center;
}
.state-icon {
  width: 38px; height: 38px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--sage-pale); color: var(--green-600);
  display: flex; align-items: center; justify-content: center;
}
.state-icon svg { width: 18px; height: 18px; }
.state-card h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 8px; }
.state-card p { font-size: 14px; color: var(--ink-soft); max-width: 340px; margin: 0 auto 20px; }
.state-card .btn { padding: 11px 18px; font-size: 13px; }

/* studio cards */
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.studio-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.studio-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(29,77,57,.1); }
.studio-card .thumb { aspect-ratio: 4/3; background: var(--sage-pale) center / cover; }
.studio-card .body { padding: 18px 20px 22px; }
.studio-card .meta { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.studio-card h3 { font-family: var(--serif); font-size: 1.25rem; margin: 6px 0 8px; }
.studio-card .price { font-size: 14px; color: var(--ink-soft); }
.studio-card .price strong { color: var(--ink); }

/* how it works */
.how .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start; }
.how .eyebrow { color: rgba(255,255,255,.8); }
.how .display { color: var(--white); margin: 26px 0 24px; }
.how .display em { color: #d4e3d8; }
.how-lead { color: rgba(255,255,255,.85); max-width: 360px; line-height: 1.8; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid; grid-template-columns: 44px 1fr; gap: 0;
  padding: 0 0 26px; margin-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.steps .n { font-size: 12px; color: rgba(255,255,255,.75); padding-top: 6px; }
.steps h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 6px; }
.steps p { color: rgba(255,255,255,.82); font-size: 15px; }
.note {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 8px; margin-left: 44px; padding: 14px 18px; border-radius: 10px;
  background: rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.9);
}
.note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* pricing */
.plan {
  display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 44px;
}
.plan .section-title { margin: 14px 0 10px; }
.plan-copy p { color: var(--ink-soft); }
.plan-price { text-align: right; }
.plan-price .amount { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--ink); }
.plan-price .per { font-size: 14px; color: var(--ink-soft); margin-left: 4px; }
.plan-foot {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.plan-foot small { color: var(--ink-mute); font-size: 13px; }

/* CTA */
.cta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  background: #e3e7e1; border-radius: var(--radius-lg); padding: 64px 60px;
}
.cta .display { margin: 16px 0 16px; }
.cta p { color: var(--ink-soft); max-width: 420px; margin-bottom: 28px; }
.cta-mark { position: relative; width: 200px; height: 260px; margin-right: 10px; }
.cta-mark .oval { position: absolute; inset: 0; border: 1px solid var(--sage); border-radius: 50%; transform: rotate(-8deg); }
.cta-mark .letter {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -58%);
  font-family: var(--serif); font-size: 128px; line-height: 1; color: var(--green-500); opacity: .85;
}
.cta-mark .cap {
  position: absolute; right: 18px; bottom: 82px; font-size: 9px; letter-spacing: .14em; line-height: 1.5;
  color: var(--ink-soft); text-transform: uppercase;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--green-700); color: var(--white); padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo .studio { color: var(--sage-soft); }
.footer-brand p { margin: 14px 0 22px; font-size: 14px; color: rgba(255,255,255,.88); }
.mail-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55);
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s;
}
.mail-btn:hover { background: rgba(255,255,255,.1); }
.mail-btn svg { width: 16px; height: 16px; }
.footer-col h4 { margin: 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 14px; color: rgba(255,255,255,.92); }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18);
  font-size: 12px; color: rgba(255,255,255,.8);
}

/* ---------- Directory page ---------- */
.dir-hero { padding: 70px 0 30px; }
.dir-hero .display { margin: 18px 0 10px; font-size: clamp(2.3rem, 4.6vw, 3.4rem); }
.dir-hero .display em { display: block; }
.dir-hero .lead { color: var(--ink-soft); }

.filters {
  margin-top: 34px; background: #e7ebe6; border-radius: var(--radius); padding: 14px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 10px;
}
.field { position: relative; }
.field input, .field select {
  width: 100%; height: 46px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); padding: 0 14px; font-size: 14px; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(127,164,140,.2); }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='14' viewBox='0 0 24 28' fill='none' stroke='%2326302b' stroke-width='2.2'%3E%3Cpath d='m7 10 5-5 5 5M7 18l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.field--search input { padding-left: 38px; }
.field--search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-soft); pointer-events: none; }
.field--sort { grid-column: 1 / 2; }
.field--sort select { height: 36px; font-size: 13px; }

.more-filters { margin-top: 14px; }
.more-filters summary { cursor: pointer; font-size: 15px; color: var(--ink); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.more-filters summary::-webkit-details-marker { display: none; }
.more-filters summary::before { content: "▸"; font-size: 12px; transition: transform .2s; }
.more-filters[open] summary::before { transform: rotate(90deg); }
.more-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.more-grid label { font-size: 12px; color: var(--ink-soft); display: block; margin-bottom: 6px; }
.check-row { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span {
  display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13px; background: var(--card); cursor: pointer; transition: all .2s;
}
.chip input:checked + span { background: var(--green-600); border-color: var(--green-600); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }

.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 70px 0 22px; flex-wrap: wrap; }
.results-head .section-title { margin-top: 12px; }
.approved { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.approved svg { width: 14px; height: 14px; }

/* ---------- Auth page ---------- */
.auth { display: grid; grid-template-columns: minmax(300px, 0.42fr) 1fr; min-height: 100vh; }
.auth-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--green-800), var(--green-700) 60%, #2a6249);
  color: var(--white); padding: 40px 44px 60px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.auth-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 0 55%, rgba(255,240,205,.05) 55% 62%, transparent 62%);
}
.auth-panel .logo .studio { color: inherit; font-weight: 700; }
.auth-panel .eyebrow { color: var(--sage-soft); margin-bottom: 18px; }
.auth-panel h1 { font-family: var(--serif); font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1.08; letter-spacing: -.01em; }
.auth-panel h1 em { color: inherit; }
.auth-back {
  display: inline-flex; gap: 8px; align-items: center; margin-top: 34px; font-size: 13px; font-weight: 500;
  color: var(--sage-soft); padding-bottom: 6px; border-bottom: 1px solid var(--white);
}
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--paper); }
.auth-card {
  width: 100%; max-width: 440px; background: var(--card); border: 1px solid #ebeae5;
  border-radius: 16px; padding: 44px 34px 30px; text-align: center;
  box-shadow: 0 20px 50px rgba(29,77,57,.06);
}
.auth-card h2 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.auth-card .sub { font-size: 13px; color: var(--ink-soft); margin-bottom: 28px; }
.btn-google {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s;
}
.btn-google:hover { background: #f6f6f3; }
.btn-google svg { width: 16px; height: 16px; }
.divider { display: flex; align-items: center; gap: 14px; margin: 18px 0; font-size: 12px; color: var(--ink-mute); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form { text-align: left; display: grid; gap: 18px; }
.auth-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 7px; }
.auth-form input {
  width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: #f3f3f0; padding: 0 18px; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.auth-form input:focus { border-color: var(--sage); background: var(--white); box-shadow: 0 0 0 3px rgba(127,164,140,.2); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; color: var(--ink-mute);
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.pw-toggle svg { width: 18px; height: 18px; }
.auth-form .btn { width: 100%; height: 44px; margin-top: 6px; }
.form-msg { font-size: 13px; min-height: 18px; text-align: center; color: #b4452f; }
.form-msg.ok { color: var(--green-600); }
.auth-alt { margin-top: 26px; font-size: 13px; color: var(--ink-soft); }
.auth-alt a { color: var(--ink); font-weight: 600; }
.auth-alt a:hover { text-decoration: underline; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site-header nav {
    position: absolute; top: 80px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--green-800); color: var(--white); border-radius: 14px; padding: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s ease;
  }
  .site-header nav a { padding: 14px 16px; border-radius: 10px; }
  .site-header nav a:hover { background: rgba(255,255,255,.08); }
  .nav-open .site-header nav { opacity: 1; visibility: visible; transform: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .signin { display: none; }

  .intro .wrap, .how .wrap { grid-template-columns: 1fr; gap: 36px; }
  .studio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .field--search { grid-column: 1 / -1; }
  .field--sort { grid-column: 1 / -1; }
  .more-grid { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 48px 36px; }
  .cta-mark { display: none; }
  .auth { grid-template-columns: 0.42fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .section { padding: 76px 0; }
  .site-header .wrap { height: 70px; }
  .site-header nav { top: 70px; }
  .header-actions .btn { padding: 11px 16px; font-size: 13px; }
  .hero { min-height: 0; }
  .hero-body { padding: 40px 0 30px; }
  .hero-search { flex-wrap: wrap; border-radius: 20px; padding: 8px; }
  .hero-search .pin { margin-left: 10px; }
  .hero-search .btn { width: 100%; }
  .hero-foot .wrap { justify-content: flex-start; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat, .cat:nth-child(even) { padding: 26px 50px 28px 40px; border-right: 0; }
  .cat:nth-child(even) .cat-num { left: 0; }
  .cat .arrow { right: 12px; }
  .studio-grid { grid-template-columns: 1fr; }
  .plan { grid-template-columns: 1fr; padding: 30px 24px; }
  .plan-price { text-align: left; }
  .cta { padding: 40px 24px; }
  .note { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .filters { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-panel { padding: 28px 20px 34px; min-height: 0; }
  .auth-panel .panel-copy { margin-top: 40px; }
  .auth-panel h1 br { display: none; }
  .auth-card { padding: 34px 22px 26px; }
}

/* Sign in link lives in the mobile menu only */
.site-header nav .nav-signin { display: none; }
@media (max-width: 980px) { .site-header nav .nav-signin { display: block; border-top: 1px solid rgba(255,255,255,.12); } }

/* studio cards are links */
.studio-card { display: block; color: inherit; }
.google-slot { display: flex; justify-content: center; margin-bottom: 4px; }
.google-slot:empty { display: none; }
