/* ==========================================================================
   MIO — Accounting & Legal Work
   Royal: deep wine, gold foil, ivory paper, classical type, geometric ornament.
   Arabic (rtl) is the default; English (ltr) on toggle. Motion is quiet.
   ========================================================================== */

:root {
  --wine-950: #1c050c;
  --wine-900: #2a0712;
  --wine-800: #3b0a1a;
  --wine-700: #521226;
  --burgundy: #6b1c32;
  --gold: #c9a227;
  --gold-light: #e6c868;
  --gold-deep: #9a781c;
  --gold-line: rgba(201, 162, 39, 0.42);
  --gold-faint: rgba(201, 162, 39, 0.12);
  --ivory: #f8f4ec;
  --parchment: #f1e9da;
  --paper: #fffcf6;
  --ink: #1e1215;
  --muted: #5e4f53;
  --line: rgba(59, 10, 26, 0.12);
  --line-strong: rgba(59, 10, 26, 0.24);

  --foil: linear-gradient(115deg, #a8861f 0%, #e9cf72 28%, #c9a227 52%, #f2dd8e 74%, #b08f26 100%);
  --wine-grad: radial-gradient(120% 90% at 85% 0%, #5a1428 0%, #3b0a1a 42%, #2a0712 72%, #1c050c 100%);

  /* Gold geometric lattice — an eight-pointed star repeat */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23c9a227' stroke-width='.8'%3E%3Cpath d='M36 14l6 16 16 6-16 6-6 16-6-16-16-6 16-6z'/%3E%3Crect x='25' y='25' width='22' height='22' transform='rotate(45 36 36)'/%3E%3Cpath d='M0 0l14 14M72 0L58 14M0 72l14-14M72 72L58 58'/%3E%3Ccircle cx='36' cy='36' r='3'/%3E%3C/g%3E%3C/svg%3E");

  --display: "Cormorant Garamond", "Amiri", Georgia, serif;
  --body: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;

  --header-h: 4.75rem;
  --subnav-h: 3.9rem;
  --shell: 1200px;
  --gut: 1.25rem;
  --radius: 3px;
  --radius-lg: 6px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px rgba(42, 7, 18, 0.06), 0 8px 20px rgba(42, 7, 18, 0.05);
  --shadow-md: 0 2px 6px rgba(42, 7, 18, 0.07), 0 22px 48px rgba(42, 7, 18, 0.1);
  --shadow-lg: 0 34px 80px rgba(16, 3, 8, 0.45);
}

html.is-ar {
  --display: "Amiri", "Cormorant Garamond", serif;
  --body: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
}

/* Calm cross-fade between pages where the browser supports it */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.28s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(201, 162, 39, 0.18);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--body);
  font-size: 1.02rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  text-wrap: balance;
  margin: 0;
}

html.is-en h1,
html.is-en h2,
html.is-en h3 {
  font-weight: 600;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

.site-header :focus-visible,
.nav-drawer :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.band-royal :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.brand-plate :focus-visible,
.hours-plate :focus-visible {
  outline-color: var(--gold);
}

.skip {
  position: absolute;
  inset: 0.6rem auto auto 0.6rem;
  z-index: 300;
  padding: 0.6rem 1.1rem;
  background: var(--gold);
  color: var(--wine-900);
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.muted {
  opacity: 0.7;
}

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

.break {
  word-break: break-word;
}

/* ===== Ornaments ============================================= */

/* line — diamond — line */
.ornament {
  display: block;
  position: relative;
  width: 8.5rem;
  height: 0.9rem;
  margin: 1.1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold) 38%, transparent 38%, transparent 62%, var(--gold) 62%, transparent)
    center / 100% 1px no-repeat;
}

.ornament::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

.ornament.start {
  margin-inline: 0;
}

