/* ==============================================
   Shirly Rotman · Law Office — Editorial Legal
   ============================================== */

:root {
  --paper:        #F4EFE6;
  --paper-deep:   #EDE6D4;
  --paper-warm:   #F8F4EC;
  --ink:          #1A1814;
  --ink-soft:     #4A453D;
  --ink-muted:    #8A8275;
  --ink-faint:    #B8B0A0;
  --bronze:       #9A7340;
  --bronze-deep:  #6F5430;
  --bronze-soft:  rgba(154, 115, 64, 0.15);
  --sage:         #6B7459;
  --rule:         rgba(26, 24, 20, 0.14);
  --rule-soft:    rgba(26, 24, 20, 0.07);
  --rule-strong:  rgba(26, 24, 20, 0.28);

  --max-w: 1640px;
  --pad-x: 4rem;

  --font-display: 'Frank Ruhl Libre', serif;
  --font-body:    'Heebo', sans-serif;
  --font-latin:   'Cormorant Garamond', serif;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ───── Reset ───── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
a { color: inherit; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.55;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 60% at 90% 0%, rgba(154, 115, 64, 0.07), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(107, 116, 89, 0.05), transparent 60%);
}

/* paper grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.45;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.09  0 0 0 0 0.07  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

.latin   { font-family: var(--font-latin); }
.display { font-family: var(--font-display); }

/* ───── Editorial frame ───── */
.frame {
  position: fixed;
  inset: 18px;
  border: 1px solid var(--rule-soft);
  pointer-events: none;
  z-index: 50;
}
.frame-corner {
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--bronze);
}
.frame-corner.tl { top: -1px; right: -1px; border-top: 1px solid; border-right: 1px solid; }
.frame-corner.tr { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; }
.frame-corner.bl { bottom: -1px; right: -1px; border-bottom: 1px solid; border-right: 1px solid; }
.frame-corner.br { bottom: -1px; left: -1px; border-bottom: 1px solid; border-left: 1px solid; }

/* ───── Nav ───── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 239, 230, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}
.nav.scrolled {
  border-bottom-color: var(--rule);
  background: rgba(244, 239, 230, 0.94);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}
.logo .mark {
  width: 7px; height: 7px;
  background: var(--bronze);
  transform: rotate(45deg);
  margin-inline-end: 0.4rem;
  transition: transform 0.5s var(--ease-out);
}
.logo:hover .mark { transform: rotate(225deg); }
.logo .name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.logo .role {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-inline-start: 0.4rem;
}

.nav-items {
  display: flex;
  gap: 2.4rem;
  align-items: center;
}
.nav-items a {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}
.nav-items a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  inset-inline-end: 0;
  width: 0;
  height: 1px;
  background: var(--bronze);
  transition: width 0.45s ease;
}
.nav-items a:hover { color: var(--ink); }
.nav-items a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.78rem;
  border: 1px solid var(--ink);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.35s ease;
  letter-spacing: 0.02em;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}
.nav-cta::after { display: none; }

/* ───── Nav dropdown (ClickUp 86cb7b5nd — "תחומי התמחות" submenu) ─────
   .nav-item wraps a top-level link that has children; .nav-dropdown is
   hidden/lifted by default and revealed on hover or keyboard focus, so no JS
   is needed. See sr_nav.php for how $list gets grouped into these children. */
.nav-item.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown {
  list-style: none;
  position: absolute;
  top: calc(100% + 0.9rem);
  inset-inline-start: -1.4rem;
  min-width: 220px;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  box-shadow: 0 20px 40px -20px rgba(26, 24, 20, 0.3);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  z-index: 60;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown li + li { border-top: 1px solid var(--rule-soft); }
.nav-dropdown a {
  display: block;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  white-space: nowrap;
}
.nav-dropdown a::after { display: none; } /* the underline-on-hover accent reads oddly on a filled row */
.nav-dropdown a:hover { color: var(--bronze-deep); }

.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  inset-inline-end: 0;
  height: 1px;
  background: var(--ink);
  transition: all 0.4s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 11px; width: 24px; }
.nav-toggle span:nth-child(2) { top: 17px; width: 18px; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 14px; width: 24px; }
.nav-toggle.open span:nth-child(2) { transform: rotate(-45deg); top: 14px; width: 24px; }

/* ───── Section primitives ───── */
.section {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 7rem var(--pad-x);
}
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.75rem;
  color: var(--ink-muted);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section-divider::before,
.section-divider::after {
  content: '';
  height: 1px;
  background: var(--rule);
  flex: 1;
}
.section-divider .num {
  color: var(--bronze);
  font-style: normal;
  letter-spacing: 0.18em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-latin);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--bronze-deep);
  letter-spacing: 0.18em;
  margin-bottom: 2.6rem;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--bronze);
}

.section-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.section-h2 .accent {
  color: var(--bronze-deep);
  font-style: italic;
  font-weight: 300;
}

.lede {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 580px;
}

/* ───── Hero ───── */
.hero {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem var(--pad-x) 4rem;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
}
.sigil {
  position: absolute;
  top: 7rem;
  inset-inline-start: 3rem;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 22rem;
  line-height: 0.8;
  color: var(--bronze);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}
.meta-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 5rem;
}
.meta-row > * {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}
.meta-row .start { text-align: start; }
.meta-row .end   { text-align: end; }
.meta-row .center {
  font-family: var(--font-latin);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.meta-row .center::before,
.meta-row .center::after {
  content: '';
  width: 22px; height: 1px;
  background: var(--ink-muted);
  opacity: 0.5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 6rem;
  align-items: start;
  flex: 1;
}
.lead { position: relative; z-index: 2; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.8vw, 6.8rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 3rem;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0;
}
.hero h1 .word-reveal {
  display: inline-block;
  transform: translateY(108%);
  opacity: 0;
}
.hero h1 .accent {
  color: var(--bronze-deep);
  font-style: italic;
  font-weight: 300;
}

.subhead {
  max-width: 560px;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 3.2rem;
}
.subhead strong { color: var(--ink); font-weight: 500; }

.cta-row {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 1.1rem 2.2rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 400;
  transition: all 0.45s var(--ease-out);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bronze-deep);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
}
.cta:hover::before { transform: translateY(0); }
.cta > * { position: relative; z-index: 1; }
.cta .arrow {
  display: inline-block;
  transition: transform 0.45s var(--ease-out);
  font-size: 1.05rem;
}
.cta:hover .arrow { transform: translateX(-7px); }

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  padding: 1.05rem 1.6rem;
  border-radius: 999px;
  font-size: 0.92rem;
  border: 1px solid var(--rule-strong);
  transition: all 0.35s var(--ease-out);
}
.cta-ghost:hover { border-color: var(--ink); background: var(--paper-warm); }
.cta-ghost .icon { font-size: 1rem; opacity: 0.8; }

