/* Kassira Law — site styles. Gold and ivory from the firm's logo. */
:root {
  --ink: #1E1B16;
  --ink-soft: #3E382E;
  --muted: #5A5347;
  --gold: #C89840;
  --gold-text: #7A5A1C;
  --gold-deep: #8A6420;
  --gold-num: #B8883A;
  --ivory: #F7F3EA;
  --white: #FFFFFF;
  --line: #E6DCC8;
  --line-soft: #EDE6D8;
  --field: #CFC5B3;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--gold-text); }
a:hover { color: #4F3A10; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.band { padding-block: 112px; }
.band--ivory { background: var(--ivory); }
.eyebrow { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 14px; }
h1, h2 { font-family: var(--serif); font-weight: 500; text-wrap: balance; }
h2 { font-size: 52px; line-height: 1.08; margin: 0; }
.lead { color: var(--muted); margin: 0; max-width: 420px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line-soft); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { flex: none; }
/* The logo file has white space around it: crop it to the visible logo. */
.logo { display: block; width: 156px; height: 32px; overflow: hidden; }
.logo img { display: block; width: 170px; height: 78px; max-width: none; margin: -20px 0 0 -7px; }
.nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; white-space: nowrap; }
@media (max-width: 960px) { .nav .nav-link { display: none; } .nav { gap: 12px; } }
@media (max-width: 520px) { .nav .btn { padding: 10px 14px; font-size: 14px; } .nav .btn--box { padding: 9px 14px; } .call-num { display: none; } }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--gold-text); }
.btn { font: inherit; display: inline-block; text-decoration: none; padding: 16px 28px; font-weight: 600; border-radius: 2px; border: 0; cursor: pointer; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; color: var(--white); }
.btn--gold { background: var(--gold); color: #17140F; }
.btn--gold:hover { background: #B8883A; color: #17140F; }
.btn--outline { border: 1px solid #B9AE99; color: var(--ink); font-weight: 500; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.nav .btn { padding: 12px 20px; color: var(--white); }
.nav .btn--box { padding: 11px 20px; border: 1px solid var(--ink); color: var(--ink); background: var(--white); }
.nav .btn--box:hover { background: var(--ink); color: var(--white); }
/* Top boxes: every item boxed; Call matches "Book a consultation" (gold, dark text). */
.nav .nav-link { padding: 11px 20px; border: 1px solid var(--ink); border-radius: 2px; color: var(--ink); background: var(--white); font-weight: 600; }
.nav .nav-link:hover { background: var(--ink); color: var(--white); }
.nav .btn--dark { padding: 11px 20px; background: var(--gold); color: #17140F; border: 1px solid var(--ink); }
.nav .btn--dark:hover { background: #B8883A; color: #17140F; }
.nav { gap: 12px; }

/* Hero */
@media (min-width: 721px) { .keep-line { white-space: nowrap; } .mobile-only { display: none; } }
.hero { background-image: url(/australia.svg); background-repeat: no-repeat; background-position: 46% center; background-size: auto 90%; }
@media (max-width: 720px) { .hero { background-position: center 35%; background-size: 88% auto; } }
.hero .wrap { padding-block: 120px 112px; display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-end; }
.hero-main { flex: 999 1 560px; min-width: 0; }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 { font-size: 76px; line-height: 1.02; margin: 0 0 28px; letter-spacing: -0.01em; }
.hero h1 em { color: var(--gold-deep); }
.hero p { font-size: 19px; max-width: 560px; margin: 0 0 40px; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.pillars { flex: 1 1 280px; border-left: 1px solid #DCCFB6; padding-left: 32px; display: flex; flex-direction: column; gap: 22px; font-size: 15px; color: var(--muted); }
.pillars strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--ink); }

/* Practice areas */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area { background: var(--white); padding: 36px 32px; }
.area::before { content: ""; display: block; width: 40px; height: 2px; background: var(--gold); margin-bottom: 24px; }
.area h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.15; margin: 0 0 18px; }
.area ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-soft); }
/* Desktop: keep each column heading on one line. */
@media (min-width: 961px) { .area { padding: 36px 24px; } .area h3 { white-space: nowrap; font-size: clamp(22px, 2.2vw, 28px); } }
.area li { position: relative; padding-left: 18px; }
.area li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Steps */
.steps h2 { margin-bottom: 56px; max-width: 720px; }
.step-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step-list li { counter-increment: step; }
.step-list li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--gold-num); margin-bottom: 16px; }
.step-list h3 { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.step-list p { margin: 0; color: var(--muted); font-size: 16px; }

/* Find us */
.find .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: stretch; }
.find-info { flex: 1 1 320px; display: flex; flex-direction: column; justify-content: center; }
.find-info h2 { margin-bottom: 28px; }
.details { display: flex; flex-direction: column; gap: 20px; font-size: 16px; color: var(--ink-soft); margin: 0; }
.details dt { color: var(--gold-text); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.details dd { margin: 0; }
.details a { color: var(--ink); text-decoration: none; }
.details a:hover { color: var(--gold-text); }
.find-info .btn { margin-top: 32px; align-self: flex-start; border: 1px solid var(--ink); color: var(--ink); padding: 14px 24px; }
.map { flex: 999 1 520px; min-width: 0; min-height: 480px; border: 1px solid var(--line); overflow: hidden; background: #EEE9DE; }
.map iframe { border: 0; width: 100%; height: 100%; min-height: 480px; display: block; }

/* Contact */
.contact .wrap { display: flex; flex-wrap: wrap; gap: 64px; }
.contact-intro { flex: 1 1 340px; }
.contact-intro h2 { margin-bottom: 24px; }
.contact-intro p { margin: 0; color: var(--muted); }
.form { flex: 999 1 520px; min-width: 0; background: var(--white); padding: 40px; border: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field--wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 12px 14px; border: 1px solid var(--field); border-radius: 2px; background: var(--white); color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field [aria-invalid="true"] { border-color: #A3361F; }
.req { color: #A3361F; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot small { font-size: 13px; color: var(--muted); max-width: 380px; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; font-size: 15px; border-radius: 2px; }
.form-status--ok { background: #E6F0E8; color: #2F5D3A; }
.form-status--error { background: #F8E6E1; color: #8A2E1C; }
.form button[disabled] { opacity: 0.6; cursor: wait; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.site-footer .wrap { padding-block: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* Text pages (privacy, disclaimer) */
.page { padding-block: 80px 112px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: 56px; line-height: 1.05; margin: 0 0 32px; }
.page h2 { font-size: 30px; margin: 40px 0 12px; }
.page p, .page li { color: var(--ink-soft); }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .band { padding-block: 72px; }
  .hero .wrap { padding-block: 64px 72px; gap: 40px; }
  .hero h1 { font-size: 48px; }
  h2 { font-size: 38px; }
  .logo { width: 136px; height: 28px; }
  .logo img { width: 149px; height: 68px; margin: -18px 0 0 -7px; }
  .pillars { border-left: 0; padding-left: 0; border-top: 1px solid #DCCFB6; padding-top: 28px; }
  .form { padding: 24px; }
  .map, .map iframe { min-height: 360px; }
  .page h1 { font-size: 42px; }
}

/* Rounded corners throughout */
.btn, .nav .nav-link { border-radius: 10px; }
.field input, .field select, .field textarea { border-radius: 8px; }
.form, .map { border-radius: 14px; }
.areas { border-radius: 14px; overflow: hidden; }
.form-status { border-radius: 8px; }

/* Top bar outlines match the hero buttons */
.nav .btn--box { border-color: #B9AE99; }
.nav .btn--box:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.nav .btn--dark { border-color: var(--gold); }
.nav .btn--dark:hover { border-color: #B8883A; }