.foil {
  font-style: normal;
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.motto {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

.motto i {
  font-style: normal;
  font-size: 0.55em;
  color: var(--gold);
}

.motto-xl {
  justify-content: center;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.3;
  gap: 0.4rem 1.4rem;
}

.motto-xl span {
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Seal ================================================== */

.seal {
  width: 100%;
  height: auto;
  color: var(--gold);
  direction: ltr;
}

.seal-ring {
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.2px;
}

.seal-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 2px;
}

.seal-year {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  letter-spacing: 5px;
}

/* ===== Reveal =============================================== */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--rd, 0ms);
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

main,
.site-footer {
  transition: opacity 0.22s var(--ease);
}

body.is-switching main,
body.is-switching .site-footer {
  opacity: 0.2;
}

/* ===== Buttons =============================================== */

.btn-gold,
.btn-outline,
.btn-outline-dark,
.intake button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-position 0.4s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.btn-lg {
  min-height: 3.2rem;
  padding: 0.8rem 1.9rem;
  font-size: 0.95rem;
}

.block {
  display: flex;
  width: 100%;
}

.btn-gold,
.intake button {
  border: 1px solid #b8962c;
  color: var(--wine-900);
  background: linear-gradient(115deg, #b8962c, #e6c868 45%, #c9a227 70%, #a8861f) 0 0 / 200% 100%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

.btn-gold:hover,
.intake button:hover {
  background-position: 100% 0;
  box-shadow: 0 10px 26px rgba(201, 162, 39, 0.3), 0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

.btn-outline {
  border: 1px solid var(--gold-line);
  color: var(--gold-light);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-faint);
}

.btn-outline-dark {
  border: 1px solid var(--line-strong);
  color: var(--wine-800);
  background: transparent;
}

.btn-outline-dark:hover {
  border-color: var(--wine-800);
  background: var(--wine-800);
  color: var(--ivory);
}

.js-wa-icon svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--burgundy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
  padding-bottom: 0.2rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), gap 0.25s var(--ease);
}

.link-arrow::after {
  content: "→";
}

html[dir="rtl"] .link-arrow::after {
  content: "←";
}

.link-arrow:hover {
  color: var(--wine-800);
  border-color: var(--gold);
  gap: 0.9rem;
}

/* ===== Header ================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: linear-gradient(180deg, var(--wine-900), var(--wine-950));
  color: var(--ivory);
  border-bottom: 1px solid var(--gold-line);
  view-transition-name: site-header;
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(42, 7, 18, 0.95), rgba(28, 5, 12, 0.95));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(16, 3, 8, 0.35);
}

.header-inner {
  height: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  min-height: 2.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.14);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wordmark {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-tag {
  margin-top: 0.2rem;
  max-width: 26ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: rgba(248, 244, 236, 0.6);
}

html.is-en .brand-tag {
  max-width: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-links {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 1.6rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: rgba(248, 244, 236, 0.82);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.1rem;
  width: 0.38rem;
  height: 0.38rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-link.is-current {
  color: var(--gold-light);
}

.nav-link.is-current::after,
.nav-link:hover::after {
  transform: translateX(-50%) rotate(45deg) scale(1);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-inline-start: auto;
}

.lang-toggle {
  min-height: 2.75rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--gold-light);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.lang-toggle:hover,
.icon-btn:hover {
  border-color: var(--gold);
  background: var(--gold-faint);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  color: var(--gold-light);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.scroll-progress {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: var(--foil);
  transform: scaleX(0);
  transform-origin: left center;
}

html[dir="rtl"] .scroll-progress {
  transform-origin: right center;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.7rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  height: 1px;
  background: var(--gold-light);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== Drawer ================================================ */

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(16, 3, 8, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.nav-scrim[hidden] {
  display: none;
}

.nav-scrim.is-on {
  opacity: 1;
}

.nav-drawer {
  position: fixed;
  z-index: 75;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(21rem, 88vw);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding: calc(1.1rem + env(safe-area-inset-top)) 1.4rem calc(2.5rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--wine-grad);
  color: var(--ivory);
  border-inline-start: 1px solid var(--gold-line);
  box-shadow: var(--shadow-lg);
  visibility: hidden;
  transform: translateX(102%);
  transition: transform 0.38s var(--ease-out), visibility 0s linear 0.38s;
}

html[dir="rtl"] .nav-drawer {
  transform: translateX(-102%);
}

.nav-drawer.is-open,
html[dir="rtl"] .nav-drawer.is-open {
  visibility: visible;
  transform: none;
  transition: transform 0.38s var(--ease-out), visibility 0s;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gold-line);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-light);
}

.drawer-brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: #fff;
}

.drawer-close {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.drawer-close::before,
.drawer-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 24%;
  width: 52%;
  height: 1px;
  background: var(--gold-light);
  transform: rotate(45deg);
}

.drawer-close::after {
  transform: rotate(-45deg);
}

.drawer-links {
  display: flex;
  flex-direction: column;
}

.drawer-link {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.16);
  font-family: var(--display);
  font-size: 1.25rem;
  color: rgba(248, 244, 236, 0.92);
  text-decoration: none;
  opacity: 0;
  transform: translateY(6px);
}

.drawer-link.is-current {
  color: var(--gold-light);
}

.nav-drawer.is-open .drawer-link {
  animation: drawerIn 0.4s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 40ms + 80ms);
}

@keyframes drawerIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.drawer-actions {
  display: grid;
  gap: 0.6rem;
}