.cta-tel {
  font-family: var(--font-latin);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: all 0.35s;
  letter-spacing: 0.02em;
}
.cta-tel:hover { border-color: var(--ink); color: var(--ink); }
.cta-tel .label {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-inline-end: 0.5rem;
}

/* ───── Hero practice column ───── */
.practice-col {
  position: relative;
  border-inline-start: 1px solid var(--rule);
  padding-inline-start: 2.6rem;
  padding-top: 0.4rem;
}
.practice-col::before {
  content: '';
  position: absolute;
  inset-inline-start: -3px;
  top: 0;
  width: 5px; height: 5px;
  background: var(--bronze);
  transform: rotate(45deg);
}
.practice-col .label {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2rem;
  display: block;
}
.practice-col ol { list-style: none; }
.practice-col li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  cursor: pointer;
  transition: padding 0.45s var(--ease-out);
}
.practice-col li:hover { padding-inline-start: 0.7rem; }
.practice-col li:last-child { border-bottom: none; }
.practice-col li a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.practice-col li .num {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--bronze);
  min-width: 28px;
  letter-spacing: 0.08em;
}
.practice-col li .name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--ink);
  flex: 1;
  line-height: 1.3;
}
.practice-col li .name .en {
  display: block;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: 0.15rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
}
.practice-col li .arrow {
  color: var(--ink-muted);
  font-size: 0.85rem;
  transform: translateX(8px);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}
.practice-col li:hover .arrow { opacity: 1; transform: translateX(0); }

.footer-row-hero {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  gap: 2rem;
}
.footer-row-hero .start { text-align: start; }
.footer-row-hero .end { text-align: end; }
.footer-row-hero .scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--ink-muted);
}
.footer-row-hero .scroll-line {
  width: 60px;
  height: 1px;
  background: var(--rule);
  position: relative;
  overflow: hidden;
}
.footer-row-hero .scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  animation: scrollLine 2.6s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

/* ===============================================
   SECTION · Practice Areas
   =============================================== */
.practice-section {
  padding-top: 9rem;
  padding-bottom: 9rem;
}
.practice-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: end;
  margin-bottom: 8rem;
}
.practice-header .lede { margin-top: 1.2rem; }

.practice-list { display: flex; flex-direction: column; }
.practice-item {
  display: grid;
  grid-template-columns: 110px 1fr 240px;
  gap: 4rem;
  align-items: start;
  padding: 4rem 0;
  border-top: 1px solid var(--rule);
  position: relative;
  transition: background 0.5s ease;
}
.practice-item:last-child { border-bottom: 1px solid var(--rule); }
.practice-item:hover { background: rgba(154, 115, 64, 0.025); }
.practice-item.featured .practice-num { color: var(--bronze-deep); }

.practice-num {
  font-family: var(--font-latin);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 0.85;
  color: var(--bronze);
  letter-spacing: -0.02em;
  text-align: end;
  padding-top: 0.4rem;
}
.practice-content { padding-top: 0.4rem; }
.practice-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--bronze-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.practice-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--bronze);
  border-radius: 50%;
}
.practice-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin-bottom: 0.4rem;
}
.practice-title .en {
  display: block;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
  font-weight: 400;
  text-transform: lowercase;
}
.practice-desc {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 560px;
  margin-top: 1.5rem;
  margin-bottom: 1.8rem;
}
.practice-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.practice-services li {
  padding: 0.3rem 0;
  position: relative;
  padding-inline-end: 1.2rem;
  margin-inline-end: 1.2rem;
}
.practice-services li:not(:last-child)::after {
  content: '·';
  position: absolute;
  inset-inline-end: -0.3rem;
  color: var(--ink-faint);
  font-weight: 700;
}

.practice-link {
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule-strong);
  width: 100%;
  transition: border-color 0.4s, gap 0.4s var(--ease-out);
}
.practice-link:hover { border-color: var(--ink); gap: 1.4rem; }
.practice-link .arrow {
  font-size: 0.95rem;
  color: var(--bronze);
  transition: transform 0.4s var(--ease-out);
}
.practice-link:hover .arrow { transform: translateX(-4px); }

/* ===============================================
   SECTION · About Shirly
   =============================================== */
.about-section {
  background: var(--paper-deep);
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(154, 115, 64, 0.06), transparent 60%);
  pointer-events: none;
}
.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 9rem var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
  position: relative;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 30px 60px -30px rgba(26, 24, 20, 0.25);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}
.portrait-wrap {
  position: relative;
  padding-inline-start: 3rem;
  padding-top: 3rem;
  max-width: 320px; /* ClickUp 86cb7b5jq: "לא בא לי להיות מרוחה על כל העמוד" — shrink the
                        About-page portrait to roughly the same displayed size as the
                        home-page office photo (309×384), not full column width */
}
.portrait-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  border: 1px solid var(--bronze);
  opacity: 0.4;
  pointer-events: none;
}
.portrait-caption {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.02em;
}
.portrait-caption .right { color: var(--bronze-deep); }

