/* ==========================================================================
   Şir Attorney Partnership — main stylesheet
   ========================================================================== */

:root {
    /* Brand */
    --wine: #38050f;          /* logo colour */
    --wine-700: #4a0a17;
    --wine-500: #7a2235;
    --wine-900: #1c0307;
    --wine-950: #120204;
    --champagne: #cdb497;     /* accent on dark backgrounds */

    /* Neutrals */
    --ivory: #f4eee6;
    --paper: #fbf8f4;
    --ink: #22181a;
    --muted: #6e6164;
    --line: rgba(56, 5, 15, 0.14);
    --line-light: rgba(255, 255, 255, 0.14);
    --text-light: rgba(255, 255, 255, 0.72);

    /* Type */
    --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
    --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;

    /* Layout & motion */
    --container: 1320px;
    --gutter: clamp(20px, 4vw, 56px);
    --header-h: 104px;
    --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-variant-numeric: lining-nums;
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--wine); color: #fff; }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: #fff; color: var(--wine); padding: 10px 16px;
}
.skip-link:focus { top: 16px; }

/* Subtle architectural line + dot pattern used on dark surfaces */
.pattern-lines {
    background-color: var(--wine-900);
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px),
        linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 26px 26px, calc(100% / 6) 100%;
    background-position: 0 0, -1px 0;
}

/* ---------- Typography ---------- */
.display {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--wine);
}
.section--dark .display, .careers-card .display { color: #fff; }

.eyebrow {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 22px;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--wine-500);
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--light { color: var(--champagne); }

/* ---------- Links & buttons ---------- */
.icon-arrow { width: 20px; height: 20px; flex: none; transition: transform 0.5s var(--ease-out); }

.link-arrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--wine);
    padding-bottom: 6px;
    background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
    transition: background-size 0.6s var(--ease-out);
}
.link-arrow:hover { background-size: 0 1px; background-position: right bottom; }
.link-arrow:hover .icon-arrow { transform: translateX(6px); }
.link-arrow--light { color: #fff; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 16px 28px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    border: 1px solid transparent;
    transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}