.drawer-contact {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-line);
  font-size: 0.92rem;
}

.drawer-contact dt {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--gold);
}

.drawer-contact dt:first-child {
  margin-top: 0;
}

.drawer-contact dd {
  margin: 0.1rem 0 0;
  color: rgba(248, 244, 236, 0.86);
}

.drawer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle,
  .nav-drawer,
  .nav-scrim {
    display: none;
  }
}

@media (max-width: 1023px) {
  .btn-consult {
    display: none;
  }
}

@media (max-width: 600px) {
  :root {
    --gut: 1rem;
  }
  .brand-tag {
    display: none;
  }
  .lang-toggle {
    padding-inline: 0.55rem;
  }
}

/* ===== Home hero ============================================= */

.hero,
.page-hero,
.band-royal,
.cta-band,
.site-footer {
  position: relative;
  isolation: isolate;
  background: var(--wine-grad);
  color: var(--ivory);
  overflow: hidden;
}

.hero::before,
.page-hero::before,
.band-royal::before,
.cta-band::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--pattern);
  background-size: 72px 72px;
  opacity: 0.07;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 85%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 85%);
  pointer-events: none;
}

.hero {
  border-bottom: 1px solid var(--gold-line);
}

.hero-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 5.5rem) var(--gut) clamp(4.5rem, 8vw, 6.5rem);
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy > *,
.hero-card {
  animation: fadeUp 0.9s var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 90ms + 80ms);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  margin: 0 0 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

html.is-ar .eyebrow {
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}

.eyebrow i {
  font-style: normal;
  font-size: 0.55em;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  line-height: 1.2;
  color: var(--ivory);
  max-width: 17ch;
}

html.is-ar .hero h1 {
  line-height: 1.45;
}

.hero h1 > span,
.hero h1 > em {
  display: block;
}

.hero-lead {
  max-width: 44ch;
  margin: 1.4rem 0 2rem;
  font-size: 1.08rem;
  color: rgba(248, 244, 236, 0.8);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-copy .motto {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(201, 162, 39, 0.24);
}

/* Hero card: a framed plate — office cover photograph, medallion, facts */
.hero-card {
  position: relative;
  width: 100%;
  max-width: 27rem;
  justify-self: center;
  padding: 0.6rem 0.6rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(248, 244, 236, 0.08), rgba(248, 244, 236, 0.02));
  box-shadow: inset 0 0 0 6px rgba(28, 5, 12, 0.35), inset 0 0 0 7px var(--gold-line), var(--shadow-lg);
}

.hero-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  background: var(--wine-950);
}

/* Only the office photograph at the right of the cover — never its lettering. */
.hero-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 50%;
  transform-origin: 99% 48%;
  transform: scale(2.95);
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 5, 12, 0.8), rgba(28, 5, 12, 0.1) 60%, transparent);
}

.hero-medallion {
  position: relative;
  z-index: 2;
  width: 5.4rem;
  height: 5.4rem;
  margin: -2.9rem auto 0;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(28, 5, 12, 0.6), 0 0 0 6px var(--gold-line), 0 14px 30px rgba(16, 3, 8, 0.5);
}

.hero-card-body {
  padding: 0.8rem 1rem 0;
  text-align: center;
}

.hero-card-name {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.22em;
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-card-tag {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: rgba(248, 244, 236, 0.66);
}

.plaque {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 1.2rem 0 0;
  padding: 0;
  border-block: 1px solid var(--gold-line);
}

.plaque li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.85rem 0.4rem;
}

.plaque li + li {
  border-inline-start: 1px solid var(--gold-line);
}

.plaque .num {
  font-family: "Cormorant Garamond", "Amiri", serif;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--gold-light);
}

.plaque li span:last-child {
  font-size: 0.74rem;
  color: rgba(248, 244, 236, 0.66);
}

.plaque-line {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--gold-light);
}

.plaque-where {
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
  color: rgba(248, 244, 236, 0.6);
}

@media (min-width: 940px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .hero-card {
    justify-self: end;
  }
  .hero-figure {
    aspect-ratio: 4 / 3;
  }
  .hero-figure img {
    transform: scale(2.55);
  }
}

/* ===== Quick requests ======================================= */

.quick {
  position: relative;
  z-index: 3;
  max-width: var(--shell);
  margin: calc(-1 * clamp(2.5rem, 4.5vw, 3.4rem)) auto 0;
  padding: 0 var(--gut);
}

