@font-face {
  font-family: "Estedad";
  src: url("./assets/fonts/Estedad.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #080c13;
  --night-soft: #0d121c;
  --ink: #111722;
  --ivory: #f5ead7;
  --ivory-soft: #d8cdbd;
  --muted: #a89f94;
  --copper: #c67d5f;
  --copper-dark: #a95f48;
  --line: rgb(226 211 191 / 25%);
  --line-strong: rgb(226 211 191 / 50%);
  --shell: min(1376px, calc(100% - 72px));
  font-family: "Estedad", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--night); color: var(--ivory); font-size: 16px; line-height: 1.85; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; z-index: 100; inset: 12px auto auto 12px; padding: 10px 16px; background: var(--ivory); color: var(--night); transform: translateY(-170%); }
.skip-link:focus { transform: translateY(0); }

.page-shell { position: relative; min-height: 100vh; background-color: var(--night); background-image: url("./assets/night-office-background.webp"); background-position: center top; background-size: 100% auto; background-repeat: no-repeat; }
.page-shell::before { content: ""; position: absolute; inset: 0; background: rgb(5 9 15 / 53%); pointer-events: none; }
.site-header, .hero, .practice-intro { position: relative; z-index: 1; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { width: var(--shell); min-height: 88px; margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "brand nav actions"; align-items: center; gap: 32px; }
.identity { grid-area: brand; justify-self: end; display: inline-flex; align-items: center; gap: 14px; }
.identity-mark { width: 58px; height: 58px; display: grid; place-items: center; color: var(--ivory); border: 1px solid #d3a47f; border-radius: 11px 11px 4px 11px; background: rgb(7 11 18 / 70%); box-shadow: inset 0 0 0 4px rgb(211 164 127 / 5%); font-size: 28px; font-weight: 800; }
.identity-copy strong, .identity-copy small { display: block; }
.identity-copy strong { color: #e6c5a8; font-size: 18px; line-height: 1.45; }
.identity-copy small { color: var(--ivory-soft); font-size: 11px; }
nav { grid-area: nav; display: flex; align-items: center; gap: 39px; font-size: 13px; font-weight: 620; }
nav a { position: relative; padding-block: 33px 28px; color: #ece4d8; }
nav a::after { content: ""; position: absolute; inset: auto 0 17px; width: 0; height: 1px; margin-inline: auto; background: #d9a07c; transition: width 180ms ease; }
nav a:hover::after, nav a:focus-visible::after, nav .active::after { width: 33px; }
.header-actions { grid-area: actions; justify-self: start; display: flex; align-items: center; gap: 20px; font-size: 12px; direction: ltr; }
.header-actions a { display: inline-flex; align-items: center; gap: 9px; }
.header-actions a + a { padding-left: 20px; border-left: 1px solid var(--line); }
.header-actions img, .button img, .direct-contact img, .practice-grid img { filter: invert(91%) sepia(13%) saturate(523%) hue-rotate(344deg) brightness(104%); }

.hero { width: var(--shell); min-height: 680px; margin-inline: auto; display: grid; grid-template-columns: 64px minmax(360px, 500px) minmax(490px, 1fr) 64px; grid-template-areas: "side-left portrait copy side-right"; align-items: start; gap: clamp(26px, 3.2vw, 52px); padding: 16px 0 36px; direction: ltr; }
.hero-copy { grid-area: copy; align-self: start; max-width: 660px; padding-top: 40px; direction: rtl; }
.eyebrow, .overline { margin: 0; color: var(--muted); font-size: 12px; font-weight: 520; letter-spacing: 0.01em; }
.hero h1 { margin: 18px 0 0; color: var(--ivory); font-size: clamp(66px, 6vw, 92px); font-weight: 820; line-height: 1.08; letter-spacing: -0.075em; text-shadow: 0 4px 26px rgb(0 0 0 / 35%); }
.role { margin: 2px 0 0; color: #e7b792; font-size: clamp(34px, 3.15vw, 49px); font-weight: 720; line-height: 1.35; letter-spacing: -0.055em; }
.hero blockquote { width: fit-content; margin: 27px 0 0; padding: 0 0 13px; color: #f8f1e7; border-bottom: 1px solid var(--line-strong); font-size: clamp(18px, 1.65vw, 24px); font-weight: 650; line-height: 1.75; }
.hero-lead { max-width: 610px; margin: 21px 0 0; color: #c7c0b7; font-size: 14px; line-height: 2.05; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 29px; }
.button { min-height: 57px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 25px; border: 1px solid transparent; font-size: 13px; font-weight: 730; transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { min-width: 218px; background: var(--copper); border-color: #dca588; color: #fffaf2; }
.button-primary:hover, .button-primary:focus-visible { background: var(--copper-dark); }
.button-secondary { min-width: 210px; background: rgb(7 11 18 / 42%); border-color: #bfa98d; color: #f6ecde; }
.button-secondary:hover, .button-secondary:focus-visible { background: rgb(245 234 215 / 8%); border-color: #ead3b8; }
.direct-contact { display: flex; gap: 28px; margin-top: 29px; padding-top: 22px; border-top: 1px solid var(--line); direction: ltr; }
.direct-contact a { display: flex; align-items: center; gap: 11px; direction: ltr; }
.direct-contact a + a { padding-left: 28px; border-left: 1px solid var(--line); }
.direct-contact span { display: grid; gap: 1px; direction: rtl; }
.direct-contact bdi { color: #eee6db; font-size: 12px; }
.direct-contact small { color: #878b91; font-size: 9px; }

.portrait-card { grid-area: portrait; position: relative; width: min(100%, 470px); margin: 0; justify-self: center; padding: 13px; border: 1px solid rgb(213 175 134 / 55%); background: rgb(6 10 16 / 48%); box-shadow: 0 28px 80px rgb(0 0 0 / 34%); direction: rtl; }
.portrait-card::before { content: ""; position: absolute; z-index: 2; inset: 6px; border: 1px solid rgb(245 234 215 / 14%); pointer-events: none; }
.portrait-card img { width: 100%; height: 520px; object-fit: cover; object-position: 50% center; filter: saturate(0.78) contrast(1.03) brightness(0.92); }
.portrait-card figcaption { position: absolute; z-index: 3; inset: auto 31px 28px auto; width: 72%; padding: 16px 18px 4px; color: #ded1bf; border-top: 1px solid rgb(231 209 181 / 55%); background: rgb(7 11 18 / 40%); font-size: 12px; line-height: 1.85; text-shadow: 0 2px 8px #000; }
.hero-side { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #9f9383; font-size: 11px; line-height: 2; direction: rtl; }
.hero-side::before, .hero-side::after { content: ""; display: block; width: 1px; height: 70px; margin-block: 24px; background: #b79f82; }
.hero-side-right { grid-area: side-right; }
.hero-side-right span { display: block; }
.hero-side-left { grid-area: side-left; justify-content: space-between; padding-block: 30px; }
.hero-side-left::before, .hero-side-left::after { height: 54px; margin-block: 0; }
.vertical-en { writing-mode: vertical-rl; transform: rotate(180deg); color: #c1b39f; font-family: Georgia, serif; letter-spacing: 0.28em; }
.vertical-fa { text-align: center; }

.practice-intro { display: grid; grid-template-columns: minmax(270px, 0.9fr) 2.4fr; border-top: 1px solid var(--line-strong); background: rgb(6 10 17 / 86%); direction: ltr; }
.practice-heading { padding: 41px 42px 44px max(40px, calc((100vw - 1376px) / 2)); border-right: 1px solid var(--line); direction: rtl; }
.practice-heading > p { margin: 0 0 19px; color: #9c958d; font-size: 11px; }
.practice-heading h2 { margin: 0; color: var(--ivory); font-size: clamp(29px, 2.5vw, 40px); line-height: 1.48; letter-spacing: -0.045em; }
.practice-heading > span { display: block; max-width: 310px; margin-top: 18px; color: #8f8d8a; font-size: 11px; }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-right: max(40px, calc((100vw - 1376px) / 2)); direction: rtl; }
.practice-grid article { position: relative; min-height: 260px; padding: 40px 34px 34px; border-left: 1px solid var(--line); }
.practice-grid article:last-child { border-left: 0; }
.practice-number { position: absolute; inset: 28px auto auto 28px; color: #a47760; font-family: Georgia, serif; font-size: 11px; }
.practice-grid img { width: 36px; height: 36px; margin-bottom: 22px; opacity: 0.9; }
.practice-grid h3 { margin: 0; color: #f0e5d5; font-size: 17px; }
.practice-grid p { min-height: 55px; margin: 11px 0 0; color: #9d9994; font-size: 11px; line-height: 1.9; }
.practice-grid a { display: inline-block; margin-top: 17px; color: #d8ad8e; border-bottom: 1px solid rgb(216 173 142 / 40%); font-size: 10px; }

.section-shell { width: var(--shell); margin-inline: auto; }
.service-details { background: #f0e7dc; color: #19202a; }
.service-details .section-shell { min-height: 740px; display: grid; grid-template-columns: 70px minmax(330px, 0.8fr) minmax(490px, 1.2fr); gap: clamp(42px, 6vw, 92px); align-items: center; padding-block: 100px; }
.section-kicker { align-self: stretch; padding-top: 7px; border-left: 1px solid rgb(17 23 34 / 18%); text-align: center; }
.section-kicker span { color: var(--copper-dark); font-family: Georgia, serif; font-size: 17px; }
.section-kicker p { margin: 38px auto 0; color: #6e6a65; font-size: 10px; writing-mode: vertical-rl; }
.service-copy .overline, .process .overline, .before-contact .overline { color: #8c6857; }
.service-copy h2, .process-heading h2, .before-contact h2 { margin: 18px 0 0; color: #171c24; font-size: clamp(38px, 4.1vw, 61px); font-weight: 780; line-height: 1.42; letter-spacing: -0.06em; }
.service-copy > p:last-child { max-width: 500px; margin: 28px 0 0; color: #62615f; font-size: 14px; line-height: 2.15; }
.service-lines { border-top: 1px solid rgb(17 23 34 / 25%); }
.service-lines article { display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding-block: 25px; border-bottom: 1px solid rgb(17 23 34 / 20%); }
.service-lines article > span { color: #a3624e; font-family: Georgia, serif; font-size: 16px; }
.service-lines h3 { margin: 0; font-size: 18px; }
.service-lines p { margin: 7px 0 0; color: #72706d; font-size: 12px; }

.about { min-height: 700px; display: grid; grid-template-columns: 82px 1.35fr 0.65fr; background: var(--night-soft); border-block: 1px solid var(--line); }
.about-rail { display: flex; align-items: center; justify-content: center; color: #8f8273; border-left: 1px solid var(--line); font-family: Georgia, serif; font-size: 9px; letter-spacing: 0.25em; writing-mode: vertical-rl; transform: rotate(180deg); }
.about-main { align-self: center; max-width: 760px; padding: 88px clamp(48px, 8vw, 140px) 88px 70px; }
.about-main h2 { margin: 18px 0 0; color: var(--ivory); font-size: clamp(39px, 4.2vw, 66px); line-height: 1.45; letter-spacing: -0.06em; }
.about-main > p:not(.overline) { max-width: 680px; margin: 29px 0 0; color: #b1aaa1; font-size: 14px; line-height: 2.2; }
.about-principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 43px; border-block: 1px solid var(--line); }
.about-principles div { padding: 21px 20px; border-left: 1px solid var(--line); }
.about-principles div:last-child { border-left: 0; }
.about-principles strong, .about-principles span { display: block; }
.about-principles strong { color: #e9d8c4; font-size: 13px; }
.about-principles span { margin-top: 5px; color: #787c82; font-size: 10px; }
.about-quote { min-height: 700px; display: flex; flex-direction: column; justify-content: center; padding: 70px clamp(45px, 5vw, 90px); border-right: 1px solid var(--line); background-color: #101620; background-image: url("./assets/night-office-background.webp"); background-size: auto 100%; background-position: right center; background-repeat: no-repeat; }
.about-quote > span { color: #c08768; font-family: Georgia, serif; font-size: 78px; line-height: 1; }
.about-quote blockquote { margin: 0; color: #f3e8d9; font-size: clamp(24px, 2.4vw, 37px); font-weight: 650; line-height: 1.85; }

.process { background: #f5ede3; color: #171c24; }
.process .section-shell { display: grid; grid-template-columns: 70px minmax(330px, 0.8fr) minmax(520px, 1.2fr); gap: clamp(42px, 6vw, 92px); padding-block: 102px; }
.process-heading { align-self: start; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgb(17 23 34 / 24%); }
.process-list li { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid rgb(17 23 34 / 20%); }
.process-list li > span { color: #aa674f; font-family: Georgia, serif; font-size: 19px; }
.process-list h3 { margin: 0; font-size: 18px; }
.process-list p { margin: 8px 0 0; color: #70706e; font-size: 12px; line-height: 1.95; }

.before-contact { min-height: 400px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 9vw, 150px); align-items: center; padding: 80px max(50px, calc((100vw - 1376px) / 2)); background: #e9ded0; color: #171c24; border-top: 1px solid rgb(17 23 34 / 13%); }
.before-contact h2 { font-size: clamp(35px, 3.6vw, 53px); }
.before-contact ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgb(17 23 34 / 25%); }
.before-contact li { display: grid; grid-template-columns: 70px 1fr; padding: 18px 0; border-bottom: 1px solid rgb(17 23 34 / 20%); font-size: 15px; }
.before-contact li span { color: #9d6752; font-size: 11px; }

.contact { position: relative; min-height: 610px; display: grid; place-items: center; overflow: hidden; background-color: #080d15; background-image: url("./assets/night-office-background.webp"); background-size: cover; background-position: center; }
.contact::before { content: ""; position: absolute; inset: 0; background: rgb(4 8 14 / 65%); }
.contact-shell { position: relative; z-index: 1; width: min(840px, calc(100% - 48px)); padding: 70px; border: 1px solid var(--line-strong); background: rgb(7 11 18 / 70%); text-align: center; box-shadow: 0 30px 100px rgb(0 0 0 / 30%); }
.contact-shell h2 { margin: 15px 0 0; color: var(--ivory); font-size: clamp(40px, 4.7vw, 68px); line-height: 1.45; letter-spacing: -0.06em; }
.contact-shell > p:not(.overline) { margin: 22px 0 0; color: #aaa39b; font-size: 13px; }
.contact-actions { justify-content: center; }
.contact-actions .button { min-width: 275px; }
.contact-actions span { display: inline-flex; gap: 7px; }

footer { border-top: 1px solid var(--line); background: #060a10; }
.footer-inner { width: var(--shell); min-height: 130px; margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.footer-identity { justify-self: end; }
.footer-identity .identity-mark { width: 47px; height: 47px; font-size: 22px; }
.footer-inner p { margin: 0; color: #767a80; font-size: 10px; text-align: center; }
.back-to-top { justify-self: start; color: #c9aa8d; font-size: 10px; border-bottom: 1px solid rgb(201 170 141 / 35%); }
:focus-visible { outline: 2px solid #edb58f; outline-offset: 4px; }

@media (max-width: 1220px) {
  :root { --shell: min(1120px, calc(100% - 48px)); }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 20px; }
  nav { gap: 22px; }
  .header-actions a:first-child { display: none; }
  .header-actions a + a { padding-left: 0; border-left: 0; }
  .hero { grid-template-columns: minmax(320px, 430px) minmax(450px, 1fr) 45px; grid-template-areas: "portrait copy side-right"; gap: 30px; }
  .hero-side-left { display: none; }
  .hero h1 { font-size: clamp(59px, 6.6vw, 78px); }
  .role { font-size: clamp(31px, 3.5vw, 42px); }
  .practice-heading { padding-left: 28px; }
  .practice-grid { padding-right: 28px; }
  .service-details .section-shell, .process .section-shell { grid-template-columns: 55px minmax(300px, 0.8fr) minmax(430px, 1.2fr); gap: 38px; }
  .about-main { padding-inline: 65px 48px; }
}

@media (max-width: 960px) {
  :root { --shell: calc(100% - 40px); }
  .header-inner { min-height: 76px; grid-template-columns: auto 1fr; grid-template-areas: "brand actions"; }
  .identity { justify-self: start; }
  nav { display: none; }
  .header-actions { justify-self: end; }
  .hero { min-height: auto; grid-template-columns: minmax(290px, 0.8fr) minmax(380px, 1.2fr); grid-template-areas: "portrait copy"; gap: 32px; padding-block: 40px 50px; }
  .hero-side { display: none; }
  .hero h1 { font-size: clamp(50px, 7vw, 68px); }
  .hero-lead { font-size: 12px; }
  .hero-actions .button { min-width: 0; flex: 1 1 180px; }
  .direct-contact { display: none; }
  .portrait-card { padding: 9px; }
  .portrait-card img { height: 430px; }
  .practice-intro { grid-template-columns: 1fr; }
  .practice-heading { padding: 40px; border-right: 0; border-bottom: 1px solid var(--line); }
  .practice-grid { padding-right: 0; }
  .service-details .section-shell, .process .section-shell { grid-template-columns: 42px 1fr; gap: 28px; padding-block: 76px; }
  .service-lines, .process-list { grid-column: 2; }
  .about { grid-template-columns: 60px 1fr; }
  .about-main { padding: 70px 45px; }
  .about-quote { grid-column: 1 / -1; min-height: 360px; border-top: 1px solid var(--line); border-right: 0; }
  .before-contact { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 28px); }
  html { scroll-padding-top: 72px; }
  .page-shell { background-size: auto 780px; background-position: 62% top; }
  .header-inner { min-height: 72px; }
  .identity-mark { width: 44px; height: 44px; font-size: 21px; }
  .identity-copy strong { font-size: 14px; }
  .identity-copy small { font-size: 9px; }
  .header-actions a { font-size: 0; }
  .header-actions a img { width: 23px; height: 23px; }
  .hero { width: 100%; display: flex; flex-direction: column-reverse; gap: 0; padding: 0 0 42px; }
  .hero-copy { width: var(--shell); max-width: none; padding: 37px 0 0; }
  .eyebrow { font-size: 10px; }
  .hero h1 { margin-top: 12px; font-size: clamp(50px, 15vw, 67px); }
  .role { font-size: 31px; }
  .hero blockquote { margin-top: 21px; font-size: 16px; }
  .hero-lead { margin-top: 18px; font-size: 12px; }
  .portrait-card { width: 100%; max-width: none; padding: 0; border-inline: 0; }
  .portrait-card::before { inset: 10px; }
  .portrait-card img { height: auto; aspect-ratio: auto; object-position: 50% center; }
  .portrait-card figcaption { inset: auto 22px 21px auto; font-size: 10px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .practice-heading { padding: 35px 22px; }
  .practice-heading h2 { font-size: 30px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-grid article { min-height: 0; padding: 30px 28px; border-left: 0; border-bottom: 1px solid var(--line); }
  .practice-grid p { min-height: 0; }
  .service-details .section-shell, .process .section-shell { display: block; padding-block: 60px; }
  .section-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; padding: 0; border: 0; text-align: right; }
  .section-kicker p { margin: 0; writing-mode: horizontal-tb; }
  .service-copy h2, .process-heading h2, .before-contact h2 { font-size: 34px; }
  .service-copy > p:last-child { font-size: 12px; }
  .service-lines, .process-list { margin-top: 40px; }
  .service-lines article, .process-list li { grid-template-columns: 44px 1fr; gap: 13px; }
  .about { display: block; }
  .about-rail { display: none; }
  .about-main { padding: 65px 22px; }
  .about-main h2 { font-size: 36px; }
  .about-main > p:not(.overline) { font-size: 12px; }
  .about-principles { grid-template-columns: 1fr; }
  .about-principles div { border-left: 0; border-bottom: 1px solid var(--line); }
  .about-quote { min-height: 340px; padding: 48px 24px; }
  .about-quote blockquote { font-size: 25px; }
  .before-contact { padding: 60px 22px; }
  .before-contact li { grid-template-columns: 48px 1fr; font-size: 13px; }
  .contact { min-height: 620px; }
  .contact-shell { width: calc(100% - 28px); padding: 46px 20px; }
  .contact-shell h2 { font-size: 36px; }
  .contact-actions { display: grid; grid-template-columns: 1fr; }
  .contact-actions .button { min-width: 0; width: 100%; }
  .footer-inner { min-height: 190px; grid-template-columns: 1fr; justify-items: center; gap: 15px; padding-block: 30px; }
  .footer-identity, .back-to-top { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .hero-actions, .contact, footer { display: none; }
  body, .page-shell, .practice-intro, .about { background: #fff; color: #111; }
}