.btn:hover .icon-arrow { transform: translateX(5px); }
.btn--light { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn--light:hover { background: #fff; color: var(--wine); border-color: #fff; }
.btn--wine { background: var(--wine); color: #fff; }
.btn--wine:hover { background: var(--wine-700); }
.btn--ghost-dark { color: var(--wine); border-color: var(--line); }
.btn--ghost-dark:hover { border-color: var(--wine); }

.link-button {
    font-size: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    color: #fff;
    transition: background-color 0.5s, box-shadow 0.5s, transform 0.5s var(--ease-out);
}
.site-header::before { /* soft top fade for legibility over images */
    content: ""; position: absolute; inset: 0 0 -40px; z-index: -1;
    background: linear-gradient(to bottom, rgba(18, 2, 4, 0.55), transparent);
    transition: opacity 0.5s;
    pointer-events: none;
}
.site-header__inner {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center;
    height: var(--header-h);
    max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter);
    transition: height 0.5s var(--ease-out);
}
.site-header.is-scrolled {
    background: rgba(28, 3, 7, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line-light);
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled .site-header__inner { height: 72px; }
.site-header.is-hidden { transform: translateY(-100%); }

.site-logo { grid-column: 1; grid-row: 1; display: block; padding-right: clamp(28px, 4vw, 64px); }
.site-logo img { height: 50px; width: auto; transition: height 0.5s var(--ease-out); }
.is-scrolled .site-logo img { height: 34px; }

.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.site-nav--left { grid-column: 2; grid-row: 1; justify-content: flex-end; }
.site-nav--right { grid-column: 3; grid-row: 1; justify-content: flex-start; padding-left: clamp(20px, 2.4vw, 40px); }

.site-nav a:not(.lang-switch a) {
    position: relative;
    font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.86);
    padding-block: 8px;
    transition: color 0.3s;
}
.site-nav a:not(.lang-switch a)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
    background: var(--champagne);
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.5s var(--ease-out);
}
.site-nav a:not(.lang-switch a):hover { color: #fff; }
.site-nav a:not(.lang-switch a):hover::after,
.site-nav a.is-current:not(.lang-switch a)::after { transform: scaleX(1); transform-origin: left; }
.site-nav a.is-current:not(.lang-switch a) { color: #fff; }
.mobile-menu__nav a.is-current { color: var(--champagne); }

.lang-switch {
    display: flex; align-items: center; gap: 6px;
    margin-left: auto;
    font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.5);
}
.lang-switch a { color: rgba(255, 255, 255, 0.55); transition: color 0.3s; }
.lang-switch a[aria-current], .lang-switch a:hover { color: #fff; }

.menu-toggle {
    display: none;
    position: relative; width: 44px; height: 44px; margin-left: auto;
}
.menu-toggle__bar {
    position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff;
    transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out);
}
.menu-toggle__bar:nth-of-type(2) { top: 17px; }
.menu-toggle__bar:nth-of-type(3) { top: 26px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-of-type(2) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-of-type(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed; inset: 0; z-index: 40;
    display: flex; flex-direction: column; justify-content: center; gap: 48px;
    padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    color: #fff;
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
    overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__nav a {
    font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.2;
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s, transform 0.8s var(--ease-out), color 0.3s;
}
.mobile-menu.is-open .mobile-menu__nav a {
    opacity: 1; transform: none;
    transition-delay: calc(0.08s + var(--i) * 0.06s);
}
.mobile-menu__nav a:hover { color: var(--champagne); }
.mobile-menu__meta {
    display: flex; flex-direction: column; gap: 8px;
    font-size: 14px; color: var(--text-light);
    border-top: 1px solid var(--line-light); padding-top: 24px;
}
.mobile-menu__meta .lang-switch { margin: 12px 0 0; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    --slide-duration: 7000ms;
    position: relative;
    height: 100vh; height: 100svh; min-height: 620px;
    overflow: hidden;
    background: var(--wine-950);
    color: #fff;
}
.hero__parallax { position: absolute; inset: 0; will-change: transform; }

.hero__slide { position: absolute; inset: 0; opacity: 0; z-index: 0; }
.hero__slide.is-leaving { opacity: 1; z-index: 1; }
.hero__slide.is-active { opacity: 1; z-index: 2; animation: heroFade 1.6s var(--ease-in-out) both; }

.hero__media { position: absolute; inset: -5%; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Blur-in + offset reveal, then a slow Ken Burns push */
.hero__slide:is(.is-active, .is-leaving) .hero__media { animation: heroReveal 2.8s var(--ease-out) both; }
.hero__slide:is(.is-active, .is-leaving) .hero__media img { animation: kenBurns 12s linear both; }

@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroReveal {
    from { filter: blur(16px); transform: translate3d(3%, 3%, 0) scale(1.06); }
    to   { filter: blur(0);    transform: none; }
}
@keyframes kenBurns {
    from { transform: scale(1); }
    to   { transform: scale(1.12); }
}

.hero__shade {
    position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(18, 2, 4, 0.82) 0%, rgba(28, 3, 7, 0.45) 55%, rgba(28, 3, 7, 0.15) 100%),
        linear-gradient(to top, rgba(18, 2, 4, 0.7), transparent 45%);
}

.hero__content {
    position: relative; z-index: 4;
    height: 100%;
    display: grid; align-content: end;
    padding-bottom: clamp(130px, 18vh, 190px);
    will-change: transform, opacity;
}
.hero__caption { grid-area: 1 / 1; max-width: 1100px; pointer-events: none; }
.hero__caption.is-active { pointer-events: auto; }

.hero__caption .eyebrow { opacity: 0; transition: opacity 0.6s; }
.hero__caption.is-active .eyebrow { opacity: 1; transition: opacity 1s 0.5s; }

.hero__title {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.98; letter-spacing: -0.02em;
    margin-bottom: 30px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.7s var(--ease-in-out);
}
.hero__title .line:nth-child(2) > span { font-style: italic; color: var(--champagne); }
.hero__caption.is-active .hero__title .line > span {
    transform: none;
    transition: transform 1.3s var(--ease-out) calc(0.55s + var(--l) * 0.14s);
}

.hero__text {
    max-width: 520px; margin-bottom: 36px;
    font-size: clamp(15px, 1.2vw, 17px); color: rgba(255, 255, 255, 0.8);
}
.hero__text, .hero__cta { opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; }
.hero__caption.is-active .hero__text { opacity: 1; transform: none; transition: opacity 1s 1s, transform 1.2s var(--ease-out) 1s; }
.hero__caption.is-active .hero__cta  { opacity: 1; transform: none; transition: opacity 1s 1.15s, transform 1.2s var(--ease-out) 1.15s, background-color 0.4s, color 0.4s, border-color 0.4s; }

.hero__controls {
    position: absolute; left: 0; right: 0; bottom: clamp(36px, 6vh, 56px); z-index: 5;
    display: flex; align-items: flex-end; justify-content: space-between;
    max-width: none;
    padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.hero__pager { display: flex; gap: 22px; }
.hero__dot { display: grid; gap: 10px; width: clamp(64px, 8vw, 120px); text-align: left; }
.hero__dot-num {
    font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.5); transition: color 0.4s;
}
.hero__dot.is-active .hero__dot-num, .hero__dot:hover .hero__dot-num { color: #fff; }
.hero__dot-bar { position: relative; height: 1px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.hero__dot-bar > span { position: absolute; inset: 0; background: var(--champagne); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active .hero__dot-bar > span { animation: progress var(--slide-duration) linear forwards; }
.hero.is-paused .hero__dot.is-active .hero__dot-bar > span { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

.hero__scroll {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-left: auto; /* stays on the right even without the slide pager */
}
.hero__scroll span { writing-mode: vertical-rl; }
.hero__scroll::after {
    content: ""; width: 1px; height: 56px;
    background: linear-gradient(var(--champagne), var(--champagne)) 0 0 / 1px 40% no-repeat, rgba(255, 255, 255, 0.2);
    animation: scrollCue 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollCue {
    0% { background-position: 0 -40%; }
    100% { background-position: 0 240%; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding-block: clamp(72px, 8vw, 128px); }
.section--dark { color: var(--text-light); }

.section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px;
    flex-wrap: wrap;
    margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head > div:first-child { max-width: 720px; }
.section-head__aside { max-width: 380px; display: grid; gap: 24px; justify-items: start; color: var(--muted); }

/* ---------- About ---------- */
.about { background: var(--ivory); overflow: hidden; }
.about__emblem {
    position: absolute; right: -6vw; top: 6%;
    width: min(56vw, 820px); opacity: 0.045; pointer-events: none;
}
.about__grid {
    position: relative;
    display: grid; grid-template-columns: 7fr 5fr; gap: 48px clamp(48px, 7vw, 120px);
    align-items: end;
}
.about__body { display: grid; gap: 20px; justify-items: start; color: var(--muted); }
.about__body .link-arrow { margin-top: 12px; }

.about__lower {
    position: relative;
    display: grid; grid-template-columns: 7fr 5fr; gap: 48px clamp(48px, 7vw, 120px);
    align-items: start;
    margin-top: clamp(56px, 6vw, 96px);
}
.frame { position: relative; overflow: hidden; background: var(--wine-900); }
.about__image { aspect-ratio: 4 / 3; }

.values { display: grid; }
.values li {
    display: grid; grid-template-columns: 52px 1fr; column-gap: 8px;
    padding-block: 30px; border-top: 1px solid var(--line);
}
.values li:last-child { border-bottom: 1px solid var(--line); }
.values__num { grid-row: span 2; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--wine-500); padding-top: 10px; }
.values h3 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; line-height: 1.2; color: var(--wine); }
.values p { color: var(--muted); }

/* ---------- Practice areas ---------- */
.practice__list { border-top: 1px solid var(--line-light); }
.practice__list li { border-bottom: 1px solid var(--line-light); }
.practice__item {
    position: relative;
    display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.1fr) 56px; gap: 24px; align-items: center;
    padding: 30px 8px;
    isolation: isolate;
}
.practice__item::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, var(--wine), rgba(56, 5, 15, 0.35));
    transform: scaleY(0); transform-origin: bottom;
    transition: transform 0.6s var(--ease-out);
}
.practice__item:hover::before, .practice__item:focus-visible::before { transform: scaleY(1); }
.practice__num { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--champagne); }
.practice__title {
    font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.15;
    color: #fff;
    transition: transform 0.6s var(--ease-out);
}
.practice__item:hover .practice__title { transform: translateX(12px); }
.practice__text { font-size: 15px; color: rgba(255, 255, 255, 0.6); transition: color 0.4s; }
.practice__item:hover .practice__text { color: rgba(255, 255, 255, 0.86); }
.practice__icon {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid var(--line-light); color: #fff;
    transition: background-color 0.4s, border-color 0.4s, color 0.4s, transform 0.6s var(--ease-out);
}
.practice__item:hover .practice__icon { background: #fff; border-color: #fff; color: var(--wine); transform: rotate(-45deg); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--paper); padding-block: clamp(40px, 5vw, 72px) 0; }
.marquee + .people { padding-top: clamp(56px, 6vw, 96px); }
.marquee__track {
    display: flex; align-items: center; gap: clamp(24px, 3vw, 48px);
    width: max-content; white-space: nowrap; will-change: transform;
}
.marquee__word {
    font-family: var(--serif); font-weight: 500; font-style: italic;
    font-size: clamp(2.8rem, 7vw, 6.5rem); line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(56, 5, 15, 0.45);
}
.marquee__word:nth-of-type(4n + 1) { /* word/dot spans alternate, so this hits every other word */ color: var(--wine); -webkit-text-stroke: 0; font-style: normal; }
.marquee__dot { font-family: var(--serif); font-size: clamp(1.4rem, 3.2vw, 2.6rem); color: var(--champagne); }

/* ---------- People ---------- */
.people { background: var(--paper); }
.people__grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.person a { display: block; }
.person__photo {
    position: relative; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 22px;
    background:
        radial-gradient(120% 80% at 30% 0%, rgba(205, 180, 151, 0.22), transparent 60%),
        linear-gradient(160deg, var(--wine-700), var(--wine-950));
    display: grid; place-items: center;
}
.person__photo::after { /* fine line frame */
    content: ""; position: absolute; inset: 14px; border: 1px solid rgba(205, 180, 151, 0.25);
    transition: inset 0.6s var(--ease-out);
}
.person a:hover .person__photo::after { inset: 22px; }
.person__initials {
    font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.6rem); font-style: italic;
    color: var(--champagne); opacity: 0.75;
    transition: transform 0.8s var(--ease-out);
}
.person a:hover .person__initials { transform: scale(1.08); }
.person__photo img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    transition: transform 1.2s var(--ease-out);
}
.person a:hover .person__photo img { transform: scale(1.05); }
.person__photo:has(img)::before { /* darken the bottom on hover so the label reads */
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(28, 3, 7, 0.75), transparent 45%);
    opacity: 0; transition: opacity 0.5s;
}
.person__photo:has(img)::after { z-index: 2; border-color: rgba(255, 255, 255, 0.28); }
.person a:hover .person__photo::before { opacity: 1; }
.person__more {
    position: absolute; left: 28px; bottom: 26px; z-index: 3;
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
    opacity: 0; transform: translateY(10px);
    transition: opacity 0.5s, transform 0.6s var(--ease-out);
}
.person__more .icon-arrow { width: 16px; height: 16px; }
.person a:hover .person__more { opacity: 1; transform: none; }
.person__photo:not(:has(img)) .person__more { display: none; }
.person__name { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.2; color: var(--wine); }
.person__role { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---------- Insights ---------- */
.insights { background: var(--ivory); }
.insights__featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.post-card a { display: block; }
.post-card__image { aspect-ratio: 3 / 2; margin-bottom: 22px; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-card a:hover .post-card__image img { transform: scale(1.06); }
.post-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.tag {
    display: inline-flex; align-items: center; gap: 12px; color: var(--wine-500);
    font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.tag::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.5; }
.post-card time, .insights__list time { font-size: 13px; color: var(--muted); }
.post-card__meta time { display: block; }
.post-card h3 {
    margin-top: 8px;
    font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.22; color: var(--wine);
    background: linear-gradient(currentColor, currentColor) left 95% / 0 1px no-repeat;
    display: inline; transition: background-size 0.7s var(--ease-out);
}
.post-card a:hover h3 { background-size: 100% 1px; }

.insights__list { margin-top: clamp(56px, 6vw, 88px); border-top: 1px solid var(--line); }
.insights__list li { border-bottom: 1px solid var(--line); }
.insights__list a {
    display: grid; grid-template-columns: 130px 150px minmax(0, 1fr) 24px; gap: 24px; align-items: center;
    padding: 26px 4px; color: var(--wine);
}
.insights__type { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wine-500); }
.insights__title { font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; transition: transform 0.6s var(--ease-out); }
.insights__list a:hover .insights__title { transform: translateX(8px); }
.insights__list a:hover .icon-arrow { transform: translateX(6px); }

/* ---------- Newsletter + Careers ---------- */
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.newsletter .display { margin-bottom: 18px; }
.newsletter__form { margin-top: 40px; display: grid; gap: 20px; max-width: 520px; }
.field { display: flex; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.35); transition: border-color 0.3s; }
.field:focus-within { border-color: var(--champagne); }
.field input {
    flex: 1; min-width: 0; padding: 16px 0;
    background: transparent; border: 0; outline: 0;
    font: inherit; font-size: 17px; color: #fff;
}
.field input::placeholder { color: rgba(255, 255, 255, 0.45); }
.field__submit { display: grid; place-items: center; width: 48px; height: 48px; color: #fff; }
.field__submit:hover .icon-arrow { transform: translateX(5px); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); cursor: pointer; }
.checkbox input { margin-top: 4px; accent-color: var(--champagne); flex: none; }
.form-message { font-size: 14px; color: var(--champagne); min-height: 1.6em; }

.careers-card {
    position: relative; display: flex; align-items: flex-end;
    min-height: clamp(440px, 46vw, 600px); overflow: hidden; color: rgba(255, 255, 255, 0.8);
}
.careers-card img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
.careers-card:hover img { scale: 1.05; }
.careers-card::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(18, 2, 4, 0.92) 10%, rgba(56, 5, 15, 0.35) 70%, rgba(56, 5, 15, 0.2));
}
.careers-card__body { position: relative; z-index: 2; padding: clamp(28px, 4vw, 52px); display: grid; gap: 16px; justify-items: start; }
.careers-card .eyebrow { margin-bottom: 6px; }
.careers-card .link-arrow { margin-top: 10px; }
.careers-card:hover .link-arrow .icon-arrow { transform: translateX(6px); }