.about-content h2 { margin-bottom: 2.5rem; }
.about-content .lede { margin-bottom: 3rem; max-width: none; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.stat .num .small {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.55em;
  color: var(--bronze);
  margin-inline-start: 0.2rem;
  vertical-align: 0.3em;
}
.stat .label {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.about-pull {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
  position: relative;
  padding-inline-start: 2rem;
  margin-bottom: 2.5rem;
}
.about-pull::before {
  content: '"';
  position: absolute;
  inset-inline-start: 0;
  top: -0.3em;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 4rem;
  color: var(--bronze);
  line-height: 1;
}
.about-pull cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-latin);
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-style: italic;
  letter-spacing: 0.05em;
}

.about-cta { display: inline-flex; align-items: center; gap: 0.6rem; }

/* ===============================================
   SECTION · Citizenship feature
   =============================================== */
.citizenship-section { padding-top: 9rem; padding-bottom: 9rem; }
.citizenship-header {
  text-align: center;
  margin-bottom: 6rem;
  max-width: 720px;
  margin-inline: auto;
}
.citizenship-header .eyebrow { justify-content: center; }
.citizenship-header h2 { margin-bottom: 1.5rem; }
.citizenship-header .lede { margin: 0 auto; }

.citizenship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--paper-warm);
  position: relative;
}
.citizenship-grid::before {
  content: '×';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 28px; height: 28px;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-latin);
  font-style: italic;
  color: var(--bronze);
  font-size: 1.2rem;
  z-index: 2;
  border: 1px solid var(--rule);
  border-radius: 50%;
}
.country {
  padding: 4rem 3.5rem;
  position: relative;
}
.country:first-child { border-inline-end: 1px solid var(--rule); }
.country-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.country-meta .badge {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.country-meta .native {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--bronze-deep);
  letter-spacing: 0.04em;
}
.country h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.country .h3-en {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-muted);
  margin-bottom: 2rem;
  display: block;
  letter-spacing: 0.04em;
}
.country p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 460px;
}
.country .case-list {
  list-style: none;
}
.country .case-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}
.country .case-list li:last-child { border-bottom: none; }
.country .case-list .marker {
  font-family: var(--font-latin);
  font-style: italic;
  color: var(--bronze);
  font-size: 0.85rem;
  min-width: 1.5rem;
}

.citizenship-closing {
  margin-top: 4rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--ink);
  letter-spacing: -0.005em;
}
.citizenship-closing .accent { color: var(--bronze-deep); }

/* ===============================================
   SECTION · Notary differentiator
   =============================================== */
.notary-section {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.notary-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 50% 40% at 90% 0%, rgba(154, 115, 64, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 100%, rgba(154, 115, 64, 0.10), transparent 60%);
  pointer-events: none;
}
.notary-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8rem var(--pad-x);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
}
.notary-content .eyebrow { color: #D4A867; }
.notary-content .eyebrow::before { background: #D4A867; }
.notary-content h2 { color: var(--paper); margin-bottom: 2rem; }
.notary-content h2 .accent { color: #D4A867; }
.notary-content .lede { color: rgba(244, 239, 230, 0.75); margin-bottom: 3rem; }

.notary-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244, 239, 230, 0.15);
}
.notary-service {
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.15);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-inline-end: 2rem;
  text-decoration: none;
  color: inherit;
}
.notary-service:nth-child(odd) { border-inline-end: 1px solid rgba(244, 239, 230, 0.15); padding-inline-end: 2rem; padding-inline-start: 0; }
.notary-service:nth-child(even) { padding-inline-start: 2rem; }
.notary-service .num {
  font-family: var(--font-latin);
  font-style: italic;
  color: #D4A867;
  font-size: 0.85rem;
  min-width: 24px;
}
.notary-service .name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--paper);
}

.seal {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  margin-inline-start: auto;
}
.seal-svg { width: 100%; height: 100%; }

/* ===============================================
   SECTION · Testimonial
   =============================================== */
.testimonial-section {
  padding: 10rem var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.testimonial-section::before {
  content: '"';
  position: absolute;
  top: 4rem;
  inset-inline-start: 4rem;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 18rem;
  line-height: 1;
  color: var(--bronze);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}
.testimonial-meta::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--bronze);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 1100px;
  margin-bottom: 3rem;
}
.testimonial-quote .accent { color: var(--bronze-deep); font-style: italic; font-weight: 300; }
.testimonial-attr {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-muted);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  max-width: 600px;
}
.testimonial-attr .name { color: var(--ink); font-style: normal; font-family: var(--font-display); font-size: 1.05rem; }
.testimonial-attr .sep { color: var(--bronze); }

/* ===============================================
   SECTION · Contact
   =============================================== */
.contact-section {
  background: var(--paper-deep);
  position: relative;
}
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8rem var(--pad-x);
}
.contact-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 6rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}
.contact-header .lede { margin-top: 1.5rem; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}
.contact-card {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  padding: 2.5rem;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.5s var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 0;
  height: 1px;
  background: var(--bronze);
  transition: width 0.6s var(--ease-out);
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.contact-card:hover::before { width: 100%; }
.contact-card .num {
  font-family: var(--font-latin);
  font-style: italic;
  color: var(--bronze);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}
.contact-card .label-en {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.contact-card p {
  color: var(--ink-soft);
  font-size: 1rem; /* was 0.95rem — ClickUp 86cb7epaq: no body text below 16px */
  line-height: 1.6;
  margin-bottom: auto;
  padding-bottom: 1.5rem;
}
.contact-card .value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contact-card .value .arrow {
  color: var(--bronze);
  transition: transform 0.4s var(--ease-out);
}
.contact-card:hover .value .arrow { transform: translateX(-6px); }

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
}
.contact-info-block .label {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}
.contact-info-block p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.55;
}
.contact-info-block .small {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}
.contact-info-block .langs {
  display: flex;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  align-items: center;
}
.contact-info-block .langs .sep { color: var(--bronze); }

/* ===============================================
   Footer
   =============================================== */
footer.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem var(--pad-x) 2rem;
  position: relative;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.12);
}
.footer-brand .name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.footer-brand .mark {
  width: 7px; height: 7px;
  background: #D4A867;
  display: inline-block;
  transform: rotate(45deg);
}
.footer-brand .role {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(244, 239, 230, 0.55);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.65);
  max-width: 360px;
}

