/* Urbanac Associates: charcoal, ivory and the gold of the firm's mark. */
:root {
  --ink: #1b1a18; --ink-2: #4a4641; --muted: #6f6a63; --paper: #faf7f2; --paper-2: #f2ede4; --line: #e3dccf;
  --night: #151413; --night-2: #201e1c; --gold: #c98a2c; --gold-2: #e8b04f; --gold-ink: #8a5a14; --green: #357a20;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; display: block; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }

/* Header and tabs */
.top { background: var(--night); color: #f4efe6; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #2c2925; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; }
.tabs { display: flex; gap: 4px; align-items: center; }
.tabs a { color: #d9d2c5; text-decoration: none; font: 500 .92rem/1 var(--sans); padding: 30px 12px 27px; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a:hover { color: #fff; }
.tabs a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.tabs a.cta { margin-left: 10px; padding: 11px 16px; border: 1px solid var(--gold); border-radius: 2px; color: #fff; }
.tabs a.cta:hover { background: var(--gold); color: var(--night); }
.menu-btn { display: none; background: none; border: 1px solid #4a453e; color: #fff; padding: 9px 12px; font: 500 .9rem var(--sans); border-radius: 2px; }
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .tabs { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--night); flex-direction: column; align-items: stretch; padding: 8px 24px 20px; border-bottom: 1px solid #2c2925; }
  .tabs.open { display: flex; }
  .tabs a { padding: 14px 4px; border-bottom: 1px solid #2c2925; }
  .tabs a[aria-current="page"] { border-bottom-color: #2c2925; color: var(--gold-2); }
  .tabs a.cta { margin: 14px 0 0; text-align: center; }
}

/* Hero */
.hero { background: radial-gradient(1200px 520px at 85% -10%, #3a2a14 0%, transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: #f4efe6; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; padding-top: 88px; padding-bottom: 96px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.16rem; color: #d9d2c5; max-width: 38em; }
.hero .eyebrow { color: var(--gold-2); }
.page-hero .wrap { display: block; padding-top: 72px; padding-bottom: 72px; }
.page-hero .lede { margin-top: 18px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-block; text-decoration: none; font: 600 .95rem/1 var(--sans); padding: 16px 22px; border-radius: 2px; border: 1px solid transparent; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--night); }
.btn-gold:hover { color: var(--night); filter: brightness(1.06); }
.btn-line { border-color: #6b645a; color: #fff; }
.btn-line:hover { border-color: #fff; color: #fff; }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { color: #fff; background: #000; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; } }

/* Notary booking card (hero) */
.notary { background: #fff; color: var(--ink); border-radius: 4px; padding: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.35); border-top: 4px solid var(--green); }
.notary .row { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.notary img { width: 64px; height: 64px; }
.notary strong { display: block; font: 700 1.1rem/1.25 var(--sans); }
.notary .small { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.notary a.book { display: block; text-align: center; background: var(--green); color: #fff; text-decoration: none; font: 600 .95rem/1 var(--sans); padding: 15px; border-radius: 2px; }
.notary a.book:hover { filter: brightness(1.08); }
.notary .note { font-size: .78rem; color: var(--muted); margin: 10px 0 0; text-align: center; }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--paper-2); }
section.dark { background: var(--night); color: #e9e3d8; }
section.dark h2, section.dark h3 { color: #fff; }
.intro { max-width: 46em; }
.intro p { color: var(--ink-2); font-size: 1.08rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } section { padding: 64px 0; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 30px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-2); margin-bottom: .6em; }
.division { position: relative; padding: 38px; border-top: 3px solid var(--gold); }
.division .tag { font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: block; }
.division ul { margin: 0 0 22px; padding-left: 18px; color: var(--ink-2); }
.division li { margin-bottom: 4px; }
.more { font-weight: 600; text-decoration: none; }
.more::after { content: " \2192"; }
.areas h3 { font-size: 1.3rem; }
.areas ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.badge { display: inline-flex; gap: 8px; align-items: center; font: 600 .78rem/1 var(--sans); letter-spacing: .06em; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { list-style: none; counter-increment: s; border-top: 1px solid var(--line); padding-top: 18px; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 600 1.4rem var(--serif); color: var(--gold-ink); display: block; margin-bottom: 6px; }
.steps strong { display: block; margin-bottom: 4px; }
.steps span { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
.partner { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.partner img { border-radius: 4px; width: 100%; height: auto; filter: saturate(.95); }
.partner .role { color: var(--gold-ink); font-weight: 600; margin-top: -6px; }
.creds { margin: 22px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.creds li { border-left: 2px solid var(--gold); padding-left: 12px; font-size: .95rem; color: var(--ink-2); }
.creds strong { color: var(--ink); display: block; }
@media (max-width: 860px) { .partner { grid-template-columns: 1fr; } .partner img { max-width: 280px; } .creds { grid-template-columns: 1fr; } }
.quote { font: 500 1.6rem/1.35 var(--serif); color: #fff; max-width: 34em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.details dt { font: 600 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 22px; }
.details dd { margin: 6px 0 0; white-space: pre-line; }
form.enquiry { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cfc6b6; border-radius: 2px; background: #fff; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: 2px solid rgba(201,138,44,.25); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -5000px; }
.consent { font-size: .86rem; color: var(--muted); margin: 6px 0 18px; }
.form-msg { margin-top: 16px; padding: 14px 16px; border-radius: 2px; display: none; }
.form-msg.ok { display: block; background: #eef6ea; color: #24561a; border: 1px solid #c7e1bc; }
.form-msg.err { display: block; background: #fbeceb; color: #8a1f17; border: 1px solid #efc4c0; }
button.btn { cursor: pointer; }
button[disabled] { opacity: .6; cursor: progress; }

/* Footer */
footer { background: var(--night); color: #bdb5a8; font-size: .92rem; padding: 64px 0 36px; }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
footer h4 { color: #fff; font: 600 .76rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; }
footer a { color: #e6dfd2; text-decoration: none; }
footer a:hover { color: var(--gold-2); }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 8px; }
footer .legal { border-top: 1px solid #2c2925; margin-top: 44px; padding-top: 22px; font-size: .8rem; color: #8f877b; line-height: 1.6; }
footer img { height: 46px; width: auto; margin-bottom: 16px; }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr; } }
.prose { max-width: 44em; }
.prose h2 { font-size: 1.7rem; margin-top: 1.4em; }