/* ---------- Contact ---------- */
.contact {
    position: relative; overflow: hidden; color: var(--text-light);
    padding-block: clamp(120px, 16vw, 220px) clamp(80px, 9vw, 130px);
    background: var(--wine-900);
}
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.contact__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(56, 5, 15, 0.88), rgba(18, 2, 4, 0.96));
}
.contact__inner { position: relative; z-index: 1; }
.contact__title {
    font-family: var(--serif); font-weight: 500; font-style: italic;
    font-size: clamp(2.6rem, 5.5vw, 5rem); line-height: 1.05; letter-spacing: -0.01em;
    max-width: 14em; color: #fff; margin-bottom: 24px;
}
.contact__text { max-width: 460px; font-size: 17px; }
.contact__details {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
    margin-top: clamp(64px, 8vw, 110px); padding-top: 36px; border-top: 1px solid var(--line-light);
}
.contact__details .contact__wide { grid-column: span 2; }
.contact__details dt { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--champagne); margin-bottom: 10px; }
.contact__details dd { font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.4; color: #fff; }
.contact__details a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size 0.6s var(--ease-out); }
.contact__details a:hover { background-size: 100% 1px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background-color: var(--wine-950); color: rgba(255, 255, 255, 0.6); font-size: 14px; padding-top: clamp(64px, 8vw, 110px); }
.site-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 64px; }
.site-footer__logo { display: grid; gap: 18px; justify-items: start; align-content: start; }
.site-footer__logo img { width: min(100%, 340px); height: auto; }
.site-footer h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--champagne); margin-bottom: 18px; }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a { transition: color 0.3s; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between;
    padding-block: 28px 36px; border-top: 1px solid var(--line-light); font-size: 13px;
}
.site-footer__disclaimer { flex-basis: 100%; order: 3; color: rgba(255, 255, 255, 0.38); font-size: 12px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__legal a:hover, .site-footer__legal button:hover { color: #fff; }
.site-footer__legal .link-button { text-decoration: none; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed; right: 20px; bottom: 20px; z-index: 60;
    width: min(440px, calc(100vw - 40px));
    padding: 24px; background: var(--paper); color: var(--ink);
    box-shadow: 0 24px 60px rgba(18, 2, 4, 0.28);
    font-size: 14px; line-height: 1.6;
    animation: cookieIn 0.8s var(--ease-out) both;
}
.cookie-banner a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 12px 18px; flex: 1; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px); } }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* ---------- Page hero (reuses the homepage hero layers) ---------- */
.page-hero {
    position: relative;
    height: 78vh; height: 78svh; min-height: 560px; max-height: 860px;
    overflow: hidden;
    background: var(--wine-950);
    color: #fff;
}
.page-hero__content {
    position: relative; z-index: 4;
    height: 100%;
    display: grid; align-content: end;
    padding-bottom: clamp(64px, 11vh, 120px);
    will-change: transform, opacity;
}
.page-hero__title { font-size: clamp(3rem, 6.2vw, 6rem); }
.page-hero .hero__text { margin-bottom: 0; }
/* Transparent wine tint over the whole hero image */
.hero--tint .hero__shade::before, .page-hero--tint .hero__shade::before, .page-hero--practice .hero__shade::before { content: ""; position: absolute; inset: 0; background: rgba(56, 5, 15, 0.45); }