.footer-col h4 {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.45);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  text-decoration: none;
  color: rgba(244, 239, 230, 0.85);
  font-size: 0.95rem;
  transition: color 0.3s;
  font-family: var(--font-display);
}
.footer-col a:hover { color: #D4A867; }
.footer-col p {
  font-family: var(--font-display);
  font-size: 1rem; /* was 0.95rem — ClickUp 86cb7epaq: no body text below 16px */
  color: rgba(244, 239, 230, 0.85);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(244, 239, 230, 0.5);
  letter-spacing: 0.04em;
}
.footer-bottom .end { text-align: end; }
.footer-bottom .center {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.45);
}

/* ===============================================
   Reveal animations
   =============================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

body.loaded .hero .reveal {
  animation: revealUp 1.05s var(--ease-out) forwards;
}
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

body.loaded .hero .word-reveal {
  animation: wordReveal 1s var(--ease-out) forwards;
}
@keyframes wordReveal { to { opacity: 1; transform: translateY(0); } }

body.loaded .logo .mark {
  animation: breathe 4s ease-in-out infinite 1.5s;
}
@keyframes breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* ===============================================
   Responsive
   =============================================== */
@media (max-width: 1180px) {
  :root { --pad-x: 2.5rem; }
  .practice-item { grid-template-columns: 80px 1fr 200px; gap: 2.5rem; }
  .about-inner { gap: 4rem; }
  .notary-inner { gap: 4rem; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .practice-col {
    border-inline-start: none;
    padding-inline-start: 0;
    border-top: 1px solid var(--rule);
    padding-top: 2rem;
  }
  .practice-col::before { top: -3px; inset-inline-start: 0; }
  .sigil { font-size: 14rem; opacity: 0.04; }

  .practice-header { grid-template-columns: 1fr; gap: 2rem; }
  .practice-item {
    grid-template-columns: 60px 1fr;
    gap: 1.5rem 2rem;
  }
  .practice-link { grid-column: 1 / -1; }

  .about-inner { grid-template-columns: 1fr; }
  /* .portrait-wrap max-width no longer widened here — base rule now caps it at
     320px everywhere per ClickUp 86cb7b5jq (small photo, not full column width) */
  .citizenship-grid { grid-template-columns: 1fr; }
  .country:first-child { border-inline-end: none; border-bottom: 1px solid var(--rule); }
  .citizenship-grid::before { top: 50%; left: 50%; }

  .notary-inner { grid-template-columns: 1fr; }
  .seal { margin: 0 auto; max-width: 240px; }

  .contact-header { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; gap: 2rem; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .section { padding: 5rem var(--pad-x); }
  .practice-section, .citizenship-section { padding-top: 6rem; padding-bottom: 6rem; }
  .about-inner, .notary-inner, .contact-inner { padding: 6rem var(--pad-x); }
  .testimonial-section { padding: 6rem var(--pad-x); }
}

/* ===============================================
   Print / PDF export — single tall page
   =============================================== */
@media print {
  @page {
    size: 1440px 8800px;
    margin: 0;
  }
  html, body {
    width: 1440px;
    background: var(--paper);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  body::before { display: none; }              /* drop grain (heavy at print res) */
  .frame { display: none; }                    /* drop fixed editorial frame */
  .nav { position: static; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .footer-row-hero .scroll-line::after { animation: none; background: var(--ink-muted); }
  .logo .mark { animation: none !important; }

  /* force all reveal states visible */
  .reveal,
  body .hero .reveal,
  body .word-reveal,
  body .hero .word-reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  /* ensure no mid-section page breaks */
  .section, .about-section, .notary-section, .citizenship-section,
  .testimonial-section, .contact-section, .hero, footer.site-footer,
  .practice-item, .country, .contact-card {
    page-break-inside: avoid;
    break-inside: avoid;
  }
}

@media (max-width: 640px) {
  :root { --pad-x: 1.4rem; }
  .frame { inset: 8px; }
  .nav-items { display: none; }
  .nav-items.open {
    display: flex;
    position: absolute;
    top: 100%;
    inset-inline-end: 0;
    inset-inline-start: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem var(--pad-x) 2rem;
    border-bottom: 1px solid var(--rule);
  }
  .nav-items.open a {
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--rule-soft);
    font-family: var(--font-display);
    font-size: 1.1rem;
  }
  .nav-items.open .nav-cta {
    margin-top: 1rem;
    border: 1px solid var(--ink);
    padding: 0.7rem 1.2rem;
    width: auto;
  }
  .nav-toggle { display: block; }

  /* Nav dropdown on mobile: no hover, so render as an always-visible
     indented list under its parent instead of an overlay (ClickUp 86cb7b5nd) */
  .nav-item.has-dropdown { display: block; width: 100%; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 1.2rem;
  }
  .nav-dropdown a { font-size: 0.98rem; padding: 0.7rem 0; color: var(--ink-soft); }

  .meta-row { grid-template-columns: 1fr 1fr; margin-bottom: 3rem; }
  .meta-row .end { display: none; }
  .footer-row-hero { grid-template-columns: 1fr 1fr; }
  .footer-row-hero .scroll { display: none; }
  .cta-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .sigil { display: none; }

  .practice-header { margin-bottom: 4rem; }
  .practice-item { padding: 2.5rem 0; grid-template-columns: 1fr; gap: 1rem; }
  .practice-num { text-align: start; font-size: 3rem; padding-top: 0; }
  .country { padding: 2.5rem 1.6rem; }
  .notary-services { grid-template-columns: 1fr; }
  .notary-service:nth-child(odd) { border-inline-end: none; padding-inline-end: 0; }
  .notary-service:nth-child(even) { padding-inline-start: 0; }
  .about-stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; }
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom .end, .footer-bottom .start { text-align: center; }

  .testimonial-section::before { font-size: 10rem; top: 2rem; inset-inline-start: 1rem; }
}

/* ===============================================
   INNER PAGES — shared primitives
   =============================================== */

/* Active nav link */
.nav-items a[aria-current="page"] {
  color: var(--ink);
}
.nav-items a[aria-current="page"]::after {
  width: 100%;
}

/* Page hero (interior pages — compact, same DNA as index hero) */
.page-hero {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem var(--pad-x) 5rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
}

.page-sigil {
  position: absolute;
  top: 4rem;
  inset-inline-start: 3rem;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 16rem;
  line-height: 0.8;
  color: var(--bronze);
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  margin-bottom: 3rem;
}
.page-breadcrumb a {
  text-decoration: none;
  transition: color 0.3s;
}
.page-breadcrumb a:hover { color: var(--ink); }
.page-breadcrumb .bc-sep { color: var(--bronze); margin: 0 0.1rem; }

.page-hero-head {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 880px;
}

.page-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.5vw, 6.4rem);
  line-height: 1.0;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-top: 1.8rem;
  margin-bottom: 2rem;
}
.page-h1 .accent {
  color: var(--bronze-deep);
  font-style: italic;
  font-weight: 300;
}

