/* =========================================================================
   Macatangay & Catapang Law Offices
   Design system — deep ink navy · warm brass · ivory · Caslon / Franklin
   ========================================================================= */

:root {
  /* Palette */
  --ink:        #0E1B2E;   /* deep navy ink — authority */
  --ink-2:      #16283F;   /* raised ink panel */
  --ink-3:      #0A1422;   /* deepest ink (footer) */
  --brass:      #B4924F;   /* warm brass — restraint */
  --brass-2:    #C9AA6A;   /* lit brass (hover / highlights) */
  --brass-soft: rgba(180, 146, 79, 0.16);
  --paper:      #F7F3EA;   /* warm ivory */
  --paper-2:    #FBF9F3;   /* lighter ivory */
  --text:       #1D2733;   /* body ink on light */
  --muted:      #5C6675;   /* secondary text */
  --muted-2:    #8A93A0;   /* tertiary */
  --white:      #FFFFFF;
  --line:       rgba(29, 39, 51, 0.14);   /* hairline on light */
  --line-ink:   rgba(201, 170, 106, 0.22);/* brass hairline on ink */
  --line-ink-2: rgba(255, 255, 255, 0.10);

  /* Type */
  --serif:      "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --serif-text: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans:       "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Metrics */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;
  --shadow: 0 24px 60px -30px rgba(14, 27, 46, 0.45);
  --shadow-soft: 0 14px 40px -24px rgba(14, 27, 46, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; }

/* --------------------------------------------------------------- Utilities */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--brass-2); }

h1, h2, h3 { font-family: var(--serif); line-height: 1.12; letter-spacing: -0.01em; }
.display {
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  line-height: 1.04;
  font-weight: 400;
}
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lead {
  font-family: var(--serif-text);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.55;
  color: var(--text);
}

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* Buttons */
.btn {
  --bg: var(--ink);
  --fg: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--bg);
  border-radius: var(--radius);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); transform: translateY(-1px); }
.btn .arw { transition: transform .3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--brass { --bg: var(--brass); --fg: var(--ink); border-color: var(--brass); }
.btn--brass:hover { background: transparent; color: var(--brass-2); border-color: var(--brass); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--on-ink { --bg: var(--brass); --fg: var(--ink); border-color: var(--brass); }
.btn--on-ink:hover { background: transparent; color: var(--brass-2); }
.btn--ghost-ink { --bg: transparent; --fg: var(--paper); border-color: var(--line-ink); }
.btn--ghost-ink:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }

/* Text link with brass underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--brass);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.tlink:hover { gap: 14px; color: var(--brass); }
.tlink--light { color: var(--paper); }
.tlink--light:hover { color: var(--brass-2); }

/* ------------------------------------------------------------ Top utility */
.topbar {
  background: var(--ink-3);
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line-ink-2);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 20px; }
.topbar a { color: rgba(247, 243, 234, 0.72); transition: color .25s var(--ease); }
.topbar a:hover { color: var(--brass-2); }
.topbar__meta { display: inline-flex; align-items: center; gap: 10px; }
.topbar__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--brass); }
.topbar__right { display: inline-flex; align-items: center; gap: 22px; }
@media (max-width: 760px) { .topbar__meta--hide { display: none; } }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 243, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }

