/* Romir — shared stylesheet
   Pure-black shadcn/Vercel-inspired aesthetic */

/* shadcn/ui dark tokens (zinc) — pure black variant */
:root {
  --background: 0 0% 0%;
  --foreground: 0 0% 98%;
  --card: 0 0% 3.5%;
  --card-foreground: 0 0% 98%;
  --popover: 0 0% 3.5%;
  --popover-foreground: 0 0% 98%;
  --primary: 0 0% 98%;
  --primary-foreground: 0 0% 9%;
  --secondary: 0 0% 12%;
  --secondary-foreground: 0 0% 98%;
  --muted: 0 0% 12%;
  --muted-foreground: 0 0% 63.9%;
  --accent: 0 0% 12%;
  --accent-foreground: 0 0% 98%;
  --border: 0 0% 14%;
  --input: 0 0% 14%;
  --ring: 0 0% 83.1%;
  --radius: 0.5rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; border-color: hsl(var(--border)); }
html, body { background: hsl(var(--background)); color: hsl(var(--foreground)); }
body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}
::selection { background: hsl(var(--foreground)); color: hsl(var(--background)); }
.mono { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; }
a { color: inherit; text-decoration: none; }
.underline-soft { border-bottom: 1px solid hsl(var(--border)); }
.underline-soft:hover { border-color: hsl(var(--foreground)); }

/* uppercase labels (mono ui chrome) */
body .eyebrow,
body .section-head .eyebrow,
body .meta .k,
body .stat .k,
body .foot-h,
body .email-card .label,
body .channels-card .head,
body .location-card .head,
body .legal-page .eyebrow,
body .practice .sv-num {
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}

/* layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: 96px 0; }

/* background atmospherics */
.bg-fx {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,255,255,0.06), transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 110%, rgba(255,255,255,0.025), transparent 70%);
}
.bg-grid {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(hsl(var(--border) / 0.5) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--border) / 0.5) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 75%);
  opacity: 0.55;
}
main, header, footer { position: relative; z-index: 1; }

/* header */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  background: hsl(var(--background) / 0.7);
  border-bottom: 1px solid hsl(var(--border));
}
header.site .row {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.015em;
  color: hsl(var(--foreground));
}
.brand .logo {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand .logo svg { width: 22px; height: 22px; }
nav.primary {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav.primary a {
  padding: 6px 12px;
  border-radius: var(--radius);
  color: hsl(var(--muted-foreground));
  font-size: 13.5px;
  font-weight: 500;
  transition: color .15s ease, background .15s ease;
}
nav.primary a:hover { color: hsl(var(--foreground)); background: hsl(var(--accent)); }
@media (max-width: 820px) { nav.primary { display: none; } }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .05s ease;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(0.5px); }
.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-primary:hover { background: hsl(var(--primary) / 0.9); }
.btn-outline {
  background: transparent;
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-outline:hover { background: hsl(var(--accent)); }
.btn-ghost {
  background: transparent;
  color: hsl(var(--muted-foreground));
}
.btn-ghost:hover { background: hsl(var(--accent)); color: hsl(var(--foreground)); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 14px; border-radius: var(--radius); }
.arrow { display: inline-block; transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* badge */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  height: 26px;
  padding: 0 12px;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  font-weight: 500;
}
.badge .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: hsl(142 71% 45%);
  box-shadow: 0 0 0 0 hsl(142 71% 45% / 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 hsl(142 71% 45% / 0.5); }
  70% { box-shadow: 0 0 0 6px hsl(142 71% 45% / 0); }
  100% { box-shadow: 0 0 0 0 hsl(142 71% 45% / 0); }
}

/* hero */
.hero { padding: 120px 0 96px; position: relative; }
.hero h1 {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 18ch;
  text-wrap: balance;
  background: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(0 0% 75%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  margin-top: 24px;
  color: hsl(var(--muted-foreground));
  font-size: 17px;
  line-height: 1.55;
  max-width: 60ch;
  text-wrap: pretty;
}
.hero-ctas { margin-top: 36px; display: flex; gap: 10px; flex-wrap: wrap; }

/* meta strip */
.meta {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card) / 0.4);
  overflow: hidden;
}
.meta .cell {
  padding: 18px 20px;
  border-right: 1px solid hsl(var(--border));
}
.meta .cell:last-child { border-right: none; }
.meta .k {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 6px;
}
.meta .v { font-size: 14px; color: hsl(var(--foreground)); font-weight: 500; }
@media (max-width: 720px) {
  .meta { grid-template-columns: repeat(2, 1fr); }
  .meta .cell { border-bottom: 1px solid hsl(var(--border)); }
  .meta .cell:nth-child(2) { border-right: none; }
  .meta .cell:nth-last-child(-n+2) { border-bottom: none; }
}

/* section heads */
.section-head { margin-bottom: 40px; }
.section-head .eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 24ch;
  text-wrap: balance;
}
.section-head p {
  color: hsl(var(--muted-foreground));
  font-size: 15.5px;
  margin-top: 12px;
  max-width: 60ch;
  line-height: 1.55;
  text-wrap: pretty;
}