.page-hero-sub {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 560px;
}

body.loaded .page-hero .reveal {
  animation: revealUp 1.05s var(--ease-out) forwards;
}

/* ===============================================
   ABOUT PAGE — story section
   =============================================== */
.about-story-section {
  padding-top: 9rem;
  padding-bottom: 9rem;
}
.about-story-inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 7rem;
  align-items: center;
}

.about-story-text h2 { margin-bottom: 2rem; }
.about-story-text .lede { margin-bottom: 1.6rem; }
.about-story-text .lede + .lede { margin-bottom: 2.4rem; }

/* Credentials bar (dark) */
.credentials-section {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.credentials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 90% 50%, rgba(154, 115, 64, 0.14), transparent 60%);
  pointer-events: none;
}
.credentials-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.credential-block {
  padding: 0 3.5rem;
}
.credential-block:first-child { padding-inline-start: 0; }
.credential-block:last-child { padding-inline-end: 0; }
.credential-block:not(:last-child) {
  border-inline-end: 1px solid rgba(244, 239, 230, 0.12);
}
.credential-label {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 1rem; /* was 0.75rem — Dror's ClickUp comment on 86cb7b5km asked for 1.0rem explicitly */
  color: rgba(212, 168, 103, 0.75);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.credential-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: #D4A867;
  opacity: 0.6;
}
.credential-block h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--paper);
  margin-bottom: 1.4rem;
  line-height: 1.1;
}
.credential-list {
  list-style: none;
}
.credential-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  font-size: 1.1rem; /* was 0.95rem — ClickUp 86cb7b5km: Shirly couldn't read this section screen-shared */
  color: rgba(244, 239, 230, 0.7);
  line-height: 1.55;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.credential-list li:last-child { border-bottom: none; }
.credential-list li::before {
  content: '—';
  color: #D4A867;
  opacity: 0.6;
  font-family: var(--font-latin);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ===============================================
   PHASE 2 — content-editable areas (sr-about.php / sr-practice.php)
   Article introtext/fulltext and category description are edited via plain
   TinyMCE (paragraphs/h3/ul/hr/bold only — no classes, per
   rslaw-phase2-handoff.md §2 "דרישות איכות"). These rules restyle the bare
   tags TinyMCE produces by scoping to their container, so a paragraph or
   list the client adds through the editor is styled automatically without
   needing a class in the saved HTML. Declarations are intentionally kept in
   sync with .lede / .credential-list above — update both if either changes.
   =============================================== */
.about-story-text > p,
.values-header > p,
.about-testimonials-header > p,
.pov-intro-body > p,
.pov-area-head > p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 580px;
}
.about-story-text > p + p,
.pov-intro-body > p + p {
  margin-top: 1.2rem;
}
.credential-block > ul {
  list-style: none;
}
.credential-block > ul > li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  font-size: 1.1rem; /* was 0.95rem — kept in sync with .credential-list li, see ClickUp 86cb7b5km */
  color: rgba(244, 239, 230, 0.7);
  line-height: 1.55;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.credential-block > ul > li:last-child { border-bottom: none; }
.credential-block > ul > li::before {
  content: '—';
  color: #D4A867;
  opacity: 0.6;
  font-family: var(--font-latin);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* .raw-desc: category/default.php's fallback wrapper for plain, unwrapped
   client-editable descriptions (practice subcategories: family, torts,
   notary, citizenship, ip). Same bare-tag-restyling approach as above —
   mirrors .lede / .pov-services-list — so the plain <p>/<ul> these
   categories are still authored with sits in the page's content column
   instead of full-bleed. See default.php for the wrap/no-wrap detection. */
.raw-desc > p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 580px;
}
.raw-desc > p + p { margin-top: 1.2rem; }
.raw-desc > ul {
  list-style: none;
  margin-top: 1.6rem;
  max-width: 580px;
}
.raw-desc > ul > li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.raw-desc > ul > li:last-child { border-bottom: none; }
.raw-desc > h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--ink);
  margin-top: 2.6rem;
  margin-bottom: 1rem;
}
.raw-desc > h3:first-child { margin-top: 0; }

/* ===============================================
   Court rulings / sample documents (ClickUp 86cb7b5qy)
   Client-managed via the "SR Page" > "פסקי דין / מסמכים
   לדוגמה" repeatable field on the category — see
   category/default.php for the read/render side.
   =============================================== */
.rulings-section { padding-top: 2rem; padding-bottom: 5rem; }
.rulings-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.rulings-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}
.ruling-card {
  display: flex;
  flex-direction: column;
  width: 168px;
  text-align: start;
  border: 1px solid var(--rule);
  background: var(--paper-warm);
  padding: 0.7rem;
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
}
.ruling-card:hover,
.ruling-card:focus-visible {
  border-color: var(--bronze);
  transform: translateY(-3px);
}
.ruling-thumb {
  aspect-ratio: 3 / 4;
  background: var(--paper-deep);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -16px rgba(26, 24, 20, 0.3);
}
.ruling-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.ruling-icon {
  position: relative;
  width: 56%;
  aspect-ratio: 3 / 4;
  background: var(--paper);
  border: 1px solid var(--bronze);
  opacity: 0.85;
}
.ruling-icon-fold {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 30%;
  aspect-ratio: 1;
  background: var(--paper-deep);
  border-inline-start: 1px solid var(--bronze);
  border-bottom: 1px solid var(--bronze);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.ruling-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ruling-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.ruling-modal.open { display: flex; }
.ruling-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 20, 0.72);
}
.ruling-modal-panel {
  position: relative;
  width: min(900px, 100%);
  height: min(88vh, 1100px);
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ruling-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-warm);
}
.ruling-modal-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ruling-modal-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}
.ruling-modal-newtab {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--bronze-deep);
  text-decoration: none;
  white-space: nowrap;
}
.ruling-modal-newtab:hover { color: var(--bronze); }
.ruling-modal-close {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 1rem;
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
}
.ruling-modal-close:hover { background: var(--rule-soft); color: var(--ink); }
.ruling-modal-frame,
.ruling-modal-image,
.ruling-modal-notice {
  display: none;
  flex: 1;
  width: 100%;
  min-height: 0;
}
.ruling-modal-frame {
  border: 0;
  background: var(--ink-faint);
}
.ruling-modal.is-pdf .ruling-modal-frame { display: block; }
.ruling-modal-image {
  object-fit: contain;
  background: var(--ink-faint);
}
.ruling-modal.is-image .ruling-modal-image { display: block; }
.ruling-modal-notice {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  background: var(--paper-warm);
}
.ruling-modal.is-other .ruling-modal-notice { display: flex; }
.ruling-modal-notice-icon {
  width: 84px;
  flex-shrink: 0;
}
.ruling-modal-notice p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 28ch;
}

@media (max-width: 640px) {
  .ruling-modal { padding: 0; }
  .ruling-modal-panel { width: 100%; height: 100%; border: 0; }
  .ruling-card { width: 128px; }
}

/* ===============================================
   ABOUT PAGE — values / approach
   =============================================== */
.values-section {
  position: relative;
}
.values-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 9rem var(--pad-x);
}
.values-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: end;
  margin-bottom: 8rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--rule);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.value-item {
  padding: 4rem 3.5rem 4rem 0;
  border-bottom: 1px solid var(--rule);
}
.value-item:not(:first-child) {
  padding-inline-start: 3.5rem;
  border-inline-start: 1px solid var(--rule);
}
.value-num {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: clamp(3.5rem, 5.5vw, 5.5rem);
  line-height: 0.85;
  color: var(--bronze);
  opacity: 0.3;
  margin-bottom: 2.2rem;
  letter-spacing: -0.03em;
  display: block;
}
.value-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  line-height: 1.05;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.value-en {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  margin-bottom: 1.8rem;
  display: block;
}
.value-item p {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--ink-soft);
}

/* ===============================================
   ABOUT PAGE — testimonials grid
   =============================================== */
.about-testimonials {
  background: var(--paper-deep);
  position: relative;
}
.about-testimonials-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 9rem var(--pad-x);
}
.about-testimonials-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--rule);
}
.testimonial-card {
  background: var(--paper-deep);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  transition: background 0.4s ease;
  position: relative;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--bronze);
  transition: width 0.6s var(--ease-out);
}
.testimonial-card:hover { background: var(--paper-warm); }
.testimonial-card:hover::before { width: 100%; }
.tc-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 2rem;
}
.tc-star {
  color: var(--bronze);
  font-size: 0.9rem;
}
.tc-quote {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 400;
  flex: 1;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.tc-quote::after {
  content: '"';
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 5rem;
  color: var(--bronze);
  opacity: 0.15;
  position: absolute;
  bottom: -1.5rem;
  inset-inline-end: 0;
  line-height: 1;
}
.tc-attr {
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.tc-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  display: block;
  margin-bottom: 0.25rem;
}
.tc-meta {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* ===============================================
   DARK CTA SECTION (shared)
   =============================================== */
.dark-cta-section {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.dark-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(154, 115, 64, 0.14), transparent 65%);
  pointer-events: none;
}
.dark-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 9rem var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
}
.dark-cta-text .eyebrow { color: #D4A867; }
.dark-cta-text .eyebrow::before { background: #D4A867; }
.dark-cta-text h2 { color: var(--paper); margin-bottom: 1.8rem; }
.dark-cta-text h2 .accent { color: #D4A867; }
.dark-cta-text p { color: rgba(244, 239, 230, 0.7); max-width: 480px; font-size: 1.05rem; line-height: 1.75; }
.dark-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
}
.cta-light {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  padding: 1.1rem 2.2rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 400;
  transition: all 0.45s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.cta-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #D4A867;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
}
.cta-light:hover::before { transform: translateY(0); }
.cta-light:hover { color: var(--ink); }
.cta-light > * { position: relative; z-index: 1; }
.cta-light .arrow { transition: transform 0.45s var(--ease-out); }
.cta-light:hover .arrow { transform: translateX(-7px); }
.cta-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(244, 239, 230, 0.75);
  text-decoration: none;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(244, 239, 230, 0.25);
  padding-bottom: 2px;
  transition: all 0.35s;
}
.cta-ghost-light:hover { color: #D4A867; border-color: #D4A867; }
.dark-cta-tel {
  font-family: var(--font-latin);
  font-style: italic;
  color: rgba(244, 239, 230, 0.5);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* ===============================================
   CONTACT PAGE — form section
   =============================================== */
.contact-form-section {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.contact-form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 50% 50% at 85% 10%, rgba(154, 115, 64, 0.16), transparent 55%),
    radial-gradient(ellipse 40% 50% at 5% 90%, rgba(154, 115, 64, 0.09), transparent 55%);
  pointer-events: none;
}
.contact-form-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8rem var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8rem;
  align-items: start;
  position: relative;
}
.cf-info .eyebrow { color: #D4A867; }
.cf-info .eyebrow::before { background: #D4A867; }
.cf-info h2 { color: var(--paper); margin-bottom: 2rem; }
.cf-info h2 .accent { color: #D4A867; }
.cf-info .lede { color: rgba(244, 239, 230, 0.7); margin-bottom: 3rem; }

.cf-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
}
.cf-trust-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  font-size: 0.9rem;
  color: rgba(244, 239, 230, 0.65);
  font-family: var(--font-latin);
  font-style: italic;
  letter-spacing: 0.02em;
}
.cf-trust-list li::before {
  content: '✓';
  color: #D4A867;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.form-wrapper {
  background: var(--paper-warm);
  padding: 3.5rem;
  position: relative;
}
.form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 2px;
  background: linear-gradient(to left, transparent, var(--bronze) 50%, transparent);
}
.form-wrapper .form-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.form-wrapper .form-sub {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-group label {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.76rem;
  color: var(--ink-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  padding: 0.7rem 0;
  outline: none;
  transition: border-color 0.35s;
  border-radius: 0;
  -webkit-appearance: none;
  width: 100%;
}
.form-group select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='7'><path d='M0.5 0.5l4.5 5 4.5-5' stroke='%238A8275' stroke-width='1.2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: left 0.2rem center;
  padding-left: 1.5rem;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--bronze); }
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.form-footer .privacy {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-family: var(--font-latin);
  font-style: italic;
}

/* ===============================================
   CONTACT PAGE — office section
   =============================================== */
.office-section {
  position: relative;
}
.office-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 9rem var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: start;
}
.office-map {
  aspect-ratio: 5 / 4;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.office-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--rule-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size: 36px 36px;
}
.office-map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(244, 239, 230, 0.7), transparent 70%);
  pointer-events: none;
}
.map-pin-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.map-pin-icon {
  width: 44px;
  height: 44px;
  background: var(--bronze);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
  box-shadow: 0 8px 24px rgba(154, 115, 64, 0.35);
}
.map-pin-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--paper);
  border-radius: 50%;
}
.map-pin-label {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  font-style: italic;
  text-align: center;
  line-height: 1.4;
}
.map-pin-sub {
  display: block;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

.office-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.office-block {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.office-block:first-child { padding-top: 0; }
.office-block:last-child { border-bottom: none; }
.ob-label {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 0.76rem;
  color: var(--ink-muted);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.ob-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--bronze);
  opacity: 0.5;
}
.office-block h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.15;
  margin-bottom: 0.7rem;
}
.office-block p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.hours-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.95rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { font-family: var(--font-display); color: var(--ink); }
.hours-time { font-family: var(--font-latin); font-style: italic; color: var(--ink-muted); letter-spacing: 0.04em; }
.lang-chips {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.lang-chip {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--rule);
  line-height: 1;
}