/* Logo lockup */
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand__name .amp { color: var(--brass); font-style: italic; padding-inline: 1px; }
.brand__sub {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
@media (max-width: 520px) { .brand__sub { letter-spacing: 0.22em; font-size: 8.5px; } .brand__name { font-size: 18px; } }

/* Nav */
.nav { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--brass);
  transition: width .3s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__cta { display: inline-flex; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 10px; margin-right: -10px;
}
.nav-toggle span { width: 24px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 84vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 108px 36px 40px;
    background: var(--ink); color: var(--paper);
    transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { color: var(--paper); font-size: 17px; padding: 18px 0; border-bottom: 1px solid var(--line-ink-2); }
  .nav__links a::after { display: none; }
  .nav__cta { margin-top: 28px; }
  .nav__cta .btn { justify-content: center; }
  body.nav-open { overflow: hidden; }
}
.nav-scrim { position: fixed; inset: 0; background: rgba(10, 20, 34, 0.5); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); z-index: 40; }
.nav-scrim.is-open { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(180, 146, 79, 0.18), transparent 55%),
    radial-gradient(90% 70% at 12% 100%, rgba(22, 40, 63, 0.9), transparent 60%),
    linear-gradient(160deg, #0A1422 0%, #0E1B2E 48%, #16283F 100%);
}
/* faint engraved rule pattern */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(var(--line-ink-2) 1px, transparent 1px);
  background-size: 100% 88px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 85%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 40%, #000 85%, transparent);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding-block: clamp(72px, 11vw, 148px);
}
.hero__copy { max-width: 640px; }
.hero__title { color: var(--white); margin-bottom: 26px; }
.hero__title em { font-style: italic; color: var(--brass-2); }
.hero__lead { color: rgba(247, 243, 234, 0.82); font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 52ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__aside { display: flex; justify-content: center; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__aside { order: -1; justify-content: flex-start; }
}

/* Notarial seal */
.seal { width: clamp(200px, 26vw, 300px); height: auto; filter: drop-shadow(0 16px 40px rgba(0,0,0,.4)); }
.seal .ring-text { font-family: var(--sans); font-size: 8px; font-weight: 600; letter-spacing: 0.26em; fill: var(--brass-2); text-transform: uppercase; }
.seal .mono { font-family: var(--serif); font-size: 58px; fill: var(--paper); }
.seal .mono .amp { fill: var(--brass-2); font-style: italic; }
.seal .est { font-family: var(--sans); font-size: 7.5px; font-weight: 600; letter-spacing: 0.24em; fill: var(--brass); }
.seal .dia { fill: var(--brass); }
.seal .rule { stroke: var(--brass); }
.seal .rule-soft { stroke: rgba(201, 170, 106, 0.38); }

.seal--dark .ring-text { fill: var(--brass); }
.seal--dark .mono { fill: var(--ink); }
.seal--dark .mono .amp { fill: var(--brass); }

/* --------------------------------------------------- Credibility stat bar */
.statbar { background: var(--ink-3); color: var(--paper); border-top: 1px solid var(--line-ink); }
.statbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.statbar__cell { padding: 40px clamp(16px, 3vw, 40px); border-right: 1px solid var(--line-ink-2); }
.statbar__cell:last-child { border-right: 0; }
.statbar__num { font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 3rem); color: var(--brass-2); line-height: 1; }
.statbar__num sup { font-size: 0.5em; color: var(--brass); top: -1.1em; }
.statbar__label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-top: 12px; }
@media (max-width: 720px) {
  .statbar__grid { grid-template-columns: repeat(2, 1fr); }
  .statbar__cell:nth-child(2) { border-right: 0; }
  .statbar__cell:nth-child(1), .statbar__cell:nth-child(2) { border-bottom: 1px solid var(--line-ink-2); }
}

/* ---------------------------------------------------------- Section head */
.shead { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.shead--center { margin-inline: auto; text-align: center; }
.shead p { color: var(--muted); margin-top: 18px; margin-bottom: 0; }
.section--ink .shead p { color: rgba(247, 243, 234, 0.72); }

/* -------------------------------------------------------- Two-col intro */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__body p:last-child { margin-bottom: 0; }
.pull {
  font-family: var(--serif-text);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.4;
  color: var(--ink);
  border-left: 2px solid var(--brass);
  padding-left: 28px;
  margin: 0 0 8px;
}
.section--ink .pull { color: var(--paper); }

/* Signature block */
.signoff { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.signoff__name { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.section--ink .signoff__name { color: var(--paper); }
.signoff__role { font-size: 12.5px; letter-spacing: 0.06em; color: var(--muted); }

/* --------------------------------------------------------- Practice grid */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 860px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } }
.pcard {
  background: var(--paper-2);
  padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  min-height: 210px;
  transition: background .35s var(--ease), transform .35s var(--ease);
  position: relative;
}
.pcard:hover { background: var(--white); }
.pcard__no { font-family: var(--serif); font-size: 13px; color: var(--brass); letter-spacing: 0.1em; }
.pcard__title { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); margin: 14px 0 12px; line-height: 1.2; }
.pcard__desc { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; flex: 1; }
.pcard__more { margin-top: 20px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); opacity: 0; transform: translateY(4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.pcard:hover .pcard__more { opacity: 1; transform: translateY(0); }
.pcard::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--brass); transition: width .35s var(--ease); }
.pcard:hover::before { width: 100%; }