.quick-card {
  padding: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.quick-label {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wine-800);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.quick-task {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.2rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.quick-task .svc-icon {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  color: var(--gold-deep);
}

.quick-task:hover {
  border-color: var(--gold);
  background: #fff;
  color: var(--wine-800);
}

@media (min-width: 760px) {
  .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .quick-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.6rem;
    padding: 1.1rem 1.5rem;
  }
  .quick-label {
    margin: 0;
    max-width: 7ch;
    line-height: 1.3;
  }
  .quick-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .quick-task {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.45rem;
    min-height: 4.8rem;
    font-size: 0.84rem;
  }
}

/* ===== Sections ============================================== */

.section {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) var(--gut);
}

.section-paper {
  background: var(--parchment);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

html.is-ar .kicker {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.section-head.center .kicker::before,
.section-head.center .kicker::after {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: var(--gold);
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.3;
  color: var(--wine-800);
}

html.is-ar .section-head h2 {
  line-height: 1.5;
}

.section-head.light .kicker {
  color: var(--gold);
}

.section-more {
  margin: 2.4rem 0 0;
  text-align: center;
}

/* ===== Home — service cards ================================= */

.svc-grid {
  display: grid;
  gap: 1.1rem;
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.6rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.svc-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid transparent;
  border-radius: calc(var(--radius-lg) - 3px);
  transition: border-color 0.3s var(--ease);
  pointer-events: none;
}

.svc-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.svc-card:hover::before {
  border-color: var(--gold-line);
}

.svc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.svc-card-icon {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--wine-800);
  background: radial-gradient(circle, #fff 55%, var(--parchment));
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--gold-line);
}

.svc-card-icon .svc-icon {
  width: 1.45rem;
  height: 1.45rem;
}

.svc-card-num {
  font-family: "Cormorant Garamond", "Amiri", serif;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(201, 162, 39, 0.55);
}

.svc-card h3 {
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--wine-800);
}

.svc-card p {
  flex: 1;
  margin: 0.6rem 0 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.svc-card-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--burgundy);
  border-bottom: 1px solid var(--gold-line);
  padding-bottom: 0.15rem;
}

.svc-card-more::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

html[dir="rtl"] .svc-card-more::after {
  content: "←";
}

.svc-card:hover .svc-card-more::after {
  transform: translateX(3px);
}

html[dir="rtl"] .svc-card:hover .svc-card-more::after {
  transform: translateX(-3px);
}

@media (min-width: 700px) {
  .svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1060px) {
  .svc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== Royal band — values ================================== */

.band-royal {
  border-block: 1px solid var(--gold-line);
}

.band-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) var(--gut);
}

.pillars {
  display: grid;
  gap: 1rem;
}

.pillar {
  position: relative;
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(248, 244, 236, 0.07), rgba(248, 244, 236, 0.015));
}

.pillar::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline: 1.5rem;
  height: 2px;
  background: var(--foil);
}

.pillar-num {
  display: block;
  margin-bottom: 0.8rem;
  font-family: "Cormorant Garamond", "Amiri", serif;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.pillar h3 {
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--gold-light);
}

.pillar p {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
  color: rgba(248, 244, 236, 0.78);
}

@media (min-width: 720px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Steps ================================================= */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.8rem;
  position: relative;
}

.step {
  position: relative;
  padding-inline-start: 4rem;
}

.step-num {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 0 0 4px var(--ivory), 0 0 0 5px var(--gold-line);
  font-family: "Cormorant Garamond", "Amiri", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wine-800);
}

.step h3 {
  margin-top: 0.3rem;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--wine-800);
}

.step p {
  margin: 0.4rem 0 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.steps::before {
  content: "";
  position: absolute;
  top: 1.45rem;
  bottom: 1.45rem;
  inset-inline-start: 1.45rem;
  width: 1px;
  background: var(--gold-line);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
  .step {
    padding-inline-start: 0;
    padding-top: 4.4rem;
    text-align: center;
  }
  .step-num {
    inset-inline-start: 50%;
    transform: translateX(-50%);
  }
  html[dir="rtl"] .step-num {
    transform: translateX(50%);
  }
  .steps::before {
    top: 1.45rem;
    bottom: auto;
    inset-inline: 12.5%;
    width: auto;
    height: 1px;
  }
}

/* ===== Notes ================================================= */

.notes-grid {
  display: grid;
  gap: 1.1rem;
  align-items: start;
}

.note-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.note-card:hover {
  border-color: var(--gold-line);
  box-shadow: var(--shadow-md);
}

.note-copy {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.7rem;
}

.note-index {
  margin-bottom: 0.6rem;
  font-family: "Cormorant Garamond", "Amiri", serif;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--gold-deep);
}

.note-copy h3 {
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--wine-800);
}