.breadcrumb { margin-bottom: 28px; opacity: 0; transition: opacity 1s 0.4s; }
.hero__caption.is-active .breadcrumb { opacity: 1; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 10px; }
.breadcrumb li {
    display: flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--champagne);
}
.breadcrumb li + li::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.6; }
.breadcrumb a { color: rgba(255, 255, 255, 0.7); transition: color 0.3s; }
.breadcrumb a:hover { color: #fff; }

/* ---------- About: intro ---------- */
.intro { background: var(--ivory); overflow: hidden; }
.intro__grid { position: relative; display: grid; grid-template-columns: 4fr 8fr; gap: 32px clamp(40px, 6vw, 96px); }
.intro__grid > .eyebrow { margin-top: 14px; align-self: start; }
.intro__lead {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.28;
    color: var(--wine);
}
.intro__text { columns: 2; column-gap: clamp(32px, 4vw, 56px); margin-top: clamp(36px, 4vw, 56px); color: var(--muted); }
.intro__text p { break-inside: avoid; margin-bottom: 1.2em; }

.facts {
    position: relative;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
    margin-top: clamp(56px, 6vw, 96px);
}
.facts > div { padding-top: 26px; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wine-500); margin-bottom: 8px; }
.facts dd { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; color: var(--wine); }

/* ---------- About: image band ---------- */
.band { position: relative; height: clamp(380px, 64vh, 680px); overflow: hidden; background: var(--wine-900); }
.band img, .frame img[data-parallax], .next-link > img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.band::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(18, 2, 4, 0.78), rgba(18, 2, 4, 0.05) 60%);
}
/* Transparent wine tint over the whole band image */
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(56, 5, 15, 0.45); pointer-events: none; }
.band figcaption {
    position: absolute; left: 0; right: 0; bottom: clamp(36px, 6vw, 72px); z-index: 1;
    font-family: var(--serif); font-style: italic;
    font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.3;
    color: #fff;
}
.band figcaption::before { content: ""; display: block; width: 40px; height: 1px; margin-bottom: 20px; background: var(--champagne); }

/* ---------- About: approach ---------- */
.approach__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(48px, 7vw, 120px); align-items: start; }
.approach__aside { position: sticky; top: 112px; }
.approach__text { margin-top: 22px; max-width: 460px; }
.approach__list li {
    display: grid; grid-template-columns: 64px 1fr; column-gap: 8px;
    padding-block: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line);
}
.approach__list li:last-child { border-bottom: 1px solid var(--line); }
.approach__num { grid-row: span 2; padding-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--wine-500); }
.approach__list h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.2; color: var(--wine); margin-bottom: 10px; }

/* ---------- About: quote ---------- */
.quote { background: var(--paper); }
.quote__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(48px, 7vw, 120px); align-items: center; }
.quote__image { aspect-ratio: 4 / 5; }
.quote__mark { display: block; height: 0.5em; font-family: var(--serif); font-size: clamp(6rem, 10vw, 9rem); line-height: 1; color: var(--champagne); }
.quote__body blockquote { margin: 0; }
.quote__body blockquote p {
    font-family: var(--serif); font-weight: 500; font-style: italic;
    font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.3;
    color: var(--wine);
}
.quote__body figcaption { display: grid; gap: 4px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.quote__body figcaption strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--wine); }
.quote__body figcaption span { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.quote + .people { background: var(--ivory); }

/* ---------- Practice areas: list (light variant) ---------- */
.areas { background: var(--paper); }
.intro__text--single { columns: 1; max-width: 680px; }

.practice__list--light { border-top-color: var(--line); }
.practice__list--light li { border-bottom-color: var(--line); }
.practice__list--light .practice__num { color: var(--wine-500); }
.practice__list--light .practice__title { color: var(--wine); }
.practice__list--light .practice__text { color: var(--muted); }
.practice__list--light .practice__icon { border-color: var(--line); color: var(--wine); }
.practice__list--light .practice__item:hover .practice__num { color: var(--champagne); }
.practice__list--light .practice__item:hover .practice__title { color: #fff; }
.practice__list--light .practice__item:hover .practice__text { color: rgba(255, 255, 255, 0.8); }
.practice__list--light .practice__item:is(:hover, :focus-visible) .practice__icon { background: #fff; border-color: #fff; color: var(--wine); }
.practice__list--light .practice__item::before { background: linear-gradient(90deg, var(--wine), var(--wine-700)); }

/* Image preview that follows the cursor over practice lists */
.hover-preview {
    position: fixed; left: 0; top: 0; z-index: 30;
    width: clamp(220px, 20vw, 320px); aspect-ratio: 4 / 3;
    overflow: hidden; pointer-events: none;
    opacity: 0; scale: 0.85;
    transition: opacity 0.4s, scale 0.6s var(--ease-out);
    box-shadow: 0 24px 60px rgba(18, 2, 4, 0.35);
}
.hover-preview.is-visible { opacity: 1; scale: 1; }
.hover-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s; }

/* ---------- Practice area: detail ---------- */
.area-detail { background: var(--paper); }
.area-detail__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px clamp(48px, 7vw, 120px); align-items: start; }
.area-detail__text { display: grid; gap: 1.2em; max-width: 720px; margin-top: clamp(28px, 3vw, 40px); color: var(--muted); }
.area-detail__heading {
    margin: clamp(56px, 6vw, 88px) 0 24px;
    font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.15;
    color: var(--wine);
}
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.services li { display: flex; gap: 18px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--ink); }
.services__num { flex: none; padding-top: 3px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--wine-500); }

.area-detail__aside { position: sticky; top: 112px; }
.aside-block + .aside-block { margin-top: 48px; }
.aside-block__title {
    margin-bottom: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
    font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wine-500);
}
.contact-card { display: flex; align-items: center; gap: 16px; padding-block: 14px; }
.contact-card__photo {
    flex: none; display: grid; place-items: center; width: 64px; height: 64px;
    background: linear-gradient(160deg, var(--wine-700), var(--wine-950));
    font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--champagne);
}
.contact-card__photo { overflow: hidden; }
.contact-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.contact-card strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.2; color: var(--wine); }
.contact-card small { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-card:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.aside-links a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding-block: 13px; border-bottom: 1px solid var(--line);
    font-family: var(--serif); font-size: 1.2rem; color: var(--wine);
    transition: padding 0.5s var(--ease-out);
}
.aside-links .icon-arrow { width: 16px; height: 16px; opacity: 0.5; }
.aside-links a:hover { padding-left: 8px; }
.aside-links a:hover .icon-arrow { opacity: 1; transform: translateX(4px); }

/* ---------- Next item link ---------- */
.next-link {
    position: relative; display: block; overflow: hidden;
    height: clamp(300px, 44vh, 440px);
    background: var(--wine-900); color: #fff;
}
.next-link::after {
    content: ""; position: absolute; inset: 0;
    background: rgba(28, 3, 7, 0.8);
    transition: background-color 0.6s;
}
.next-link:hover::after { background: rgba(28, 3, 7, 0.62); }
.next-link__inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.next-link__title {
    display: inline-flex; align-items: center; gap: 0.4em;
    font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5.4vw, 4.8rem); line-height: 1.05;
}
.next-link__title .icon-arrow { width: 0.6em; height: 0.6em; }
.next-link:hover .next-link__title .icon-arrow { transform: translateX(14px); }

.next-link--plain { height: clamp(220px, 32vh, 320px); }
.next-link--plain::after { display: none; }
.next-link__thumb {
    width: 0.95em; height: 0.95em; border-radius: 50%;
    object-fit: cover; object-position: center top;
    border: 1px solid rgba(205, 180, 151, 0.4);
}

/* ---------- Call-to-action band ---------- */
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.cta-band__text { margin-top: 16px; max-width: 520px; }

/* ---------- Person profile ---------- */
.profile-hero {
    color: var(--text-light);
    padding-block: calc(var(--header-h) + clamp(40px, 6vw, 88px)) clamp(64px, 8vw, 112px);
}
.profile-hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px clamp(48px, 7vw, 120px); align-items: stretch; }
.profile-hero__text { display: flex; flex-direction: column; }
.profile-hero__main { margin-block: auto; }
.profile-hero__photo { align-self: start; }
.breadcrumb--static { opacity: 1; }
.profile-hero__name {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(3.2rem, 7vw, 6.4rem); line-height: 0.95; letter-spacing: -0.02em;
    color: #fff;
}
.profile-hero__role {
    margin-top: 18px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--champagne);
}
.profile-hero__cta { margin-top: clamp(36px, 4vw, 56px); }
.profile-hero__facts {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px;
    max-width: 560px; margin: clamp(36px, 4vw, 56px) 0 clamp(32px, 4vw, 48px);
    padding-top: 24px; border-top: 1px solid var(--line-light);
}
.profile-hero__facts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--champagne); margin-bottom: 6px; }
.profile-hero__facts dd { font-family: var(--serif); font-size: 1.4rem; line-height: 1.3; color: #fff; }
.profile-hero__photo {
    position: relative; aspect-ratio: 4 / 5; overflow: hidden;
    display: grid; place-items: center;
    background: linear-gradient(160deg, var(--wine-700), var(--wine-950));
}
.profile-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.credentials {
    display: grid; grid-template-columns: 1fr; gap: 40px;
    margin-top: clamp(48px, 5vw, 72px);
}
.credentials > div { padding-top: 20px; border-top: 1px solid var(--line); }
.credentials dt { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wine-500); margin-bottom: 10px; }
.credentials dd { position: relative; padding-left: 18px; color: var(--ink); font-size: 15px; line-height: 1.55; }
.credentials dd::before {
    content: ""; position: absolute; left: 0; top: 0.72em;
    width: 6px; height: 6px; background: var(--wine-500); transform: rotate(45deg);
}
.credentials dd + dd { margin-top: 12px; }

/* ---------- Insights: list ---------- */
.insights--page { background: var(--paper); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(40px, 5vw, 64px); }
.filter a {
    padding: 10px 20px; border: 1px solid var(--line);
    font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wine);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.filter a:hover { border-color: var(--wine); }
.filter a[aria-current] { background: var(--wine); border-color: var(--wine); color: #fff; }
.filter__empty { color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(48px, 6vw, 80px); }
.pagination a {
    display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 12px; border: 1px solid var(--line);
    font-size: 14px; font-weight: 600; color: var(--wine); transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.pagination a:hover { border-color: var(--wine); }
.pagination a[aria-current] { background: var(--wine); border-color: var(--wine); color: #fff; }

.post-card--featured { margin-bottom: clamp(56px, 6vw, 88px); }
.post-card--featured a { display: grid; grid-template-columns: 7fr 5fr; gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.post-card--featured .post-card__image { aspect-ratio: 16 / 10; margin-bottom: 0; }
.post-card--featured h3 { display: block; background: none; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.15; margin-top: 12px; }
.post-card__summary { margin: 18px 0 28px; color: var(--muted); }
.post-card--featured:hover .link-arrow .icon-arrow { transform: translateX(6px); }
.insights__grid { row-gap: clamp(40px, 5vw, 64px); }

/* ---------- Insights: article ---------- */
.page-hero--article .page-hero__title { font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1.05; }
.page-hero--practice .page-hero__title { font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1.08; }
.page-hero--article .hero__caption { max-width: 980px; }

.article { background: var(--paper); }
.article__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 48px clamp(48px, 7vw, 120px); align-items: start; }
.article__meta { position: sticky; top: 112px; display: grid; gap: 28px; }
.article__facts { display: grid; gap: 4px; }
.article__facts div:first-child dd { font-family: var(--serif); font-size: 1.5rem; color: var(--wine); }
.article__facts dd { font-size: 14px; color: var(--muted); }
.article__meta .contact-card { padding-block: 18px; border-block: 1px solid var(--line); }
.article__meta .contact-card + .contact-card { border-top: 0; }
.share__title { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wine-500); }
.share ul, .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.share a, .share button, .tags a {
    display: inline-block; padding: 8px 14px;
    border: 1px solid var(--line); font-size: 13px; color: var(--wine);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.share a:hover, .share button:hover, .tags a:hover { background: var(--wine); border-color: var(--wine); color: #fff; }
.tags a { background: var(--ivory); border-color: transparent; }

.prose { max-width: 740px; font-size: 17px; line-height: 1.8; color: var(--ink); }
.prose > * + * { margin-top: 1.2em; }
.prose__lead {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.35; color: var(--wine);
}
.prose > .prose__lead + * { margin-top: 1.8em; }
.prose h2 {
    margin-top: 2em;
    font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.2;
    color: var(--wine);
}
.prose h2 + * { margin-top: 0.6em; }
.prose ul:not(.tags) { display: grid; gap: 0.5em; }
.prose ul:not(.tags) li { position: relative; padding-left: 28px; }
.prose ul:not(.tags) li::before { content: ""; position: absolute; left: 0; top: 0.9em; width: 14px; height: 1px; background: var(--wine-500); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--champagne); }
.prose blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.4; color: var(--wine); }
.prose__tags { margin-top: 3em !important; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- Forms ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { margin-top: clamp(28px, 3vw, 40px); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label {
    display: block; margin-bottom: 8px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wine);
}
.form-field__optional { margin-left: 6px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 14px 16px;
    font: inherit; font-size: 16px; color: var(--ink);
    background: #fff; border: 1px solid var(--line); border-radius: 0;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-field textarea { resize: vertical; min-height: 150px; }
.form-field select {
    appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2338050f' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(56, 5, 15, 0.08);
}
.form-field input[type="file"] { padding: 10px; cursor: pointer; }
.form-field input[type="file"]::file-selector-button {
    margin-right: 14px; padding: 9px 16px; border: 0; cursor: pointer;
    background: var(--wine); color: #fff;
    font: 600 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
}
.has-error input, .has-error select, .has-error textarea { border-color: #b3261e; }
.form-field__error { margin-top: 6px; font-size: 13px; color: #b3261e; }
.form-alert {
    margin-bottom: 24px; padding: 14px 18px;
    background: #fbeceb; border-left: 3px solid #b3261e; color: #7a1a12; font-size: 14px;
}
.form-notice { margin-top: 18px; max-width: 560px; color: var(--muted); }
.contact-page .form-notice { padding-left: 16px; border-left: 2px solid var(--champagne); font-size: 14px; }
.checkbox--dark { margin-top: 24px; color: var(--muted); }
.checkbox--dark a, .newsletter__form .checkbox a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.checkbox--dark.has-error { color: #b3261e; }
.form__submit { margin-top: 28px; }
.form__submit[disabled] { opacity: 0.6; cursor: progress; }
.form-success {
    display: grid; gap: 14px; align-content: start;
    padding: clamp(32px, 4vw, 56px); background: var(--ivory); border-left: 3px solid var(--wine);
}
.form-success .eyebrow { margin-bottom: 0; }

/* ---------- Contact page ---------- */
.contact-page { background: var(--paper); }
.contact-page__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px clamp(48px, 7vw, 120px); align-items: start; }
.contact-list { margin-top: clamp(28px, 3vw, 40px); }
.contact-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { padding-top: 5px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wine-500); }
.contact-list dd { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; color: var(--wine); }
.contact-list a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size 0.5s var(--ease-out); }
.contact-list a:hover { background-size: 100% 1px; }

.map { position: relative; aspect-ratio: 4 / 3; margin-top: 40px; overflow: hidden; background-color: var(--wine-900); }
.map:not(.is-loaded) {
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px),
        linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 26px 26px, calc(100% / 6) 100%;
}
.map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; }
.map__placeholder p { max-width: 300px; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.3); }

/* ---------- Careers ---------- */
.offer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.offer li { padding-top: 26px; border-top: 1px solid var(--line-light); }
.offer h3 { margin: 14px 0 10px; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; line-height: 1.2; color: #fff; }

.apply { background: var(--ivory); }
.apply__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(48px, 7vw, 120px); align-items: start; }
.apply .form { margin-top: 0; }
.apply .form-field input, .apply .form-field select, .apply .form-field textarea { background-color: var(--paper); }

/* ---------- Legal pages ---------- */
.legal-hero {
    color: var(--text-light);
    padding-block: calc(var(--header-h) + clamp(40px, 6vw, 80px)) clamp(56px, 7vw, 96px);
}
.legal-hero__title {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1; letter-spacing: -0.02em; color: #fff;
}
.legal-hero__summary { max-width: 640px; margin-top: 22px; font-size: 17px; }
.legal-hero__date { margin-top: 28px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne); }

.legal { background: var(--paper); }
.legal__toc { position: sticky; top: 112px; }
.legal__toc li a {
    display: flex; gap: 12px; padding-block: 9px; border-bottom: 1px solid var(--line);
    font-size: 14px; line-height: 1.4; color: var(--muted); transition: color 0.3s, padding 0.4s var(--ease-out);
}
.legal__toc li a span { flex: none; padding-top: 2px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--wine-500); }
.legal__toc li a:hover { color: var(--wine); padding-left: 6px; }
.legal__body > .legal__section + .legal__section { margin-top: 2.8em; }
.legal__section { scroll-margin-top: 110px; }
.legal__section > * + * { margin-top: 1em; }
.legal__section > h2 { margin-top: 0; }
.legal__num { margin-right: 14px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; vertical-align: 0.35em; color: var(--wine-500); }
.legal__contact { margin-top: 3em !important; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.prose a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.table-wrap { overflow-x: auto; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.prose th, .prose td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wine-500); }
.prose td:first-child { font-family: ui-monospace, Consolas, monospace; font-size: 14px; color: var(--wine); white-space: nowrap; }