/* ===============================================
   Inner page responsive
   =============================================== */
@media (max-width: 980px) {
  .page-hero { min-height: 45vh; }
  .page-sigil { font-size: 10rem; }
  .about-story-inner { grid-template-columns: 1fr; gap: 4rem; }
  .credentials-inner { grid-template-columns: 1fr; gap: 0; }
  .credential-block {
    padding: 2.5rem 0;
    border-inline-end: none;
    border-bottom: 1px solid rgba(244, 239, 230, 0.1);
  }
  .credential-block:last-child { border-bottom: none; }
  .values-header { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .value-item { padding-inline-end: 0; }
  .value-item:not(:first-child) { border-inline-start: none; padding-inline-start: 0; border-top: 1px solid var(--rule); }
  .about-testimonials-header { grid-template-columns: 1fr; gap: 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .dark-cta-inner { grid-template-columns: 1fr; gap: 4rem; }
  .dark-cta-actions { align-items: flex-start; }
  .contact-form-inner { grid-template-columns: 1fr; gap: 5rem; }
  .office-inner { grid-template-columns: 1fr; gap: 4rem; }
}
@media (max-width: 640px) {
  .page-hero { min-height: auto; padding-bottom: 3.5rem; }
  .page-sigil { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 1.8rem; }
  .form-wrapper { padding: 2rem 1.5rem; }
  .testimonial-card { padding: 2.5rem 1.8rem; }
  .credential-block { padding: 2rem 0; }
}

/* ==============================================
   PRACTICE OVERVIEW PAGE — practice.html
   ============================================== */

/* ---- Intro section ---- */
.pov-intro-section { padding-block: 9rem 8rem; }

.pov-intro-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 8rem;
  row-gap: 6rem;
}

.pov-intro-header { align-self: start; }

.pov-intro-body {
  align-self: start;
  padding-block-start: 0.5rem;
}

.pov-intro-body .lede + .lede { margin-block-start: 1.8rem; }

.pov-index {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule-strong);
}

.pov-index-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2.8rem 0 2.8rem 0;
  padding-inline-end: 2rem;
  border-inline-end: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: color 0.25s;
}
.pov-index-item:last-child { border-inline-end: none; }
.pov-index-item:hover { color: var(--bronze); }

.pov-index-num {
  font-family: var(--font-latin);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--bronze);
  font-style: italic;
}
.pov-index-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
}
.pov-index-en {
  font-family: var(--font-latin);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* ---- Practice area section ---- */
.pov-area-section { padding-block: 8rem 7rem; }

.pov-area-section + .section-divider { margin-block-start: 0; }

.pov-area-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: 12rem 1fr;
  column-gap: 6rem;
}

.pov-area-label {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-block-start: 0.4rem;
}

.pov-area-roman {
  font-family: var(--font-latin);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  color: var(--bronze);
  display: block;
}

.pov-area-body { min-width: 0; }

.pov-area-head {
  padding-block-end: 4rem;
  border-bottom: 1px solid var(--rule);
  margin-block-end: 4rem;
}

.pov-area-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin-block-end: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pov-area-en {
  display: block;
  font-family: var(--font-latin);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* Two-column layout within each area */
.pov-area-two-col {
  display: grid;
  grid-template-columns: 1fr 36rem;
  column-gap: 6rem;
  align-items: start;
}

.pov-services-heading {
  font-family: var(--font-latin);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-block-end: 2rem;
}

.pov-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pov-services-list li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-block: 2rem;
  border-top: 1px solid var(--rule);
}
.pov-services-list li:last-child { border-bottom: 1px solid var(--rule); }