.note-copy h3::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 1px;
  margin-top: 0.9rem;
  background: var(--gold);
}

.note-body {
  position: relative;
  margin-top: 0.9rem;
  overflow: hidden;
  font-size: 0.96rem;
  color: var(--muted);
  transition: max-height 0.45s var(--ease);
}

.note-body p {
  margin: 0 0 0.6rem;
}

.note-body p:last-child {
  margin-bottom: 0;
}

.note-body.is-clamped {
  max-height: 11.5rem;
}

.note-body.is-clamped::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 4.5rem;
  background: linear-gradient(to bottom, rgba(255, 252, 246, 0), var(--paper) 90%);
}

.note-toggle {
  align-self: flex-start;
  min-height: 2.75rem;
  margin-top: 0.6rem;
  padding: 0.45rem 0 0.35rem;
  border: 0;
  border-bottom: 1px solid var(--gold-line);
  background: none;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--burgundy);
  cursor: pointer;
}

.note-toggle:hover {
  border-color: var(--gold);
}

.note-cta {
  margin: 1.1rem 0 0;
}

/* Featured — the first post, set as a quotation */
.note-card.is-featured {
  border-color: var(--gold-line);
  box-shadow: var(--shadow-md);
}

.note-card.is-featured::before {
  content: "”";
  position: absolute;
  top: -0.2rem;
  inset-inline-end: 1.6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 8rem;
  line-height: 1;
  color: rgba(201, 162, 39, 0.22);
  pointer-events: none;
}

html[dir="rtl"] .note-card.is-featured::before {
  content: "“";
}

.note-card.is-featured .note-copy {
  padding: clamp(1.8rem, 3.4vw, 2.8rem);
}

.note-card.is-featured h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.45;
}

.note-card.is-featured .note-body {
  font-size: 1.03rem;
}

@media (min-width: 880px) {
  .notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .note-card.is-featured {
    grid-column: 1 / -1;
  }
  .note-card.is-featured .note-copy {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(2rem, 4.5vw, 4rem);
  }
  .note-card.is-featured .note-index {
    grid-column: 1;
    grid-row: 1;
  }
  .note-card.is-featured h3 {
    grid-column: 1;
    grid-row: 2;
  }
  .note-card.is-featured .note-body {
    grid-column: 2;
    grid-row: 1 / -1;
    margin-top: 0;
  }
  .note-card.is-featured .note-cta {
    grid-column: 2;
  }
}

@media (min-width: 1180px) {
  .notes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== CTA band ============================================= */

.cta-band {
  border-top: 1px solid var(--gold-line);
}

.cta-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gut);
  display: grid;
  gap: 2rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.cta-seal {
  width: clamp(8rem, 18vw, 11rem);
  opacity: 0.9;
}

.cta-quote {
  max-width: 30ch;
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ivory);
}

.cta-quote::before,
.cta-quote::after {
  color: var(--gold);
}

html[dir="rtl"] .cta-quote::before {
  content: "« ";
}

html[dir="rtl"] .cta-quote::after {
  content: " »";
}

html[dir="ltr"] .cta-quote::before {
  content: "“";
}

html[dir="ltr"] .cta-quote::after {
  content: "”";
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cta-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 1rem;
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.cta-phones a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.cta-phones a:hover {
  border-color: var(--gold);
}

.cta-phones i {
  font-style: normal;
  font-size: 0.5em;
  color: var(--gold);
}

@media (min-width: 860px) {
  .cta-inner {
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: start;
    gap: 3.5rem;
  }
  .cta-quote {
    margin: 0;
  }
  .cta-actions,
  .cta-phones {
    justify-content: flex-start;
  }
}

/* ===== Inner page hero ====================================== */

.page-hero {
  border-bottom: 1px solid var(--gold-line);
}

.page-hero-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(2.8rem, 6vw, 4.8rem) var(--gut) clamp(3rem, 6vw, 4.8rem);
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-hero-copy > * {
  animation: fadeUp 0.8s var(--ease-out) both;
}

.page-hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}

.page-hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}

.page-hero-copy > :nth-child(4) {
  animation-delay: 0.24s;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  color: rgba(248, 244, 236, 0.6);
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--gold-light);
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.crumbs i {
  font-style: normal;
  font-size: 0.5em;
  color: var(--gold);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.25;
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.is-ar .page-hero h1 {
  line-height: 1.5;
}

.page-lead {
  max-width: 46ch;
  margin: 1rem 0 0;
  font-size: 1.12rem;
  color: rgba(248, 244, 236, 0.82);
}

.page-note {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  color: var(--gold-light);
}

.page-hero-copy .motto,
.page-hero-copy .btn-outline {
  margin-top: 1.6rem;
}

.page-hero-copy .motto {
  font-size: 1rem;
}

.page-hero-seal {
  display: none;
  width: clamp(9rem, 16vw, 12.5rem);
  justify-self: end;
  opacity: 0.85;
  animation: fadeUp 1s var(--ease-out) 0.2s both;
}

@media (min-width: 760px) {
  .page-hero-inner {
    grid-template-columns: 1fr auto;
  }
  .page-hero-seal {
    display: block;
  }
}

/* ===== Services page ======================================= */

.service-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.55rem max(var(--gut), calc((100vw - var(--shell)) / 2 + var(--gut)));
  background: rgba(248, 244, 236, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.service-nav::-webkit-scrollbar {
  display: none;
}

.service-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  min-height: 2.75rem;
  scroll-snap-align: start;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.84rem;
  color: var(--wine-800);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.service-nav a:hover {
  border-color: var(--gold);
  background: #fff;
}

.service-nav .svc-icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--gold-deep);
}

.dossiers {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.group-head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold-deep);
}

.group-head::before,
.group-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line));
}

.group-head::after {
  background: linear-gradient(90deg, var(--gold-line), transparent);
}

.dossier {
  display: grid;
  gap: 1.6rem;
  scroll-margin-top: calc(var(--header-h) + var(--subnav-h) + 1rem);
}

.dossier-head {
  position: relative;
}

.dossier-num {
  display: block;
  font-family: "Cormorant Garamond", "Amiri", serif;
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
  color: rgba(201, 162, 39, 0.55);
}

.dossier-icon {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin: 1rem 0 1rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--wine-800);
  background: radial-gradient(circle, #fff 55%, var(--parchment));
  box-shadow: 0 0 0 4px var(--ivory), 0 0 0 5px var(--gold-line);
}

.dossier-icon .svc-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.dossier-head h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.35;
  color: var(--wine-800);
}

.dossier-lead {
  max-width: 38ch;
  margin: 0.8rem 0 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.dossier-body {
  padding: clamp(1.6rem, 3vw, 2.3rem);
  background: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px rgba(201, 162, 39, 0.22), var(--shadow-sm);
}

.royal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.royal-list li {
  position: relative;
  padding: 0.65rem 0;
  padding-inline-start: 1.6rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.royal-list li:last-child {
  border-bottom: 0;
}

.royal-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.15rem;
  top: 1.25rem;
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid var(--gold);
  background: var(--gold-faint);
  transform: rotate(45deg);
}

.royal-quote {
  position: relative;
  margin: 1.4rem 0 0;
  padding: 1rem 1.2rem;
  padding-inline-start: 1.4rem;
  border-inline-start: 2px solid var(--gold);
  background: linear-gradient(90deg, var(--gold-faint), transparent);
}

html[dir="rtl"] .royal-quote {
  background: linear-gradient(270deg, var(--gold-faint), transparent);
}

.royal-quote p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--wine-800);
}

html.is-en .royal-quote p {
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
}

.dossier-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .dossier {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3rem;
    align-items: start;
  }
  .dossier-head {
    position: sticky;
    top: calc(var(--header-h) + var(--subnav-h) + 1.5rem);
  }
}

.pay-band {
  background: var(--parchment);
  border-block: 1px solid var(--line);
}

.pay-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 2.6rem var(--gut);
  text-align: center;
}

.pay-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.4rem 0 0;
  padding: 0;
}

.pay-list li {
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.9rem;
  color: var(--wine-800);
}

/* ===== About page ========================================== */

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.about-story p {
  max-width: 60ch;
  margin: 0 0 1.1rem;
  font-size: 1.04rem;
  color: var(--muted);
}

.about-story .about-lead {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--wine-800);
}

.about-story .ornament {
  margin-block: 0.4rem 1.6rem;
}

.brand-plate {
  position: relative;
  padding: 2.4rem 1.8rem;
  text-align: center;
  background: var(--wine-grad);
  color: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 7px rgba(28, 5, 12, 0.5), inset 0 0 0 8px var(--gold-line), var(--shadow-md);
  overflow: hidden;
  isolation: isolate;
}

.brand-plate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--pattern);
  background-size: 72px;
  opacity: 0.07;
}

.plate-mark {
  width: 7rem;
  height: 7rem;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(28, 5, 12, 0.6), 0 0 0 6px var(--gold-line);
}

.plate-name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--gold-light);
}

.plate-tag {
  margin: 0.4rem 0 0;
  font-size: 0.86rem;
  color: rgba(248, 244, 236, 0.7);
}

.plate-founder {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-line);
  font-family: var(--display);
  font-size: 1.15rem;
}

.plate-since {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 4rem;
  }
}

/* Team — names only */
.team-grid {
  display: grid;
  gap: 1rem;
}

.nameplate {
  position: relative;
  padding: 1.6rem 1.6rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nameplate:hover {
  border-color: var(--gold-line);
  border-inline-start-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.nameplate-num {
  position: absolute;
  top: 1.4rem;
  inset-inline-end: 1.5rem;
  font-family: "Cormorant Garamond", "Amiri", serif;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}

.nameplate h3 {
  padding-inline-end: 2.5rem;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--wine-800);
}

.nameplate .role {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.nameplate .cred {
  display: inline-block;
  margin: 0.8rem 0 0;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--burgundy);
}

@media (min-width: 760px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Contact page ======================================== */

.contact-cards {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.6rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--wine-800);
  background: radial-gradient(circle, #fff 55%, var(--parchment));
}

.contact-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.contact-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: var(--wine-800);
}

.contact-line {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.contact-line:hover {
  color: var(--burgundy);
  border-color: var(--gold);
}

.contact-line.break {
  font-size: 0.9rem;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.contact-text {
  margin: 0;
  font-size: 0.98rem;
}

.contact-sub {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.3rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--burgundy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
}

.contact-sub:hover {
  border-color: var(--gold);
}

@media (min-width: 700px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .contact-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-main {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.intake {
  display: grid;
  gap: 1rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px rgba(201, 162, 39, 0.2), var(--shadow-sm);
}

.intake-title {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.6rem;
  color: var(--wine-800);
}

.intake label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--wine-800);
}

.intake small {
  font-weight: 400;
  color: var(--muted);
}

.intake input,
.intake select,
.intake textarea {
  font: inherit;
  font-size: 16px;
  min-height: 3rem;
  color: var(--ink);
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.intake textarea {
  resize: vertical;
}

.intake input:hover,
.intake select:hover,
.intake textarea:hover {
  border-color: var(--burgundy);
}

.intake input:focus,
.intake select:focus,
.intake textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.22);
}

.send-to {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.send-to legend {
  width: 100%;
  margin-bottom: 0.4rem;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--wine-800);
}

.intake .send-option {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.send-option input {
  margin: 0;
  accent-color: var(--burgundy);
}

.send-option:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-faint);
}

.intake-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.4rem;
}

.intake-alt {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.3rem 0 0.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--burgundy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
  cursor: pointer;
}

.intake-alt:hover {
  border-color: var(--gold);
}

.intake-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.hours-plate {
  position: relative;
  padding: 2rem 1.6rem;
  text-align: center;
  background: var(--wine-grad);
  color: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 6px rgba(28, 5, 12, 0.5), inset 0 0 0 7px var(--gold-line), var(--shadow-md);
}

.hours-seal {
  width: 7.5rem;
  margin: 0 auto 1.2rem;
}

.hours-plate .kicker {
  color: var(--gold);
}

.hours-main {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.5;
}

.hours-closed {
  margin: 0.3rem 0 0;
  color: var(--gold-light);
}

.hours-reply {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(248, 244, 236, 0.72);
}

.hours-plate .ornament {
  margin-block: 1.2rem;
}

@media (min-width: 900px) {
  .contact-main {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
    gap: 2rem;
  }
  .intake {
    grid-template-columns: 1fr 1fr;
  }
  .intake-title,
  .intake .full {
    grid-column: 1 / -1;
  }
  .hours-plate {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

.map-card {
  margin-top: 2rem;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: clamp(16rem, 34vw, 24rem);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  background: var(--parchment);
  filter: grayscale(0.45) sepia(0.15);
  transition: filter 0.4s var(--ease);
}

.map-card:hover iframe {
  filter: none;
}

/* ===== Footer =============================================== */

.site-footer {
  font-size: 0.9rem;
  color: rgba(248, 244, 236, 0.74);
  border-top: 1px solid var(--gold);
  background: linear-gradient(180deg, var(--wine-900), var(--wine-950));
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.2rem) var(--gut) 2.4rem;
  display: grid;
  gap: 2.2rem;
}

.footer-brand img {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gold);
}

.footer-name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.footer-tag {
  max-width: 32ch;
  margin: 0.3rem 0 0;
  font-size: 0.84rem;
  color: rgba(248, 244, 236, 0.6);
}