/* Compact list variant (practice-areas page) */
.plist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 720px) { .plist { grid-template-columns: 1fr; } }
.plist__item { background: var(--paper-2); padding: 30px 30px; display: flex; gap: 22px; align-items: flex-start; transition: background .3s var(--ease); }
.plist__item:hover { background: var(--white); }
.plist__no { font-family: var(--serif); color: var(--brass); font-size: 1.1rem; flex: none; padding-top: 3px; min-width: 34px; }
.plist__title { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin: 0 0 8px; }
.plist__desc { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* --------------------------------------------------------- Recognition */
.awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-ink); border: 1px solid var(--line-ink); }
@media (max-width: 820px) { .awards { grid-template-columns: repeat(2, 1fr); } }
.award {
  background: var(--ink); padding: 40px 26px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.award__body { color: var(--brass-2); margin-bottom: 6px; }
.award__tier { font-family: var(--serif); font-size: 1.5rem; color: var(--white); line-height: 1.1; }
.award__org { font-size: 12px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--brass); }
.award__note { font-size: 12.5px; color: var(--muted-2); margin: 0; }
.award__yr { font-size: 11px; letter-spacing: 0.18em; color: var(--muted); }

/* ranking logos row */
.ranks { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 60px); }
.rank { display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0.9; }
.rank__mark { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); letter-spacing: 0.02em; }
.section--ink .rank__mark { color: var(--paper); }
.rank__mark b { color: var(--brass); font-weight: 400; }
.rank__cap { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------- People */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 30px); }
@media (max-width: 900px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .people { grid-template-columns: 1fr; } }
.person { display: flex; flex-direction: column; }
.person__photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line);
}
.person__photo .avatar { width: 100%; height: 100%; }
.person__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,34,0.5), transparent 45%);
}
.person__badge {
  position: absolute; z-index: 2; left: 16px; bottom: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-2);
}
.person__name { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin: 18px 0 4px; }
.person__role { font-size: 13px; color: var(--muted); letter-spacing: 0.03em; }
.person__areas { margin-top: 12px; font-size: 12.5px; color: var(--muted-2); border-top: 1px solid var(--line); padding-top: 12px; }

/* ------------------------------------------------------------- Milestones */
.timeline { position: relative; display: grid; gap: 0; }
.tl {
  display: grid; grid-template-columns: 160px 1fr; gap: clamp(24px, 4vw, 56px);
  padding: 34px 0; border-top: 1px solid var(--line); align-items: baseline;
}
.tl:last-child { border-bottom: 1px solid var(--line); }
.tl__year { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--brass); line-height: 1; }
.tl__title { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); margin: 0 0 8px; }
.tl__desc { color: var(--muted); font-size: 15px; margin: 0; max-width: 60ch; }
@media (max-width: 620px) { .tl { grid-template-columns: 1fr; gap: 10px; } }

/* Values cards */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
@media (max-width: 820px) { .vgrid { grid-template-columns: 1fr; } }
.vcard { padding: 34px 30px; background: var(--paper-2); border: 1px solid var(--line); border-top: 2px solid var(--brass); }
.section--ink .vcard { background: var(--ink-2); border-color: var(--line-ink); border-top-color: var(--brass); }
.vcard__k { font-family: var(--serif); font-size: 1.05rem; color: var(--brass); letter-spacing: 0.08em; }
.vcard__t { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin: 10px 0 12px; }
.section--ink .vcard__t { color: var(--paper); }
.vcard__d { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.65; }
.section--ink .vcard__d { color: rgba(247,243,234,.72); }

/* ------------------------------------------------------------- CTA band */
.cta-band { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 85% 0%, rgba(180,146,79,.16), transparent 55%);
}
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 40px; padding-block: clamp(56px, 7vw, 92px); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(247,243,234,.78); margin: 16px 0 0; max-width: 46ch; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-block { margin-bottom: 34px; }
.info-block__k { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
.info-block__v { font-family: var(--serif-text); font-size: 1.2rem; color: var(--ink); line-height: 1.5; }
.info-block__v a { border-bottom: 1px solid var(--line); transition: border-color .25s var(--ease); }
.info-block__v a:hover { border-color: var(--brass); }

.form { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-soft); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; display: flex; flex-direction: column; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field label .req { color: var(--brass); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--text);
  padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper-2); transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); background: var(--white);
  box-shadow: 0 0 0 3px var(--brass-soft);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; }