/* card */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s ease, background .2s ease;
}
.card:hover { border-color: hsl(0 0% 22%); }

/* services grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.practice .sv-num {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 18px;
}
.practice h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 6px; }
.practice p {
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
  margin-bottom: 18px;
  text-wrap: pretty;
}
.practice .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  padding: 3px 8px;
  border-radius: 4px;
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.about-body p {
  color: hsl(var(--muted-foreground));
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 14px;
  text-wrap: pretty;
}
.about-body p:last-child { margin-bottom: 0; }
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}
.stat .k {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 8px;
}
.stat .v {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* approach principles */
.principles {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
  overflow: hidden;
}
.principle {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: 32px;
  align-items: baseline;
  padding: 24px 28px;
  border-bottom: 1px solid hsl(var(--border));
}
.principle:last-child { border-bottom: none; }
.principle .n {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}
.principle .h { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.principle .p {
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}
@media (max-width: 720px) {
  .principle { grid-template-columns: 1fr; gap: 6px; }
}

/* FAQ */
.faq {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid hsl(var(--border)); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: hsl(var(--accent) / 0.4); }
.faq-item .chev {
  font-family: 'Geist Mono', monospace;
  font-size: 18px;
  color: hsl(var(--muted-foreground));
  transition: transform .2s ease;
  line-height: 1;
}
.faq-item[open] .chev { transform: rotate(45deg); color: hsl(var(--foreground)); }
.faq-body {
  padding: 0 28px 24px;
  color: hsl(var(--muted-foreground));
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 75ch;
}
.faq-body p strong { color: hsl(var(--foreground)); font-weight: 500; }

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.email-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 240px;
}
.email-card .top { display: flex; justify-content: space-between; align-items: center; }
.email-card .label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
}
.email-card .icon-pill {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid hsl(var(--border));
  display: inline-flex; align-items: center; justify-content: center;
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  transition: all .2s ease;
}
.email-card:hover .icon-pill {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  border-color: hsl(var(--foreground));
  transform: rotate(-45deg);
}
.email-card .addr {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  word-break: break-all;
}
.email-card .sub {
  color: hsl(var(--muted-foreground));
  font-size: 13.5px;
  margin-top: 8px;
}

/* socials */
.channels-card { padding: 0; overflow: hidden; }
.channels-card .head {
  padding: 16px 20px;
  border-bottom: 1px solid hsl(var(--border));
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.social {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  font-size: 14px;
  transition: background .15s ease;
}
.social:last-child { border-bottom: none; }
.social:hover { background: hsl(var(--accent)); }
.social .icn { width: 16px; height: 16px; color: hsl(var(--muted-foreground)); }
.social:hover .icn { color: hsl(var(--foreground)); }
.social .name { font-weight: 500; letter-spacing: -0.01em; }
.social .h {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}
.social .ext {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  transition: transform .15s ease;
}
.social:hover .ext { transform: translate(2px, -2px); color: hsl(var(--foreground)); }

/* registered office card */
.location-card {
  margin-top: 16px;
  padding: 0;
  overflow: hidden;
  grid-column: 1 / -1;
}
.location-card .head {
  padding: 16px 20px;
  border-bottom: 1px solid hsl(var(--border));
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.loc-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
}
.loc-icn {
  width: 18px; height: 18px;
  color: hsl(var(--muted-foreground));
  flex-shrink: 0;
  margin-top: 2px;
}
.loc-addr {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: hsl(var(--foreground));
  font-family: 'Geist Mono', monospace;
  letter-spacing: -0.005em;
}

/* footer */
footer.site {
  border-top: 1px solid hsl(var(--border));
  padding: 56px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid hsl(var(--border));
}
.foot-tag {
  margin-top: 14px;
  color: hsl(var(--muted-foreground));
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 36ch;
}
.foot-addr {
  margin-top: 14px;
  font-style: normal;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-h {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 6px;
}
.foot-col a {
  font-size: 13.5px;
  color: hsl(var(--muted-foreground));
  transition: color .15s ease;
  width: fit-content;
}
.foot-col a:hover { color: hsl(var(--foreground)); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  margin-top: 24px;
  color: hsl(var(--muted-foreground));
  font-size: 12px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* legal pages */
.legal-page { padding: 80px 0 64px; max-width: 760px; margin: 0 auto; }
.legal-page .back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  margin-bottom: 32px;
}
.legal-page .back:hover { color: hsl(var(--foreground)); }
.legal-page .eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 12px;
}
.legal-page h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.legal-page .meta-line {
  color: hsl(var(--muted-foreground));
  font-size: 13.5px;
  font-family: 'Geist Mono', monospace;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid hsl(var(--border));
}
.legal-page h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 40px 0 14px;
}
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p, .legal-page li {
  color: hsl(var(--muted-foreground));
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
  text-wrap: pretty;
}
.legal-page ul { padding-left: 22px; margin-bottom: 14px; }
.legal-page ul li { margin-bottom: 6px; }
.legal-page strong { color: hsl(var(--foreground)); font-weight: 500; }
.legal-page a { color: hsl(var(--foreground)); border-bottom: 1px solid hsl(var(--border)); }
.legal-page a:hover { border-color: hsl(var(--foreground)); }