.footer-since {
  margin: 0.8rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.footer-col p {
  margin: 0;
}

.footer-label {
  margin-bottom: 0.5rem !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

html.is-ar .footer-label {
  font-size: 0.92rem;
  letter-spacing: 0;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: rgba(248, 244, 236, 0.8);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-link:hover,
.footer-link.is-current {
  color: var(--gold-light);
}

.footer-base {
  margin: 0;
  padding: 1.2rem var(--gut) calc(1.2rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(201, 162, 39, 0.18);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(248, 244, 236, 0.5);
}

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: 1.4fr 0.7fr 1fr 1fr;
    gap: 2.6rem;
  }
}

@media (max-width: 759px) {
  .site-footer {
    padding-bottom: 3.5rem;
  }
}

/* ===== Floating WhatsApp & toast =========================== */

.wa-float {
  position: fixed;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  inset-inline-end: 1.25rem;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  background: var(--wine-800);
  color: var(--gold-light);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(42, 7, 18, 0.25), 0 12px 28px rgba(16, 3, 8, 0.4);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.wa-float:hover {
  background: var(--burgundy);
  transform: translateY(-2px);
}

.wa-float svg {
  width: 1.45rem;
  height: 1.45rem;
}

.toast {
  position: fixed;
  bottom: calc(5.4rem + env(safe-area-inset-bottom));
  inset-inline-end: 1.25rem;
  z-index: 95;
  max-width: min(22rem, calc(100vw - 2.5rem));
  padding: 0.85rem 1.2rem;
  background: var(--wine-900);
  color: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.toast.is-on {
  opacity: 1;
  transform: none;
}

/* ===== Social icons (Facebook, WhatsApp) =================== */

.js-fb-icon svg {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
}

.social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.social-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold-light);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.social-btn:hover {
  border-color: var(--gold);
  background: var(--gold-faint);
  color: var(--gold);
}

.social-btn.light {
  margin-top: 0.5rem;
  color: var(--wine-800);
  border-color: var(--gold);
  background: radial-gradient(circle, #fff 55%, var(--parchment));
}

.social-btn.light:hover {
  background: var(--wine-800);
  color: var(--gold-light);
}

.drawer-contact + .social {
  padding-top: 1rem;
  border-top: 1px solid var(--gold-line);
}

.btn-fb .js-fb-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* ===== 404 ================================================== */

.not-found .page-hero-inner {
  min-height: calc(100svh - var(--header-h) - 14rem);
}

.nf-code {
  margin: 0 0 0.4rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4.5rem, 12vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(201, 162, 39, 0.4);
}

.not-found .hero-ctas {
  margin-top: 2rem;
}

/* ===== Phones ================================================ */

@media (max-width: 600px) {
  /* Primary actions span the width — easy to reach with a thumb */
  .hero-ctas,
  .cta-actions,
  .dossier-actions,
  .intake-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas > a,
  .cta-actions > a,
  .dossier-actions > a,
  .intake-actions > button {
    width: 100%;
  }
  .intake-actions .intake-alt {
    align-self: center;
  }
  .send-to .send-option {
    flex: 1 1 100%;
  }
  .section {
    padding-block: 3rem;
  }
  .band-inner,
  .cta-inner {
    padding-block: 3rem;
  }
  .hero-inner {
    padding-top: 2.2rem;
  }
  .dossier-body,
  .intake {
    padding: 1.3rem 1.1rem;
  }
  .note-copy {
    padding: 1.3rem 1.2rem 1.4rem;
  }
  .cta-quote {
    font-size: 1.45rem;
  }
  .map-card iframe {
    height: 18rem;
  }
}

/* Small phones (iPhone SE / 320–380px): keep the header on one line */
@media (max-width: 380px) {
  :root {
    --gut: 0.85rem;
  }
  .header-inner {
    gap: 0.5rem;
  }
  .brand {
    gap: 0.5rem;
  }
  .brand-logo {
    width: 2.5rem;
    height: 2.5rem;
  }
  .wordmark {
    font-size: 1.25rem;
    letter-spacing: 0.1em;
  }
  .nav-tools {
    gap: 0.35rem;
  }
  .lang-toggle {
    padding-inline: 0.45rem;
    font-size: 0.75rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .quick-grid {
    grid-template-columns: 1fr;
  }
}

/* Header icon buttons: Facebook only where there is room */
@media (max-width: 420px) {
  .icon-fb {
    display: none;
  }
}

/* Phones turned sideways: give the content the height */
@media (max-height: 500px) and (orientation: landscape) {
  :root {
    --header-h: 3.75rem;
  }
  .brand-logo {
    width: 2.4rem;
    height: 2.4rem;
  }
  .hero-inner,
  .page-hero-inner {
    padding-block: 1.8rem 2.6rem;
  }
}

/* ===== Reduced motion ======================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .drawer-link {
    opacity: 1;
    transform: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}