.svc-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s;
}
.svc-title:hover { color: var(--bronze); }

.svc-desc {
  font-family: var(--font-body);
  font-size: 1rem; /* was 0.92rem — ClickUp 86cb7epaq: no body text below 16px */
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Detail column */
.pov-detail-col {
  position: sticky;
  top: 10rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.pov-pull {
  margin: 0;
  padding: 2.8rem 2.4rem;
  border: 1px solid var(--rule);
  background: var(--paper-warm);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 300;
  color: var(--ink);
  position: relative;
}

.pov-pull::before {
  content: '\201C';
  font-family: var(--font-latin);
  font-size: 5rem;
  line-height: 0;
  color: var(--bronze);
  position: absolute;
  top: 3.2rem;
  inset-inline-end: 2.4rem;
  opacity: 0.5;
}

.pov-pull cite {
  display: block;
  margin-block-start: 1.5rem;
  font-family: var(--font-latin);
  font-size: 0.83rem;
  font-style: italic;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* Stats in detail col */
.pov-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-block: 2.4rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.pov-stat .num {
  font-family: var(--font-latin);
  font-size: 3rem;
  font-style: italic;
  font-weight: 300;
  color: var(--bronze);
  line-height: 1;
}

.pov-stat .num .small {
  font-size: 1.5rem;
}

.pov-stat .label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-block-start: 0.5rem;
}

/* Highlights in detail col */
.pov-highlights {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pov-hl-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: 1rem; /* was 0.9rem — ClickUp 86cb7epaq: no body text below 16px */
  line-height: 1.55;
  color: var(--ink-soft);
}
.pov-hl-item:last-child { border-bottom: 1px solid var(--rule); }

.pov-hl-icon {
  font-size: 0.6rem;
  color: var(--bronze);
  margin-block-start: 0.3rem;
  flex-shrink: 0;
}

/* Area footer CTA row */
.pov-area-footer {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-block-start: 4rem;
  padding-block-start: 3rem;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}

.pov-area-link {
  font-family: var(--font-latin);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--bronze);
  text-decoration: none;
  letter-spacing: 0.03em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.pov-area-link:hover { border-color: var(--bronze); }

/* Featured area highlight */
.featured-area .pov-area-head {
  position: relative;
}

/* Notary seal in pov */
.notary-seal-display {
  display: flex;
  justify-content: center;
  padding-block: 1rem;
}

.notary-seal-ring {
  position: relative;
  width: 16rem;
  height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notary-seal-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--bronze);
}

.notary-seal-svg text {
  font-family: var(--font-latin);
  font-size: 9px;
  letter-spacing: 3px;
  fill: var(--bronze);
  font-style: italic;
}

.notary-seal-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

.notary-seal-sr {
  font-family: var(--font-latin);
  font-size: 2.8rem;
  font-style: italic;
  font-weight: 300;
  color: var(--bronze);
  line-height: 1;
}

.notary-seal-he {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.12em;
}

.notary-seal-en {
  font-family: var(--font-latin);
  font-size: 0.75rem;
  font-style: italic;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

.pov-notary-note {
  font-family: var(--font-body);
  font-size: 1rem; /* was 0.88rem — ClickUp 86cb7epaq: no body text below 16px */
  line-height: 1.6;
  color: var(--ink-muted);
  text-align: center;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--rule);
  background: var(--paper-warm);
}

/* ==============================================
   PRACTICE PAGE — RESPONSIVE
   ============================================== */

@media (max-width: 1200px) {
  .pov-area-two-col { grid-template-columns: 1fr 30rem; }
}

@media (max-width: 1024px) {
  .pov-intro-inner { grid-template-columns: 1fr; row-gap: 4rem; }
  .pov-index { grid-template-columns: repeat(2, 1fr); }
  .pov-index-item:nth-child(2) { border-inline-end: none; }
  .pov-index-item:nth-child(3) { border-top: 1px solid var(--rule); }
  .pov-index-item:nth-child(4) { border-top: 1px solid var(--rule); border-inline-end: none; }

  .pov-area-inner { grid-template-columns: 8rem 1fr; column-gap: 3rem; }
  .pov-area-two-col { grid-template-columns: 1fr; gap: 4rem; }
  .pov-detail-col { position: static; }
}

@media (max-width: 768px) {
  .pov-area-section { padding-block: 5rem 4rem; }
  .pov-area-inner { grid-template-columns: 1fr; }
  .pov-area-label {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    margin-block-end: 2rem;
  }
  .pov-area-roman { font-size: 3rem; }
  .pov-index { grid-template-columns: 1fr; }
  .pov-index-item {
    border-inline-end: none;
    border-top: 1px solid var(--rule);
    padding-block: 1.8rem;
  }
  .pov-index-item:first-child { border-top: none; }
  .pov-area-footer { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .notary-seal-ring { width: 12rem; height: 12rem; }
}

/* ==============================================
   JOOMLA / ACCESSIBILITY ADDITIONS (sr_editorial)
   WCAG 2.1 AA: skip-link, visible focus, reduced-motion
   ============================================== */

.skip-link {
  position: absolute;
  top: -3rem;
  right: 1rem;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.nav-items a:focus-visible,
.practice-link:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

.whatsapp-float {
  position: fixed;
  inset-inline-end: 1.5rem;
  inset-block-end: 1.5rem;
  z-index: 90;
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(26, 24, 20, 0.25);
  transition: transform 0.3s var(--ease-out);
}
.whatsapp-float:hover { transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .nav, .frame, .whatsapp-float, .skip-link, .site-footer .footer-bottom { display: none; }
  body { background: #fff; }
}

/* ===============================================
   ClickUp 86cb7b5j1 — home-page office photo: straighten
   The AI-generated office photo (and its crooked inline
   transform: rotate(-5deg)) live in the "home-about" custom
   module's saved HTML, not in template markup, so this can't be
   fixed by editing a template file. Cancelling just the rotation
   here (keeping the polaroid-style white border/offset, which
   Shirly approved) avoids touching that module's DB content.
   =============================================== */
img[src*="homepage-image.png"] {
  transform: none !important;
}
