/*
Theme Name: Bellomi Law
Theme URI: https://bellomilaw.com
Author: Bellomi Law
Description: A clean, professional single-page business-card theme for Bellomi Law, the practice of attorney Isabella Gossing. Brand identity: rose/mauve accent with a deep maroon serif wordmark and hummingbird emblem.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bellomi-law
*/

:root {
  --rose: #C2607B;
  --rose-deep: #A84A66;
  --maroon: #6E2A3C;
  --maroon-dark: #521E2C;
  --ink: #211a1d;
  --muted: #6b5b60;
  --cream: #faf6f3;
  --cream-2: #f3e9e6;
  --line: #e7d8d5;
  --white: #ffffff;
  --serif-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --serif-body: "Lora", Georgia, "Times New Roman", serif;
  --shadow: 0 18px 50px rgba(82, 30, 44, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rose-deep); }

h1, h2, h3 { font-family: var(--serif-display); font-weight: 600; line-height: 1.15; color: var(--maroon); margin: 0 0 0.5em; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 246, 243, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .hummingbird { width: 34px; height: 34px; flex: none; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 0.98; }
.brand .wordmark .l1 { font-family: var(--serif-display); font-weight: 700; letter-spacing: 0.14em; color: var(--maroon); font-size: 20px; }
.brand .wordmark .l2 { font-family: var(--serif-display); font-weight: 600; letter-spacing: 0.34em; color: var(--rose); font-size: 13px; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-family: var(--serif-body); font-size: 15px; letter-spacing: 0.03em; transition: color .2s; }
.nav a:hover { color: var(--rose-deep); }
.nav a.btn { padding: 9px 18px; background: var(--maroon); color: #fff; border-radius: 999px; letter-spacing: 0.05em; }
.nav a.btn:hover { background: var(--rose-deep); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--maroon); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(1200px 500px at 85% -10%, rgba(194,96,123,0.18), transparent 60%),
  radial-gradient(900px 500px at 5% 110%, rgba(110,42,60,0.12), transparent 55%),
  linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-top: 84px; padding-bottom: 84px; }
.hero .eyebrow { display: inline-block; font-family: var(--serif-body); letter-spacing: 0.24em; text-transform: uppercase; font-size: 12.5px; color: var(--rose-deep); margin-bottom: 18px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.6); }
.hero h1 { font-size: clamp(38px, 6vw, 62px); margin-bottom: 10px; }
.hero .subtitle { font-family: var(--serif-display); font-style: italic; color: var(--rose-deep); font-size: clamp(19px, 2.6vw, 25px); margin-bottom: 22px; }
.hero p.lede { color: var(--muted); font-size: 19px; max-width: 40ch; margin: 0 0 28px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { display: inline-block; padding: 14px 28px; background: var(--maroon); color: #fff; text-decoration: none; border-radius: 999px; font-family: var(--serif-body); letter-spacing: 0.04em; transition: transform .15s, background .2s; }
.btn-primary:hover { background: var(--rose-deep); transform: translateY(-1px); color: #fff; }
.btn-ghost { display: inline-block; padding: 14px 26px; background: transparent; color: var(--maroon); text-decoration: none; border-radius: 999px; border: 1px solid var(--maroon); font-family: var(--serif-body); letter-spacing: 0.04em; transition: all .2s; }
.btn-ghost:hover { background: var(--maroon); color: #fff; }

/* Hero emblem card */
.hero-emblem { display: flex; align-items: center; justify-content: center; }
.emblem-card { position: relative; width: 100%; max-width: 340px; aspect-ratio: 4/5; border-radius: 20px; background:
  linear-gradient(160deg, #fff 0%, var(--cream-2) 100%);
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.emblem-card .band { position: absolute; left: 0; top: 0; bottom: 0; width: 12px; border-radius: 20px 0 0 20px; background: linear-gradient(180deg, var(--rose), var(--maroon)); }
.emblem-card .hummingbird { width: 108px; height: 108px; margin-bottom: 16px; }
.emblem-card .em-name { font-family: var(--serif-display); font-weight: 700; letter-spacing: 0.16em; color: var(--maroon); font-size: 22px; }
.emblem-card .em-sub { font-family: var(--serif-display); letter-spacing: 0.36em; color: var(--rose); font-size: 13px; margin-top: 2px; }
.emblem-card .em-rule { width: 46px; height: 2px; background: var(--rose); margin: 16px auto; opacity: 0.6; }
.emblem-card .em-cap { font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head .kicker { font-family: var(--serif-body); letter-spacing: 0.22em; text-transform: uppercase; font-size: 12.5px; color: var(--rose-deep); display: block; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.about-grid .bio p { margin: 0 0 18px; }
.about-grid .bio p:last-child { margin-bottom: 0; }
.portrait { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, var(--cream-2), #fff); box-shadow: var(--shadow); aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; text-align: center; padding: 28px; }
.portrait .band { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(180deg, var(--rose), var(--maroon)); }
.portrait .ph-icon { width: 62px; height: 62px; opacity: 0.5; margin-bottom: 14px; }
.portrait .ph-text { font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }

/* Practice areas */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; transition: transform .18s, box-shadow .2s; }
.section-alt .card { background: var(--cream); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--cream-2); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--rose-deep); }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.65; }

/* Credentials */
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cred { display: flex; gap: 16px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.section-alt .cred { background: var(--cream); }
.cred .dot { flex: none; width: 12px; height: 12px; border-radius: 999px; margin-top: 9px; background: linear-gradient(180deg, var(--rose), var(--maroon)); }
.cred h3 { font-size: 18px; margin-bottom: 4px; color: var(--maroon); }
.cred p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info p { color: var(--muted); }
.contact-info .office { margin-top: 22px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.contact-info .office .lbl { font-family: var(--serif-body); letter-spacing: 0.18em; text-transform: uppercase; font-size: 11.5px; color: var(--rose-deep); margin-bottom: 6px; }
.contact-info .office .addr { color: var(--ink); font-size: 16.5px; line-height: 1.5; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.form-row input, .form-row textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--serif-body); font-size: 16px; color: var(--ink); background: var(--cream); transition: border .2s, box-shadow .2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(194,96,123,0.15); background: #fff; }
.form-row textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 4px 0 20px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-size: 15.5px; }
.alert.ok { background: #eef7ee; border: 1px solid #cfe6cf; color: #2f6b32; }
.alert.err { background: #fbeef0; border: 1px solid #f0d3d8; color: #9a3b4d; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-dark); color: #f3e3e7; padding: 46px 0 30px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer .fbrand { display: flex; align-items: center; gap: 12px; }
.site-footer .fbrand .hummingbird { width: 30px; height: 30px; }
.site-footer .fbrand .l1 { font-family: var(--serif-display); font-weight: 700; letter-spacing: 0.14em; font-size: 18px; color: #fff; }
.site-footer .fbrand .l2 { font-family: var(--serif-display); letter-spacing: 0.32em; font-size: 11px; color: var(--rose); }
.site-footer .fine { font-size: 13.5px; color: #d9bec6; max-width: 46ch; }
.site-footer .disclaimer { width: 100%; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 22px; padding-top: 20px; font-size: 12.5px; color: #c9a9b2; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; padding-bottom: 60px; }
  .hero-emblem { order: -1; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; background: var(--cream); border-bottom: 1px solid var(--line); padding: 18px 28px; gap: 4px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a.btn { text-align: center; border-bottom: 0; margin-top: 8px; }
  .nav-toggle { display: block; }
  .portrait { max-width: 320px; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  section { padding: 56px 0; }
}