.form__consent input { margin-top: 3px; accent-color: var(--brass); }
.form__actions { margin-top: 26px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__note { font-size: 12.5px; color: var(--muted-2); }
.form__status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-size: 14px; display: none; }
.form__status.is-visible { display: block; }
.form__status.is-ok { background: var(--brass-soft); color: #6b5320; border: 1px solid var(--brass); }

/* Map / office plate */
.plate { border: 1px solid var(--line); background: linear-gradient(160deg, var(--ink), var(--ink-2)); color: var(--paper); aspect-ratio: 16 / 8; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px; position: relative; overflow: hidden; }
.plate::before { content:""; position:absolute; inset:0; background-image: linear-gradient(var(--line-ink-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-ink-2) 1px, transparent 1px); background-size: 40px 40px; opacity:.5; }
.plate__inner { position: relative; }
.plate__pin { color: var(--brass-2); margin-bottom: 10px; }
.plate__city { font-family: var(--serif); font-size: 1.6rem; color: var(--white); }
.plate__addr { font-size: 13.5px; color: rgba(247,243,234,.72); margin-top: 6px; }

/* ------------------------------------------------------------- Page hero */
.pagehero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; isolation: isolate; }
.pagehero::before { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(90% 120% at 88% 0%, rgba(180,146,79,.16), transparent 55%), linear-gradient(160deg, #0A1422, #16283F); }
.pagehero .wrap { padding-block: clamp(70px, 9vw, 120px); }
.pagehero__crumbs { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 22px; }
.pagehero__crumbs a { color: var(--brass); }
.pagehero__crumbs span { color: var(--muted); margin-inline: 8px; }
.pagehero h1 { color: var(--white); max-width: 16ch; }
.pagehero p { color: rgba(247,243,234,.8); max-width: 60ch; margin: 24px 0 0; font-family: var(--serif-text); font-size: 1.2rem; }

/* ------------------------------------------------------------- Footer */
.site-footer { background: var(--ink-3); color: rgba(247,243,234,.7); }
.footer-top { padding-block: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line-ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(30px, 4vw, 56px); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand__name { font-family: var(--serif); font-size: 1.5rem; color: var(--paper); margin: 20px 0 14px; }
.footer-brand__name .amp { color: var(--brass); font-style: italic; }
.footer-brand p { font-size: 14px; max-width: 34ch; }
.fcol__h { font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.fcol a { display: block; padding: 7px 0; font-size: 14px; color: rgba(247,243,234,.72); transition: color .25s var(--ease), padding-left .25s var(--ease); }
.fcol a:hover { color: var(--brass-2); padding-left: 5px; }
.fcol address { font-style: normal; font-size: 14px; line-height: 1.8; }
.footer-bottom { padding-block: 26px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom small { font-size: 12.5px; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { font-size: 12.5px; color: var(--muted-2); }
.footer-legal a:hover { color: var(--brass-2); }

/* Disclaimer strip */
.disclaimer { background: var(--ink); border-top: 1px solid var(--line-ink); }
.disclaimer .wrap { padding-block: 20px; }
.disclaimer p { font-size: 12px; line-height: 1.7; color: var(--muted-2); margin: 0; max-width: 100%; }

/* ------------------------------------------------------------- Legal prose */
.prose { max-width: 820px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--ink); margin: 44px 0 14px; }
.prose h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin: 26px 0 10px; }
.prose p { color: var(--text); margin: 0 0 16px; }
.prose ul { margin: 0 0 18px; padding-left: 0; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text); }
.prose li::before { content: ""; position: absolute; left: 5px; top: 11px; width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg); }
.prose a { color: var(--brass); border-bottom: 1px solid var(--line); transition: border-color .25s var(--ease); }
.prose a:hover { border-color: var(--brass); }
.prose .updated { font-family: var(--sans); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 28px; }
.prose .note { border-left: 2px solid var(--brass); padding: 6px 0 6px 22px; color: var(--muted); font-size: 14.5px; font-family: var(--serif-text); margin: 0 0 34px; }

/* ------------------------------------------------------------- Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--brass); color: var(--ink); padding: 12px 18px; z-index: 100; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }
