/*
Theme Name: Kancelaria Lachtara
Theme URI: https://adwokatlachtara.pl/
Author: CreateWebsite
Author URI: https://createwebsite.pl/
Description: Autorski, responsywny motyw dla Kancelarii Adwokackiej Adwokat Magdaleny Lachtary w Lublinie. Zawiera stronę główną, podstrony usługowe, blog, formularz kontaktowy i optymalizację lokalnego SEO.
Version: 1.0.7
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: kancelaria-lachtara
*/

:root {
  --ink: #111317;
  --ink-soft: #1a1d22;
  --paper: #f4f1eb;
  --paper-light: #fbfaf7;
  --gold: #cda65a;
  --gold-light: #e1c88f;
  --muted: #77736c;
  --line: rgba(17, 19, 23, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --portrait-shape: 40% 5% 40% 5% / 18% 5% 18% 5%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--font-geist), Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 99999; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 12px 18px; background: white; color: black; }
.admin-bar .site-header { top: 32px; }
.page-shell { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.section-space { padding-block: 120px; }

.site-header { position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; color: white; background: rgba(8,9,11,.94); box-shadow: 0 10px 32px rgba(0,0,0,.18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.topbar { border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); }
.topbar .page-shell { display: flex; justify-content: space-between; align-items: center; min-height: 24px; color: #7f8389; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.nav-wrap { height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { display: block; width: 225px; margin-block: -26px; }
.brand img { width: 100%; height: auto; }
.brand .custom-logo-link { display: block; }
.desktop-nav { display: flex; align-items: center; gap: 29px; font-size: 12px; letter-spacing: .04em; }
.desktop-nav .menu { display: flex; align-items: center; gap: 29px; margin: 0; padding: 0; list-style: none; }
.desktop-nav > a:not(.nav-phone) { color: #ddd; transition: color .2s ease; }
.desktop-nav .menu a { color: #ddd; transition: color .2s ease; }
.desktop-nav .menu a:hover { color: var(--gold-light); }
.desktop-nav > a:not(.nav-phone):hover { color: var(--gold-light); }
.nav-phone { border: 1px solid rgba(255,255,255,.25); padding: 10px 15px; color: var(--gold-light); }
.menu-toggle, .mobile-menu, .mobile-header-phone { display: none; }

.hero { position: relative; min-height: 900px; display: grid; grid-template-columns: minmax(0, 54%) minmax(0, 46%); background: #08090b; color: white; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 580px; height: 580px; left: -240px; top: 180px; border: 1px solid rgba(205,166,90,.17); border-radius: 50%; }
.hero-copy { position: relative; z-index: 3; width: min(650px, calc(100% - 80px)); margin: 0 5vw 0 auto; padding: 190px 0 90px; align-self: center; }
.eyebrow { margin: 0 0 24px; color: var(--gold-light); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .22em; }
.eyebrow.dark { color: #9b7337; }
.hero h1 { margin: 0; max-width: 720px; font-family: var(--serif); font-size: clamp(72px, 7vw, 112px); line-height: .8; font-weight: 400; letter-spacing: -.06em; }
.hero h1 > span { display: block; margin: 24px 0 0 72px; color: #dedbd5; font-size: .52em; line-height: .94; font-style: italic; letter-spacing: -.045em; }
.hero-lead { max-width: 525px; margin: 44px 0 0 76px; color: #9b9da1; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin: 38px 0 0 76px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 54px; padding: 0 24px; font-size: 13px; font-weight: 650; transition: transform .2s ease, background .2s ease; }
.button::after { content: ""; display: block; width: 24px; height: 1px; background: currentColor; opacity: .62; transition: width .2s ease; }
.button:hover::after { width: 32px; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: #111; }
.button-gold:hover { background: var(--gold-light); }
.button-dark { background: var(--ink); color: white; }
.text-link { display: inline-flex; align-items: center; gap: 20px; padding-block: 10px; border-bottom: 1px solid rgba(255,255,255,.28); color: #e4e4e4; font-size: 13px; }
.text-link::after { content: ""; display: block; width: 18px; height: 1px; background: var(--gold-light); opacity: .72; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 60px 0 0 76px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #777b81; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.hero-portrait { position: relative; min-height: 900px; overflow: hidden; background: #08090b; }
.hero-portrait::before { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, #08090b 0%, rgba(8,9,11,.68) 14%, transparent 45%), linear-gradient(0deg, rgba(8,9,11,.65), transparent 36%); }
.hero-portrait::after { content: ""; position: absolute; z-index: 2; inset: 20% 12% 10% 14%; border: 1px solid rgba(205,166,90,.2); border-top: 0; pointer-events: none; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(.84) contrast(1.05); }
.portrait-caption { position: absolute; z-index: 3; right: 72px; bottom: 58px; text-align: right; }
.portrait-caption span { display: block; font-family: var(--serif); font-size: 24px; }
.portrait-caption small { color: var(--gold-light); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.hero-monogram { position: absolute; z-index: 1; left: 43%; top: 45%; color: transparent; -webkit-text-stroke: 1px rgba(205,166,90,.14); font-family: var(--serif); font-size: min(32vw, 470px); line-height: .7; letter-spacing: -.12em; transform: translate(-50%, -50%); pointer-events: none; }
.hero-rail { position: absolute; z-index: 4; right: 20px; top: 50%; color: rgba(255,255,255,.38); font-size: 8px; letter-spacing: .28em; transform: translate(50%, -50%) rotate(90deg); white-space: nowrap; }
.specialty-ticker { overflow: hidden; background: var(--gold); color: #111; border-block: 1px solid #111; }
.specialty-ticker div { width: max-content; min-width: 100%; padding: 17px 32px; text-align: center; font-family: var(--serif); font-size: 14px; letter-spacing: .16em; white-space: nowrap; }
.specialty-ticker span { display: inline-block; width: 3px; height: 3px; margin-inline: 32px; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: .65; }

.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12vw; align-items: start; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 4.3vw, 66px); line-height: 1.06; font-weight: 400; letter-spacing: -.035em; }
h1, h2, h3, p, li, blockquote { text-wrap: pretty; }
.intro-copy { max-width: 600px; }
.intro-copy p, .featured-copy > p, .about-copy > p, .seo-grid p { color: #5e5d5a; font-size: 15px; line-height: 1.8; }
.large-copy { color: #292a2b !important; font-family: var(--serif); font-size: 23px !important; line-height: 1.5 !important; }
.arrow-link { display: inline-flex; align-items: center; gap: 38px; margin-top: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 650; }
.arrow-link::after { content: ""; display: block; width: 34px; height: 1px; background: currentColor; transition: width .2s ease; }
.arrow-link:hover::after { width: 46px; }

.services { background: var(--ink-soft); color: white; }
.section-heading { display: grid; grid-template-columns: 1.5fr .5fr; gap: 80px; align-items: end; margin-bottom: 64px; }
.section-heading > p { max-width: 380px; margin: 0 0 6px; color: #979ba1; font-size: 14px; line-height: 1.7; }
.service-grid { display: block; border-top: 1px solid rgba(255,255,255,.16); }
.service-card { position: relative; display: grid; grid-template-columns: 90px 1.2fr 1fr 150px; gap: 36px; align-items: center; min-height: 196px; padding: 28px 12px; border-bottom: 1px solid rgba(255,255,255,.16); overflow: hidden; transition: background .25s ease, padding .25s ease; }
.service-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(205,166,90,.12), transparent 52%); opacity: 0; transition: opacity .25s ease; }
.service-card:hover { padding-inline: 26px; }
.service-card:hover::before { opacity: 1; }
.service-no { position: relative; color: var(--gold); font-family: var(--serif); font-size: 18px; }
.service-card h3 { position: relative; margin: 0; font-family: var(--serif); font-size: clamp(38px, 4.2vw, 64px); font-weight: 400; letter-spacing: -.045em; }
.service-card p { position: relative; margin: 0; color: #9da0a5; font-size: 13px; line-height: 1.7; }
.service-more { position: relative; display: flex; align-items: center; gap: 18px; color: #e4e4e4; font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.service-more::after { content: ""; width: 24px; height: 1px; background: var(--gold); opacity: .8; }

.featured-service { background: var(--paper); }
.featured-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; align-items: center; }
.featured-image { height: 760px; overflow: hidden; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.featured-copy { max-width: 610px; }
.featured-copy h2 { margin-bottom: 30px; }
.check-list { list-style: none; margin: 34px 0 36px; padding: 0; border-top: 1px solid var(--line); }
.check-list li { position: relative; padding: 15px 0 15px 28px; border-bottom: 1px solid var(--line); color: #41413f; font-size: 13px; }
.check-list li::before { content: "·"; position: absolute; left: 6px; color: #9b7337; font-size: 22px; line-height: 15px; }

.process { background: #101216; color: white; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.16); }
.process-list li { min-height: 265px; padding: 28px 30px; border-right: 1px solid rgba(255,255,255,.16); }
.process-list li:first-child { border-left: 1px solid rgba(255,255,255,.16); }
.process-list span { color: var(--gold); font-family: var(--serif); }
.process-list h3 { margin: 70px 0 12px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.process-list p { margin: 0; color: #8f9399; font-size: 12px; line-height: 1.7; }

.about { display: grid; grid-template-columns: 1.05fr .75fr; gap: 10vw; align-items: center; }
.about-copy { max-width: 650px; }
.about-copy h2 { margin-bottom: 30px; }
.about-copy blockquote { margin: 36px 0 0; padding: 26px 0 0 36px; border-top: 1px solid var(--line); border-left: 2px solid var(--gold); color: #353536; font-family: var(--serif); font-size: 22px; line-height: 1.45; font-style: italic; }
.about-image { height: 700px; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

.knowledge { background: var(--paper); }
.dark-heading > p { color: #646462; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 70px 1fr 30px; align-items: center; gap: 20px; padding: 26px 4px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 21px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #9b7337; font-family: var(--font-geist); font-size: 11px; }
.faq-list summary b { position: relative; display: block; width: 15px; height: 15px; transition: transform .2s ease; }
.faq-list summary b::before, .faq-list summary b::after { content: ""; position: absolute; left: 1px; top: 7px; width: 13px; height: 1px; background: #9b7337; }
.faq-list summary b::after { transform: rotate(90deg); }
.faq-list details[open] summary b { transform: rotate(45deg); }
.faq-list details p { max-width: 790px; margin: -4px 0 28px 90px; color: #5f605f; font-size: 14px; line-height: 1.75; }
.legal-note { margin: 28px 0 0; color: #8a8985; font-size: 11px; }

.seo-section { border-bottom: 1px solid var(--line); }
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.seo-grid h2 { font-size: clamp(38px, 3.5vw, 55px); }
.seo-grid p:first-child { margin-top: 0; }

.contact-band { background: #191b20; color: white; padding-block: 110px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10vw; align-items: center; }
.contact-grid h2 { max-width: 650px; }
.contact-grid > div > p:not(.eyebrow) { max-width: 560px; margin: 24px 0 34px; color: #aaaeb3; line-height: 1.7; }
.contact-grid address { font-style: normal; border-top: 1px solid rgba(255,255,255,.15); }
.contact-grid address div { display: grid; grid-template-columns: 120px 1fr; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-grid address span { color: #777d85; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.contact-grid address strong, .contact-grid address a { color: #e3e3e3; font-size: 13px; line-height: 1.7; font-weight: 450; }
.contact-copy address { display: flex; flex-direction: column; gap: 8px; margin-top: 30px; font-style: normal; }
.contact-form-wrap { padding: 38px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.035); }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: #aeb1b6; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.contact-form input:not([type="checkbox"]), .contact-form textarea, .contact-form select { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.2); border-radius: 0; background: transparent; color: white; padding: 10px 2px 12px; outline: none; }
.contact-form select option { color: #111; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--gold); }
.contact-form textarea { resize: vertical; }
.contact-form .consent { display: flex; grid-template-columns: 18px 1fr; align-items: flex-start; gap: 10px; text-transform: none; letter-spacing: 0; line-height: 1.5; }
.consent input { margin-top: 2px; accent-color: var(--gold); }
.consent a { color: var(--gold-light); border-bottom: 1px solid rgba(225,200,143,.46); }
.consent a:hover { color: white; border-bottom-color: currentColor; }
.hp-field { position: absolute !important; left: -9999px !important; }
.form-notice { margin-bottom: 22px; padding: 14px 16px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.06); color: white; font-size: 13px; line-height: 1.5; }
.form-notice.error { border-color: #c56b61; }

.site-footer { background: #0b0c0f; color: #96999e; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 80px; }
.footer-brand img { width: 350px; }
.footer-brand .custom-logo-link { display: block; width: 350px; }
.footer-brand p { max-width: 350px; margin-top: 26px; font-size: 13px; line-height: 1.7; }
.footer-grid h3 { margin: 0 0 20px; color: var(--gold-light); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }
.site-footer .footer-grid h2,
.site-footer .footer-grid h3 { font-family: var(--font-geist), Arial, sans-serif; font-size: 10px; line-height: 1.3; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) a, .footer-grid > div:not(.footer-brand) p { display: block; margin: 0 0 10px; font-size: 12px; line-height: 1.55; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.footer-legal-links { display: flex; justify-content: center; gap: 18px; }
.footer-legal-links a, .footer-legal-links button { padding: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.2); background: transparent; color: #aeb0b4; font: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
.footer-legal-links a:hover, .footer-legal-links button:hover { color: var(--gold-light); border-bottom-color: currentColor; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: fadeUp .75s both ease-out; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }

@media (max-width: 1020px) {
  .page-shell { width: min(100% - 40px, 900px); }
  .nav-wrap { height: 84px; }
  .brand { width: 200px; margin-block: -23px; }
  .desktop-nav { display: none; }
  .mobile-header-phone { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-left: auto; padding: 9px 13px; border: 1px solid rgba(205,166,90,.55); color: var(--gold-light); font-family: var(--serif); font-size: 13px; line-height: 1; white-space: nowrap; }
  .mobile-header-phone span { color: #8d9197; font-family: Arial, sans-serif; font-size: 7px; letter-spacing: .16em; text-transform: uppercase; }
  .menu-toggle { display: flex; flex-direction: column; gap: 7px; padding: 12px 0 12px 12px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 28px; height: 1px; background: white; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { position: absolute; top: 108px; left: 0; right: 0; padding: 20px; background: #111317; border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 30px rgba(0,0,0,.25); }
  .mobile-menu:not([hidden]) { display: block; }
  .mobile-menu ul { margin: 0; padding: 0; list-style: none; }
  .mobile-menu a { display: block; padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.1); color: white; font-size: 14px; }
  .mobile-phone { color: var(--gold-light) !important; }
  .hero { grid-template-columns: 1fr 45%; min-height: 780px; }
  .hero-copy { width: calc(100% - 40px); margin-inline: auto; padding: 155px 25px 70px 0; }
  .hero-portrait { min-height: 780px; }
  .hero-lead, .hero-actions, .hero-proof { margin-left: 28px; }
  .portrait-caption { right: 22px; bottom: 28px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { gap: 6vw; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .about { gap: 7vw; }
  .footer-grid { gap: 40px; }
}

@media (max-width: 700px) {
  .page-shell { width: calc(100% - 34px); }
  .section-space { padding-block: 78px; }
  .site-header { position: fixed; background: rgba(8,9,11,.96); box-shadow: 0 12px 35px rgba(0,0,0,.24); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  body.menu-open { overflow: hidden; }
  .topbar { display: none; }
  .nav-wrap { height: 72px; gap: 10px; }
  .brand { width: min(39vw, 150px); margin-block: -18px; }
  .mobile-header-phone { padding: 7px 9px; font-size: 10px; }
  .menu-toggle { padding-left: 4px; }
  .hero { display: flex; min-height: auto; padding-top: 72px; flex-direction: column; }
  .hero-copy { order: 2; width: calc(100% - 34px); padding: 72px 0 70px; }
  .hero-portrait { order: 1; min-height: 560px; height: 66vh; }
  .hero-portrait img { object-position: 50% 18%; }
  .hero h1 { font-size: clamp(45px, 13vw, 62px); }
  .hero h1 > span { margin: 16px 0 0 24px; font-size: .64em; line-height: 1; }
  .hero-lead { font-size: 15px; }
  .hero-lead, .hero-actions, .hero-proof { margin-left: 24px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-proof { gap: 10px 16px; }
  .portrait-caption { left: 20px; right: auto; text-align: left; }
  .hero-monogram { left: 45%; top: 42%; font-size: 70vw; }
  .hero-rail { display: none; }
  .specialty-ticker div { padding-block: 13px; font-size: 11px; }
  .specialty-ticker span { margin-inline: 15px; }
  .intro, .section-heading, .featured-grid, .about, .seo-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .intro { gap: 44px; }
  .section-heading { gap: 26px; margin-bottom: 44px; }
  .service-card { grid-template-columns: 38px 1fr; gap: 16px 12px; min-height: auto; padding: 28px 4px; }
  .service-card:hover { padding-inline: 4px; }
  .service-card h3 { font-size: 38px; }
  .service-card p, .service-more { grid-column: 2; }
  .featured-grid { gap: 52px; }
  .featured-image { height: 560px; }
  .featured-copy h2 { font-size: 43px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 220px; border-left: 1px solid rgba(255,255,255,.16); }
  .process-list h3 { margin-top: 45px; }
  .about { gap: 58px; }
  .about-copy { order: 2; }
  .about-image { order: 1; height: 540px; }
  .faq-list summary { grid-template-columns: 36px 1fr 20px; gap: 8px; font-size: 18px; }
  .faq-list details p { margin-left: 44px; }
  .contact-band { padding-block: 80px; }
  .contact-grid { gap: 60px; }
  .contact-form-wrap { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid address div { grid-template-columns: 90px 1fr; }
  .footer-grid { gap: 38px; }
  .footer-bottom { flex-direction: column; }
}

/* Inner pages and editorial content */
.inner-page { background: var(--paper-light); }
.inner-hero { padding-top: 122px; background: #0b0c0e; color: white; overflow: hidden; }
.inner-hero-grid { display: grid; grid-template-columns: 1.15fr .65fr; min-height: 620px; align-items: center; gap: 8vw; }
.inner-hero h1, .blog-hero h1, .article-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(58px, 7vw, 104px); line-height: .92; font-weight: 400; letter-spacing: -.055em; }
.inner-hero p:not(.eyebrow), .blog-hero p:not(.eyebrow) { max-width: 580px; color: #a6a9ad; line-height: 1.75; }
.inner-hero img { align-self: end; width: 100%; height: 560px; object-fit: cover; object-position: 50% 20%; filter: saturate(.75); }
.page-content { max-width: 1000px; }
.page-content > p, .page-content > ul, .article-content > p, .article-content > ul { max-width: 760px; color: #4f504f; font-size: 16px; line-height: 1.85; }
.page-content > .page-lead { color: #242525; font-family: var(--serif); font-size: 26px; line-height: 1.55; }
.page-content > h2, .article-content > h2 { max-width: 780px; margin: 70px 0 26px; font-family: var(--serif); font-size: 42px; line-height: 1.1; font-weight: 400; }
.page-content li, .article-content li { margin-bottom: 9px; }
.page-cta { margin-top: 90px; padding: 58px; background: var(--paper); border-left: 3px solid var(--gold); }
.page-cta h2 { max-width: 650px; margin: 0; font-family: var(--serif); font-size: 48px; font-weight: 400; }
.page-cta p:not(.eyebrow) { max-width: 600px; color: #5d5d59; line-height: 1.7; }
.blog-hero, .article-hero { padding: 230px 0 110px; background: #0b0c0e; color: white; }
.blog-hero h1 { max-width: 980px; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.post-card h2 { margin: 10px 0 15px; font-family: var(--serif); font-size: 30px; line-height: 1.15; font-weight: 400; }
.post-card > p:not(.post-meta) { color: #626361; font-size: 13px; line-height: 1.7; }
.post-meta { color: #9b7337; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.post-image { display: block; aspect-ratio: 4 / 3; margin-bottom: 24px; overflow: hidden; background: var(--paper); }
.post-image img { width: 100%; height: 100%; object-fit: cover; }
.narrow-shell { width: min(850px, calc(100% - 64px)); margin-inline: auto; }
.article-hero h1 { font-size: clamp(48px, 6vw, 84px); }
.article-image { margin: -60px 0 70px; }
.article-content blockquote { margin: 50px 0; padding: 20px 0 20px 35px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 24px; line-height: 1.5; }
.pagination { padding-bottom: 90px; }

/* Bespoke service pages */
.service-page { background: var(--paper-light); }
.service-hero { position: relative; min-height: 820px; padding-top: 122px; overflow: hidden; background: #08090b; color: white; isolation: isolate; }
.service-hero::before { content: ""; position: absolute; z-index: -1; left: -260px; top: 123px; width: 650px; height: 650px; border: 1px solid rgba(205,166,90,.15); border-radius: 50%; }
.service-hero::after { content: "ML"; position: absolute; z-index: -1; left: 37%; top: 48%; color: transparent; -webkit-text-stroke: 1px rgba(205,166,90,.1); font-family: var(--serif); font-size: min(31vw, 450px); line-height: .7; letter-spacing: -.12em; transform: translate(-50%, -50%); }
.service-hero-lines { position: absolute; inset: 122px max(32px, calc((100vw - 1240px) / 2)) 0; border-left: 1px solid rgba(205,166,90,.12); border-right: 1px solid rgba(205,166,90,.12); pointer-events: none; }
.service-hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 7vw; min-height: 694px; align-items: center; }
.service-hero-copy { position: relative; z-index: 3; padding: 70px 0 88px; }
.service-index { display: flex; align-items: center; gap: 14px; margin: 0 0 42px; color: var(--gold-light); font-family: var(--serif); font-size: 16px; }
.service-index::after { content: ""; width: 70px; height: 1px; background: rgba(205,166,90,.5); }
.service-index span { order: 3; color: #73767c; font-family: Arial, sans-serif; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.service-hero h1 { max-width: 700px; margin: 0; font-family: var(--serif); font-size: clamp(58px, 6.5vw, 96px); line-height: .9; font-weight: 400; letter-spacing: -.055em; }
.service-lead { max-width: 590px; margin: 36px 0 0 64px; color: #a2a5aa; font-size: 14px; line-height: 1.85; }
.service-actions { display: flex; align-items: center; gap: 34px; margin: 38px 0 0 64px; }
.service-text-link { display: inline-flex; align-items: center; gap: 22px; padding: 11px 0 9px; border-bottom: 1px solid rgba(255,255,255,.28); color: #e3e3e3; font-size: 12px; }
.service-text-link::after { content: ""; width: 22px; height: 1px; background: var(--gold-light); opacity: .72; }
.service-hero-art { position: relative; height: 694px; align-self: end; }
.service-portrait { position: absolute; z-index: 1; inset: 55px 10px 0 55px; overflow: hidden; border: 1px solid rgba(225,200,143,.42); border-radius: var(--portrait-shape); background: #15171a; }
.service-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,11,.5), transparent 36%), linear-gradient(0deg, rgba(8,9,11,.62), transparent 34%); pointer-events: none; }
.service-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; filter: saturate(.82) contrast(1.05); }
.service-gold-orbit { position: absolute; z-index: 2; inset: 28px -10px -38px 28px; border: 1px solid rgba(225,200,143,.72); border-radius: var(--portrait-shape); pointer-events: none; }
.service-gold-orbit::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(205,166,90,.18); border-radius: inherit; }
.service-art-monogram { position: absolute; z-index: 3; left: -6px; bottom: 73px; color: transparent; -webkit-text-stroke: 1px rgba(225,200,143,.55); font-family: var(--serif); font-size: 104px; letter-spacing: -.08em; }
.service-art-caption { position: absolute; z-index: 3; right: 28px; bottom: 24px; text-align: right; }
.service-art-caption span { display: block; font-family: var(--serif); font-size: 20px; }
.service-art-caption small { color: var(--gold-light); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.service-credentials { border-block: 1px solid rgba(205,166,90,.5); background: #cda65a; color: #111317; }
.service-credentials .page-shell { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-credentials span { display: flex; align-items: center; gap: 13px; min-height: 62px; padding: 12px 18px; border-right: 1px solid rgba(17,19,23,.24); font-size: 9px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.service-credentials span:first-child { border-left: 1px solid rgba(17,19,23,.24); }
.service-credentials b { font-family: var(--serif); font-size: 13px; font-weight: 400; }

.service-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 11vw; align-items: start; }
.service-intro h2, .service-process-heading h2, .service-faq h2, .service-cta h2 { font-size: clamp(44px, 5vw, 72px); }
.service-intro h2 em, .service-process-heading h2 em, .service-faq h2 em, .service-cta h2 em { color: #9b7337; font-weight: 400; }
.service-intro-copy { max-width: 630px; padding-top: 34px; border-top: 1px solid var(--line); }
.service-intro-copy p { color: #626260; font-size: 14px; line-height: 1.85; }
.service-intro-copy .service-intro-lead { margin-top: 0; color: #2c2c2c; font-family: var(--serif); font-size: 23px; line-height: 1.55; }

.service-topics { background: #101216; color: white; }
.service-section-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 9vw; align-items: end; margin-bottom: 64px; }
.service-section-head h2 { font-size: clamp(48px, 5.2vw, 76px); }
.service-section-head > p { max-width: 430px; margin: 0 0 8px; color: #8c9096; font-size: 13px; line-height: 1.75; }
.service-topic-list { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(225,200,143,.32); }
.service-topic-list li { display: grid; grid-template-columns: 54px 1fr 28px; gap: 16px; align-items: center; min-height: 116px; padding: 20px 25px 20px 8px; border-bottom: 1px solid rgba(255,255,255,.14); }
.service-topic-list li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.14); padding-right: 38px; }
.service-topic-list li:nth-child(even) { padding-left: 38px; }
.service-topic-list span { color: var(--gold); font-family: var(--serif); font-size: 13px; }
.service-topic-list strong { font-family: var(--serif); font-size: clamp(21px, 2vw, 28px); line-height: 1.2; font-weight: 400; }
.service-topic-list i { display: block; width: 21px; height: 1px; background: var(--gold); opacity: .7; }

.service-process { background: var(--paper); }
.service-process-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; }
.service-process-heading > p { max-width: 410px; margin: 0 0 8px; color: #61615e; font-size: 13px; line-height: 1.75; }
.service-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 70px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-steps li { position: relative; min-height: 320px; padding: 30px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.service-steps li::after { content: ""; position: absolute; right: -95px; bottom: -110px; width: 210px; height: 210px; border: 1px solid rgba(205,166,90,.22); border-radius: 50%; }
.service-steps span { color: #9b7337; font-family: var(--serif); font-size: 14px; }
.service-steps h3 { margin: 112px 0 16px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.service-steps p { position: relative; z-index: 1; max-width: 290px; margin: 0; color: #666663; font-size: 12px; line-height: 1.75; }

.service-faq { background: var(--paper-light); }
.service-faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10vw; }
.service-faq-list { margin-top: 8px; }
.service-faq-list summary { grid-template-columns: 46px 1fr 28px; padding-block: 30px; }
.service-faq-list details p { margin-left: 66px; }

.service-cta-wrap { padding: 0 0 110px; background: var(--paper-light); }
.service-cta { position: relative; min-height: 500px; padding: 92px 100px; overflow: hidden; background: #0b0c0f; color: white; border: 1px solid rgba(205,166,90,.48); }
.service-cta::before, .service-cta::after { content: ""; position: absolute; background: rgba(225,200,143,.55); }
.service-cta::before { top: 34px; left: 34px; width: 120px; height: 1px; }
.service-cta::after { top: 34px; left: 34px; width: 1px; height: 120px; }
.service-cta h2 { position: relative; z-index: 2; max-width: 780px; }
.service-cta > p:not(.eyebrow) { position: relative; z-index: 2; max-width: 560px; color: #9da1a7; font-size: 14px; line-height: 1.75; }
.service-cta > div:last-child { position: relative; z-index: 2; display: flex; align-items: center; gap: 32px; margin-top: 34px; }
.service-email-link { color: #d3d4d5; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 6px; font-size: 12px; }
.service-cta-ring { position: absolute; right: -155px; top: -120px; width: 610px; height: 610px; border: 1px solid rgba(225,200,143,.38); border-radius: 50%; }
.service-cta-ring::before { content: "ML"; position: absolute; left: 95px; bottom: 112px; color: transparent; -webkit-text-stroke: 1px rgba(225,200,143,.16); font-family: var(--serif); font-size: 190px; letter-spacing: -.12em; }

/* Knowledge base and editorial articles */
.knowledge-page, .article-page { background: var(--paper-light); }
.premium-blog-hero { position: relative; min-height: 650px; padding: 220px 0 105px; overflow: hidden; isolation: isolate; }
.premium-blog-hero::before { content: ""; position: absolute; z-index: -1; right: -250px; top: -175px; width: 690px; height: 690px; border: 1px solid rgba(205,166,90,.28); border-radius: 50%; }
.blog-hero-line { position: absolute; left: max(32px, calc((100vw - 1240px) / 2)); right: max(32px, calc((100vw - 1240px) / 2)); top: 135px; height: 1px; background: linear-gradient(90deg, rgba(205,166,90,.8), rgba(205,166,90,.1) 55%, transparent); }
.blog-hero-monogram { position: absolute; z-index: -1; right: 7vw; bottom: -50px; color: transparent; -webkit-text-stroke: 1px rgba(225,200,143,.12); font-family: var(--serif); font-size: 330px; letter-spacing: -.12em; }
.blog-hero-grid { display: grid; grid-template-columns: 1.25fr .55fr; gap: 9vw; align-items: end; }
.premium-blog-hero h1 { max-width: 890px; font-size: clamp(60px, 7vw, 104px); }
.blog-hero-side { padding: 28px 0 4px; border-top: 1px solid rgba(225,200,143,.38); }
.blog-hero-side span { color: var(--gold-light); font-family: var(--serif); font-size: 20px; }
.blog-hero-side p { color: #8f939a !important; font-size: 12px; line-height: 1.75; }
.knowledge-index-head { display: grid; grid-template-columns: 1.15fr .55fr; gap: 10vw; align-items: end; margin-bottom: 72px; }
.knowledge-index-head h2 { font-size: clamp(48px, 5vw, 72px); }
.knowledge-index-head h2 em { color: #9b7337; font-weight: 400; }
.knowledge-index-head > p { max-width: 410px; margin: 0 0 6px; color: #62625f; font-size: 13px; line-height: 1.75; }
.premium-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 72px 34px; }
.premium-posts-grid .post-card { min-width: 0; border-top: 1px solid rgba(17,19,23,.2); padding-top: 10px; }
.premium-posts-grid .post-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 52px; align-items: stretch; }
.premium-posts-grid .post-card-featured .post-image { width: 100%; min-width: 0; margin: 0; aspect-ratio: 1.45 / 1; }
.premium-posts-grid .post-card-featured .post-card-body { display: flex; flex-direction: column; justify-content: center; padding-right: 28px; }
.premium-posts-grid .post-card-featured h2 { font-size: clamp(38px, 4vw, 56px); }
.premium-posts-grid .post-card h2 { margin-top: 18px; }
.premium-posts-grid .post-card h2, .premium-posts-grid .post-card h2 a, .premium-posts-grid .post-card-body { min-width: 0; overflow-wrap: anywhere; word-break: normal; }
.premium-posts-grid .post-card h2 a { transition: color .2s ease; }
.premium-posts-grid .post-card h2 a:hover { color: #9b7337; }
.post-card-body .post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.post-card-body .post-meta span + span::before { content: "·"; margin-right: 18px; color: #b49a68; }
.premium-posts-grid .post-image { position: relative; background: #101216; border: 1px solid rgba(205,166,90,.22); }
.post-fallback-orbit { position: absolute; width: 76%; aspect-ratio: 1; right: -28%; top: -30%; border: 1px solid rgba(225,200,143,.46); border-radius: 50%; }
.post-fallback-orbit::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(225,200,143,.12); border-radius: inherit; }
.post-fallback-monogram { position: absolute; left: 32px; bottom: 32px; color: transparent; -webkit-text-stroke: 1px rgba(225,200,143,.7); font-family: var(--serif); font-size: clamp(72px, 9vw, 132px); letter-spacing: -.12em; }
.post-image small { position: absolute; left: 34px; top: 30px; color: var(--gold-light); font-size: 8px; letter-spacing: .2em; text-transform: uppercase; }
.empty-knowledge { grid-column: 1 / -1; padding: 80px; border: 1px solid var(--line); }
.empty-knowledge > span { color: #9b7337; font-family: var(--serif); font-size: 90px; }
.knowledge-contact { padding: 100px 0; background: #0b0c0f; color: white; border-top: 1px solid rgba(205,166,90,.42); }
.knowledge-contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10vw; align-items: end; }
.knowledge-contact h2 { font-size: clamp(46px, 5vw, 72px); }
.knowledge-contact h2 em { color: var(--gold-light); font-weight: 400; }
.knowledge-contact-grid > div:last-child p { max-width: 450px; color: #999da3; font-size: 13px; line-height: 1.75; }

.premium-article-hero { position: relative; min-height: 700px; padding: 230px 0 120px; overflow: hidden; border-bottom: 1px solid rgba(205,166,90,.45); isolation: isolate; }
.premium-article-hero::before { content: ""; position: absolute; z-index: -1; left: calc(50% - 620px); right: calc(50% - 620px); top: 122px; height: 1px; background: linear-gradient(90deg, rgba(205,166,90,.7), transparent); }
.article-hero-monogram { position: absolute; z-index: -1; right: 5vw; bottom: -74px; color: transparent; -webkit-text-stroke: 1px rgba(225,200,143,.11); font-family: var(--serif); font-size: 360px; letter-spacing: -.12em; }
.article-back { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 62px; color: #9da0a5; border-bottom: 1px solid rgba(255,255,255,.22); padding-bottom: 6px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.article-back::before { content: ""; width: 24px; height: 1px; background: var(--gold); opacity: .75; }
.premium-article-hero h1 { font-size: clamp(50px, 6.2vw, 88px); }
.article-hero-deck { max-width: 700px; margin: 32px 0 0; color: #a0a3a8; font-family: var(--serif); font-size: 20px; line-height: 1.55; }
.article-stage { position: relative; }
.article-stage::before { content: ""; position: absolute; left: max(28px, calc(50% - 510px)); top: 120px; bottom: 120px; width: 1px; background: linear-gradient(var(--gold), rgba(205,166,90,0)); opacity: .42; }
.article-content { position: relative; max-width: 850px; }
.article-reading-label { display: flex; justify-content: space-between; gap: 24px; margin: 0 0 60px; padding: 16px 0; border-block: 1px solid var(--line); color: #8b6b37; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.article-content > p, .article-content > ul, .article-content > ol { color: #444542; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.9; }
.article-content > .article-deck { margin-top: 0; color: #232422; font-size: 25px; line-height: 1.62; }
.article-content > h2 { margin-top: 82px; font-size: 44px; }
.article-content > ul, .article-content > ol { padding-left: 24px; }
.article-content > ul li, .article-content > ol li { padding-left: 9px; margin-bottom: 14px; }
.article-numbered-list { list-style: none; counter-reset: article-points; padding: 0 !important; }
.article-numbered-list li { position: relative; counter-increment: article-points; padding: 28px 0 28px 70px !important; margin: 0 !important; border-bottom: 1px solid var(--line); }
.article-numbered-list li:first-child { border-top: 1px solid var(--line); }
.article-numbered-list li::before { content: counter(article-points, decimal-leading-zero); position: absolute; left: 4px; top: 30px; color: #9b7337; font-family: var(--serif); font-size: 15px; }
.article-update-note { display: grid; grid-template-columns: 130px 1fr; gap: 28px; margin: 50px 0 70px; padding: 25px 28px; border-left: 2px solid var(--gold); background: var(--paper); color: #5c5c59; font-size: 12px; line-height: 1.7; }
.article-update-note strong { color: #9b7337; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.article-disclaimer { display: grid; grid-template-columns: 80px 1fr; gap: 26px; margin-top: 90px; padding: 28px 0; border-block: 1px solid var(--line); }
.article-disclaimer span { color: #9b7337; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.article-disclaimer p { margin: 0; color: #70706d; font-size: 11px; line-height: 1.7; }
.article-author { padding: 110px 0; background: #101216; color: white; border-top: 1px solid rgba(205,166,90,.42); }
.article-author-grid { display: grid; grid-template-columns: .62fr 1.1fr; gap: 9vw; align-items: center; }
.article-author-image { position: relative; height: 520px; overflow: hidden; border-radius: var(--portrait-shape); border: 1px solid rgba(225,200,143,.54); box-shadow: 12px 12px 0 -11px rgba(225,200,143,.72), 22px 22px 0 -21px rgba(205,166,90,.28); }
.article-author-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: saturate(.8); }
.article-author h2 { font-size: clamp(46px, 5vw, 70px); }
.article-author h2 em { color: var(--gold-light); font-weight: 400; }
.article-author-grid > div:last-child > p:not(.eyebrow) { max-width: 610px; color: #9da1a7; font-size: 14px; line-height: 1.8; }

/* Error page */
.error-stage { position: relative; min-height: 780px; padding: 250px 0 120px; overflow: hidden; background: #0b0c0f; color: white; border-bottom: 1px solid rgba(205,166,90,.45); }
.error-stage::before { content: ""; position: absolute; left: max(32px, calc((100vw - 1240px) / 2)); right: max(32px, calc((100vw - 1240px) / 2)); top: 140px; height: 1px; background: linear-gradient(90deg, rgba(205,166,90,.8), transparent); }
.error-number { position: absolute; right: -40px; bottom: -130px; color: transparent; -webkit-text-stroke: 1px rgba(225,200,143,.14); font-family: var(--serif); font-size: min(32vw, 470px); line-height: 1; }
.error-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .55fr; gap: 10vw; align-items: end; }
.error-grid h1 { margin: 0; font-family: var(--serif); font-size: clamp(62px, 7.5vw, 108px); line-height: .9; font-weight: 400; letter-spacing: -.06em; }
.error-grid h1 em { color: var(--gold-light); font-weight: 400; }
.error-grid > div > p:not(.eyebrow) { max-width: 590px; margin: 34px 0; color: #9da1a7; font-size: 14px; line-height: 1.8; }
.error-links { border-top: 1px solid rgba(225,200,143,.4); }
.error-links > span { display: block; padding: 22px 0 10px; color: var(--gold-light); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.error-links a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #d1d3d5; font-family: var(--serif); font-size: 20px; }
.error-links a::after { content: ""; align-self: center; width: 24px; height: 1px; background: var(--gold); opacity: .72; }

/* Dedicated contact page */
.contact-page-hero { position: relative; min-height: 800px; padding-top: 122px; overflow: hidden; background: #08090b; color: white; isolation: isolate; }
.contact-page-hero::before { content: ""; position: absolute; z-index: -1; left: max(32px, calc((100vw - 1240px) / 2)); right: max(32px, calc((100vw - 1240px) / 2)); top: 144px; height: 1px; background: linear-gradient(90deg, rgba(205,166,90,.75), transparent); }
.contact-page-monogram { position: absolute; z-index: -1; left: 33%; bottom: -80px; color: transparent; -webkit-text-stroke: 1px rgba(225,200,143,.12); font-family: var(--serif); font-size: 360px; letter-spacing: -.12em; }
.contact-page-hero-grid { display: grid; grid-template-columns: 1.06fr .74fr; gap: 9vw; min-height: 646px; align-items: center; }
.contact-page-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(62px, 7vw, 102px); line-height: .9; font-weight: 400; letter-spacing: -.06em; }
.contact-page-hero h1 em { color: var(--gold-light); font-weight: 400; }
.contact-page-hero-grid > div:first-child > p:not(.eyebrow) { max-width: 590px; margin: 34px 0; color: #9da1a7; font-size: 14px; line-height: 1.8; }
.contact-page-portrait { position: relative; align-self: end; height: 600px; overflow: hidden; border: 1px solid rgba(225,200,143,.62); border-radius: var(--portrait-shape); box-shadow: 12px 12px 0 -11px rgba(225,200,143,.72), 22px 22px 0 -21px rgba(205,166,90,.28); }
.contact-page-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: saturate(.8); }
.contact-page-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,9,11,.7), transparent 40%); }
.contact-page-portrait > span { position: absolute; z-index: 2; left: 30px; bottom: 24px; font-family: var(--serif); font-size: 20px; }
.contact-page-portrait small { display: block; margin-top: 4px; color: var(--gold-light); font-family: Arial, sans-serif; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.contact-page-grid { display: grid; grid-template-columns: .8fr 1.05fr; gap: 10vw; align-items: start; }
.contact-page-data h2 { font-size: clamp(48px, 5vw, 72px); }
.contact-page-data h2 em { color: #9b7337; font-weight: 400; }
.contact-page-data > p:not(.eyebrow) { max-width: 520px; color: #61615e; font-size: 14px; line-height: 1.8; }
.contact-page-data address { margin-top: 50px; border-top: 1px solid var(--line); font-style: normal; }
.contact-page-data address div { display: grid; grid-template-columns: 95px 1fr; gap: 20px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.contact-page-data address span { color: #9b7337; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.contact-page-data address a, .contact-page-data address strong { color: #31312f; font-family: var(--serif); font-size: 16px; line-height: 1.55; font-weight: 400; }
.contact-page-form { padding: 52px; background: #101216; border-color: rgba(205,166,90,.38); }
.contact-page-form h2 { margin-bottom: 36px; color: white; font-size: 46px; }

/* Privacy policy */
.legal-page { background: var(--paper-light); }
.legal-hero { position: relative; min-height: 650px; padding: 122px 0 80px; overflow: hidden; background: #0b0c0f; color: white; isolation: isolate; }
.legal-hero-line { position: absolute; left: max(32px, calc((100vw - 1240px) / 2)); right: max(32px, calc((100vw - 1240px) / 2)); top: 144px; height: 1px; background: linear-gradient(90deg, rgba(205,166,90,.8), rgba(205,166,90,.12) 62%, transparent); }
.legal-hero-monogram { position: absolute; z-index: -1; right: 2vw; bottom: -105px; color: transparent; -webkit-text-stroke: 1px rgba(225,200,143,.11); font-family: var(--serif); font-size: 380px; letter-spacing: -.12em; }
.legal-hero-grid { display: grid; grid-template-columns: 1.2fr .55fr; gap: 10vw; min-height: 440px; align-items: end; }
.legal-hero h1 { max-width: 900px; margin: 0; font-family: var(--serif); font-size: clamp(60px, 7vw, 104px); line-height: .9; font-weight: 400; letter-spacing: -.055em; }
.legal-hero h1 em { color: var(--gold-light); font-weight: 400; }
.legal-hero-grid > div:first-child > p:not(.eyebrow) { max-width: 650px; margin: 34px 0 0; color: #9ca0a6; font-size: 14px; line-height: 1.8; }
.legal-hero-note { padding: 26px 0 5px; border-top: 1px solid rgba(225,200,143,.42); }
.legal-hero-note span { color: var(--gold-light); font-family: var(--serif); font-size: 20px; }
.legal-hero-note p { margin: 16px 0 0; color: #92969c; font-size: 12px; line-height: 1.75; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 820px); justify-content: space-between; gap: 9vw; align-items: start; }
.legal-toc { position: sticky; top: 152px; display: grid; border-top: 1px solid var(--line); }
.legal-toc > p { margin: 0; padding: 18px 0 14px; color: #9b7337; font-size: 9px; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; }
.legal-toc a { padding: 11px 0; border-bottom: 1px solid var(--line); color: #686864; font-size: 12px; transition: color .2s ease, padding .2s ease; }
.legal-toc a:hover { padding-left: 7px; color: #9b7337; }
.legal-toc .cookie-preferences-trigger { margin-top: 22px; padding: 13px 15px; border: 1px solid #aa8242; background: transparent; color: #805f2d; font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.legal-toc .cookie-preferences-trigger:hover { background: #aa8242; color: white; }
.legal-content { min-width: 0; }
.legal-content .legal-updated { margin: 0 0 18px; color: #9b7337; font-size: 9px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.legal-content .legal-lead { margin: 0 0 70px; color: #282926; font-family: var(--serif); font-size: 25px; line-height: 1.6; }
.legal-section { scroll-margin-top: 145px; padding: 62px 0 8px; border-top: 1px solid var(--line); }
.legal-section:first-of-type { padding-top: 0; border-top: 0; }
.legal-section h2 { margin: 0 0 28px; font-size: clamp(35px, 4vw, 48px); }
.legal-section p, .legal-section li { color: #51524f; font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.82; }
.legal-section p { margin: 0 0 20px; }
.legal-section ul { margin: 22px 0; padding-left: 23px; }
.legal-section li { margin-bottom: 12px; padding-left: 8px; }
.legal-section strong { color: #242522; }
.legal-section a { color: #8d682f; border-bottom: 1px solid rgba(141,104,47,.35); }
.legal-section a:hover { border-bottom-color: currentColor; }
.legal-purpose-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 34px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.legal-purpose-list > div { min-width: 0; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal-purpose-list strong { display: block; margin-bottom: 14px; color: #8b6730; font-family: var(--serif); font-size: 20px; line-height: 1.3; font-weight: 400; }
.legal-purpose-list p { margin: 0; font-size: 14px; line-height: 1.75; }
.legal-cookie-table { margin: 32px 0; border-top: 1px solid var(--line); }
.legal-cookie-row { display: grid; grid-template-columns: .7fr 1.65fr .65fr; border-bottom: 1px solid var(--line); }
.legal-cookie-row > * { min-width: 0; padding: 18px 16px; border-right: 1px solid var(--line); color: #595a57; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.legal-cookie-row > *:first-child { padding-left: 0; }
.legal-cookie-row > *:last-child { border-right: 0; }
.legal-cookie-head > * { color: #9b7337; font-size: 8px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }

/* Cookie consent */
.cookie-consent[hidden] { display: none !important; }
.cookie-consent { position: fixed; z-index: 3000; left: max(18px, calc((100vw - 1400px) / 2)); right: max(18px, calc((100vw - 1400px) / 2)); bottom: 18px; max-height: calc(100vh - 36px); overflow-y: auto; border: 1px solid rgba(225,200,143,.52); background: rgba(11,12,15,.98); color: white; box-shadow: 0 28px 90px rgba(0,0,0,.46); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.cookie-consent-line { height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light) 36%, rgba(225,200,143,.12) 75%, transparent); }
.cookie-consent-main { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(470px, .65fr); gap: 50px; align-items: center; padding: 28px 34px; }
.cookie-consent-copy { display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-items: center; }
.cookie-consent-mark { color: transparent; -webkit-text-stroke: 1px rgba(225,200,143,.68); font-family: var(--serif); font-size: 58px; line-height: 1; letter-spacing: -.1em; }
.cookie-kicker { margin: 0 0 8px; color: var(--gold-light); font-size: 8px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.cookie-consent h2 { margin: 0 0 8px; font-size: 27px; line-height: 1.1; }
.cookie-consent-copy p:last-child { max-width: 760px; margin: 0; color: #a4a8ae; font-size: 11px; line-height: 1.65; }
.cookie-consent a { color: var(--gold-light); border-bottom: 1px solid rgba(225,200,143,.42); }
.cookie-consent-actions { display: grid; grid-template-columns: 1fr .78fr 1.25fr; gap: 10px; }
.cookie-button { min-height: 48px; padding: 11px 15px; border: 1px solid rgba(225,200,143,.58); border-radius: 0; background: transparent; color: #f2f0ea; font-size: 10px; font-weight: 650; line-height: 1.2; letter-spacing: .04em; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.cookie-button:hover, .cookie-button:focus-visible { border-color: var(--gold-light); background: rgba(225,200,143,.09); outline: none; }
.cookie-button-primary { background: var(--gold); border-color: var(--gold); color: #111317; }
.cookie-button-primary:hover, .cookie-button-primary:focus-visible { background: var(--gold-light); color: #111317; }
.cookie-button-secondary { color: var(--gold-light); }
.cookie-button-settings { border-color: rgba(255,255,255,.23); color: #b9bcc1; }
.cookie-consent-settings { padding: 28px 34px 32px; }
.cookie-settings-head { display: flex; justify-content: space-between; gap: 30px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.13); }
.cookie-settings-head h2 { margin: 0; }
.cookie-settings-back { padding: 8px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.24); background: transparent; color: #b6b9be; font-size: 10px; cursor: pointer; }
.cookie-category-list { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid rgba(255,255,255,.13); }
.cookie-category { display: flex; justify-content: space-between; gap: 24px; min-height: 122px; padding: 23px; border-right: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); cursor: pointer; }
.cookie-category > span:first-child { display: block; }
.cookie-category strong { display: block; margin-bottom: 9px; color: #f0eee8; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.cookie-category small { display: block; color: #8f9399; font-size: 10px; line-height: 1.55; }
.cookie-category-locked { cursor: default; }
.cookie-switch { position: relative; flex: 0 0 38px; width: 38px; height: 21px; }
.cookie-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cookie-switch i { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.28); background: #202329; transition: background .2s ease, border-color .2s ease; }
.cookie-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 13px; height: 13px; background: #8f9399; transition: transform .2s ease, background .2s ease; }
.cookie-switch input:checked + i { border-color: var(--gold); background: rgba(205,166,90,.16); }
.cookie-switch input:checked + i::after { transform: translateX(17px); background: var(--gold-light); }
.cookie-switch input:focus-visible + i { outline: 2px solid white; outline-offset: 3px; }
.cookie-category-locked .cookie-switch { opacity: .62; }
.cookie-settings-actions { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-top: 24px; }
.cookie-settings-actions > a { font-size: 10px; }
.cookie-settings-actions .cookie-button { min-width: 210px; }

@media (max-width: 1100px) {
  .cookie-consent-main { grid-template-columns: 1fr; gap: 24px; }
  .cookie-consent-actions { grid-template-columns: repeat(3, 1fr); }
  .cookie-category-list { grid-template-columns: 1fr; }
  .cookie-category { min-height: 96px; }
}

@media (max-width: 700px) {
  .admin-bar .site-header { top: 46px; }
  .mobile-menu { position: fixed; top: 72px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .admin-bar .mobile-menu { top: 118px; }
  .inner-hero { padding-top: 72px; }
  .inner-hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 80px; }
  .inner-hero img { height: 480px; }
  .page-content > .page-lead { font-size: 22px; }
  .page-cta { padding: 36px 24px; }
  .page-cta h2 { font-size: 38px; }
  .blog-hero, .article-hero { padding: 170px 0 80px; }
  .posts-grid { grid-template-columns: 1fr; }
  .narrow-shell { width: calc(100% - 34px); }
  .service-hero { min-height: auto; padding-top: 72px; }
  .service-hero-lines { inset: 72px 17px 0; }
  .service-hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 0; }
  .service-hero-copy { order: 2; padding: 68px 7px 76px; }
  .service-index { margin-bottom: 26px; }
  .service-hero h1 { font-size: clamp(48px, 14vw, 68px); }
  .service-lead, .service-actions { margin-left: 20px; }
  .service-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .service-hero-art { order: 1; height: 580px; margin-inline: -17px; }
  .service-portrait { inset: 32px 22px 0; }
  .service-gold-orbit { inset: 14px 5px -35px; }
  .service-art-monogram { left: 20px; bottom: 44px; font-size: 72px; }
  .service-art-caption { right: 32px; bottom: 18px; }
  .service-intro-grid, .service-section-head, .service-process-heading, .service-faq-grid { grid-template-columns: 1fr; gap: 46px; }
  .service-intro-copy { padding-top: 26px; }
  .service-topic-list { grid-template-columns: 1fr; }
  .service-topic-list li, .service-topic-list li:nth-child(odd), .service-topic-list li:nth-child(even) { min-height: 98px; padding: 20px 8px; border-right: 0; }
  .service-topic-list strong { font-size: 23px; }
  .service-steps { grid-template-columns: 1fr; margin-top: 52px; }
  .service-steps li { min-height: 250px; }
  .service-steps h3 { margin-top: 65px; }
  .service-faq-list details p { margin-left: 44px; }
  .service-cta-wrap { padding-bottom: 70px; }
  .service-cta { min-height: 560px; padding: 72px 27px 52px; }
  .service-cta h2 { font-size: 45px; }
  .service-cta > div:last-child { align-items: flex-start; flex-direction: column; }
  .service-cta-ring { right: -340px; top: 220px; }
  .service-credentials .page-shell { grid-template-columns: 1fr 1fr; width: 100%; }
  .service-credentials span { min-height: 58px; padding: 10px 14px; font-size: 7px; }
  .premium-blog-hero { min-height: auto; padding: 175px 0 80px; }
  .blog-hero-line { top: 130px; left: 17px; right: 17px; }
  .blog-hero-grid, .knowledge-index-head, .knowledge-contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .premium-blog-hero h1 { font-size: 54px; }
  .blog-hero-side { max-width: 360px; }
  .knowledge-index-head { margin-bottom: 55px; }
  .premium-posts-grid .post-card-featured { grid-column: auto; display: block; }
  .premium-posts-grid .post-card-featured .post-image { margin-bottom: 24px; aspect-ratio: 4 / 3; }
  .premium-posts-grid .post-card-featured .post-card-body { padding: 0; }
  .premium-posts-grid .post-card-featured h2 { font-size: 34px; }
  .knowledge-contact { padding-block: 78px; }
  .premium-article-hero { min-height: auto; padding: 175px 0 85px; }
  .premium-article-hero::before { left: 17px; right: 17px; top: 130px; }
  .article-back { margin-bottom: 42px; }
  .premium-article-hero h1 { font-size: 49px; }
  .article-hero-deck { font-size: 18px; }
  .article-stage::before { display: none; }
  .article-content > p, .article-content > ul, .article-content > ol { font-size: 17px; line-height: 1.82; }
  .article-content > .article-deck { font-size: 22px; }
  .article-content > h2 { margin-top: 62px; font-size: 37px; }
  .article-update-note { grid-template-columns: 1fr; gap: 10px; margin-block: 38px 54px; }
  .article-reading-label { flex-direction: column; gap: 8px; }
  .article-author { padding-block: 78px; }
  .article-author-grid { grid-template-columns: 1fr; gap: 52px; }
  .article-author-image { height: 520px; }
  .error-stage { min-height: auto; padding: 175px 0 85px; }
  .error-stage::before { top: 130px; left: 17px; right: 17px; }
  .error-grid { grid-template-columns: 1fr; gap: 70px; }
  .error-grid h1 { font-size: 60px; }
  .error-number { right: -40px; bottom: -40px; font-size: 230px; }
  .contact-page-hero { min-height: auto; padding-top: 72px; }
  .contact-page-hero::before { top: 130px; left: 17px; right: 17px; }
  .contact-page-hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 85px; }
  .contact-page-hero h1 { font-size: 57px; }
  .contact-page-portrait { height: 560px; margin-top: 35px; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 62px; }
  .contact-page-form { padding: 36px 22px; }
  .legal-hero { min-height: auto; padding: 72px 0 76px; }
  .legal-hero-line { top: 130px; left: 17px; right: 17px; }
  .legal-hero-grid { grid-template-columns: 1fr; gap: 58px; min-height: auto; padding-top: 94px; }
  .legal-hero h1 { font-size: 53px; }
  .legal-hero-monogram { right: -72px; bottom: -50px; font-size: 240px; }
  .legal-layout { grid-template-columns: 1fr; gap: 58px; }
  .legal-toc { position: static; }
  .legal-content .legal-lead { margin-bottom: 54px; font-size: 22px; }
  .legal-section { scroll-margin-top: 90px; padding-top: 48px; }
  .legal-section h2 { font-size: 36px; }
  .legal-section p, .legal-section li { font-size: 16px; line-height: 1.78; }
  .legal-purpose-list { grid-template-columns: 1fr; }
  .legal-purpose-list > div { padding: 23px 20px; }
  .legal-cookie-row { grid-template-columns: 1fr; padding: 14px 0; }
  .legal-cookie-row > * { padding: 5px 0; border-right: 0; }
  .legal-cookie-head { display: none; }
  .footer-legal-links { align-items: flex-start; flex-direction: column; gap: 9px; }
  .cookie-consent { left: 8px; right: 8px; bottom: 8px; max-height: calc(100vh - 16px); }
  .cookie-consent-main, .cookie-consent-settings { padding: 24px 19px; }
  .cookie-consent-copy { grid-template-columns: 1fr; gap: 12px; }
  .cookie-consent-mark { font-size: 45px; }
  .cookie-consent h2 { font-size: 25px; }
  .cookie-consent-actions { grid-template-columns: 1fr; }
  .cookie-button { min-height: 46px; }
  .cookie-settings-head { gap: 20px; }
  .cookie-category { gap: 16px; padding: 20px 0; border-right: 0; }
  .cookie-category-list { border-left: 0; }
  .cookie-settings-actions { align-items: stretch; flex-direction: column; }
  .cookie-settings-actions .cookie-button { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
  * { transition-duration: .01ms !important; }
}