/* ---------- 404 ---------- */
.not-found {
    min-height: 100vh; min-height: 100svh;
    display: grid; place-items: center; text-align: center;
    padding-block: calc(var(--header-h) + 40px) 80px;
    color: var(--text-light);
}
.not-found__inner { display: grid; justify-items: center; gap: 24px; }
.not-found__code {
    font-family: var(--serif); font-style: italic; font-weight: 500;
    font-size: clamp(8rem, 24vw, 16rem); line-height: 0.9;
    color: transparent; -webkit-text-stroke: 1px var(--champagne);
}
.not-found .display { color: #fff; }
.not-found__text { max-width: 460px; margin-bottom: 12px; }

/* ==========================================================================
   Scroll reveal (only when JS is running)
   ========================================================================== */
.js [data-reveal]:not([data-reveal="stagger"]):not([data-reveal="mask"]) {
    opacity: 0; transform: translateY(40px);
    transition: opacity 1s, transform 1.2s var(--ease-out);
}
.js [data-reveal="stagger"] > * {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.9s calc(var(--i, 0) * 0.09s), transform 1.1s var(--ease-out) calc(var(--i, 0) * 0.09s);
}
.js [data-reveal="mask"] { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.js [data-reveal]:not([data-reveal="stagger"]):not([data-reveal="mask"]).is-in,
.js [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    :root { --header-h: 84px; }
    .site-nav--left, .site-nav__link, .site-nav--right > .lang-switch { display: none; }
    .menu-toggle { display: block; }
    .site-logo img { height: 42px; }

    .practice__item { grid-template-columns: 56px minmax(0, 1fr) 52px; }
    .practice__text { grid-column: 2; grid-row: 2; }
    .practice__icon { grid-column: 3; grid-row: 1 / span 2; }

    .people__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__top { grid-template-columns: 1fr 1fr; }
    .site-footer__logo { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .about__grid, .about__lower, .split__grid { grid-template-columns: 1fr; }
    .insights__featured { grid-template-columns: 1fr; }
    .insights__list a { grid-template-columns: 1fr 24px; gap: 6px 16px; }
    .insights__list time { grid-row: 1; }
    .insights__type { grid-row: 2; }
    .insights__title { grid-row: 3; }
    .insights__list .icon-arrow { grid-column: 2; grid-row: 1 / span 3; }
    .contact__details { grid-template-columns: 1fr; }
    .contact__details .contact__wide { grid-column: auto; }
    .hero__scroll { display: none; }

    .intro__grid, .approach__grid, .quote__grid { grid-template-columns: 1fr; }
    .intro__text { columns: 1; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .approach__aside { position: static; }
    .quote__image { aspect-ratio: 4 / 3; }
    .area-detail__grid { grid-template-columns: 1fr; }
    .area-detail__aside { position: static; }
    .profile-hero__grid { grid-template-columns: 1fr; }
    .profile-hero__photo { order: -1; max-width: 420px; }
    .post-card--featured a, .article__grid, .contact-page__grid, .apply__grid { grid-template-columns: 1fr; }
    .article__meta, .legal__toc { position: static; }
    .article__meta { order: 1; }
}

@media (max-width: 560px) {
    .hero__shade { background: linear-gradient(to top, rgba(18, 2, 4, 0.9) 10%, rgba(28, 3, 7, 0.4) 70%, rgba(28, 3, 7, 0.3)); }
    .practice__item { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 12px; padding-block: 24px; }
    .practice__icon { display: none; }
    .people__grid { gap: 16px; }
    .person__name { font-size: 1.3rem; }
    .services, .credentials, .offer, .form__grid { grid-template-columns: 1fr; }
    .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
    .site-footer__top { grid-template-columns: 1fr; }
}

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

/* ---------- Post slider (home) ---------- */
.insights { position: relative; overflow: hidden; }
.post-slider { position: relative; }
.post-slider__track {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * clamp(24px, 3vw, 44px)) / 3);
    gap: clamp(24px, 3vw, 44px);
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.post-slider__track::-webkit-scrollbar { display: none; }
.post-slider__track .post-card { scroll-snap-align: start; }
.post-slider__nav {
    position: absolute; top: 0; z-index: 2;
    width: 44px; height: 44px; margin-top: calc(var(--slider-img-h, 200px) / 2 - 22px);
    display: grid; place-items: center; border-radius: 50%;
    background: var(--wine); color: var(--paper); cursor: pointer;
    transition: opacity 0.3s;
}
.post-slider__nav .icon-arrow { width: 18px; height: 18px; }
.post-slider__nav--prev { left: -22px; }
.post-slider__nav--prev .icon-arrow { transform: scaleX(-1); }
.post-slider__nav--next { right: -22px; }
.post-slider__nav[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 1100px) { .post-slider__track { grid-auto-columns: calc((100% - clamp(24px, 3vw, 44px)) / 2); } }
@media (max-width: 860px) {
    .post-slider__track { grid-auto-columns: 85%; }
    .post-slider__nav { display: none; }
}
.post-slider__track.is-gliding { scroll-snap-type: none; }
.js .post-slider__track .post-card {
    opacity: 0.3; transform: scale(0.94) translateY(8px);
    transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
}
.js .post-slider__track .post-card.is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .post-slider__track .post-card { transition-duration: 0.9s !important; }
}

/* Transaction announcements: plain corporate wine hero instead of the post image */
.page-hero--deal { background: var(--wine); height: auto; min-height: 0; max-height: none; }
.page-hero--deal .page-hero__content { padding-top: clamp(140px, 18vh, 200px); padding-bottom: clamp(56px, 8vh, 96px); }
.page-hero--deal .hero__parallax, .page-hero--deal .hero__shade { display: none; }
