@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #fff7f1;
  --orange-pale: #fff0e6;
  --white: #fff;
  --ink: #3b302d;
  --text: #61534d;
  --muted: #766158;
  --line: #ead2c4;
  --orange: #bd401d;
  --dark-orange: #91391f;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
main { background: var(--white); }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin-top: 0; }
p, li, address { text-align: justify; hyphens: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
section[id] { scroll-margin-top: 82px; }
.container { width: min(100%, 1380px); margin-inline: auto; padding-inline: clamp(24px, 5.5vw, 78px); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 15px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { flex: 0 0 auto; width: 184px; }
.brand img { width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 45px); }
.desktop-nav a { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--orange); }
.mobile-menu { display: none; }

/* Landing */
.hero { position: relative; isolation: isolate; overflow: hidden; max-width: 1700px; margin-inline: auto; background: var(--white); }
.hero-inner { display: flex; align-items: stretch; width: 100%; min-height: clamp(700px, 52.8vw, 800px); padding: 0; }
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; width: 34%; max-width: 650px; min-width: 440px; padding: 55px clamp(32px, 3.2vw, 58px); background: rgba(123, 43, 22, .88); color: #fff; }
.hero-label { margin-bottom: 13px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { margin-bottom: 18px; font: 400 clamp(65px, 6.7vw, 98px)/.94 var(--serif); letter-spacing: -.035em; }
.hero-domains { max-width: 500px; margin-bottom: 25px; color: rgba(255,255,255,.94); font-size: 18px; line-height: 1.6; }
.hero-domains span { padding-inline: 3px; color: #fff; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 8px 28px; max-width: 500px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.48); border-bottom: 1px solid rgba(255,255,255,.48); }
.hero-contact a { font-size: 15px; font-weight: 600; }
.hero-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-photo { position: absolute; inset: 0; margin: 0; }
.hero-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 64%; }

/* Content sections */
.section { padding-block: clamp(80px, 8.5vw, 120px); }
.section-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 42px; }
.section h2 { margin: 0; font: 400 clamp(51px, 5vw, 72px)/1 var(--serif); letter-spacing: -.03em; }
.competences-section { background: #fff; }
.practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(45px, 6.5vw, 96px); }
.practice-area { padding: 28px 0 37px; border-top: 1px solid var(--line); }
.practice-area h3 { margin-bottom: 17px; font: 400 clamp(29px, 2.7vw, 39px)/1.08 var(--serif); }
.practice-area ul { max-width: 550px; margin: 0; padding-left: 18px; color: var(--text); font-size: 15px; line-height: 1.7; }
.practice-area li { padding-left: 4px; margin-bottom: 8px; }
.practice-area li::marker { color: var(--orange); font-size: .75em; }

.about-section { padding-block: 0; background: var(--orange-pale); }
.about-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: stretch; gap: clamp(50px, 7vw, 100px); }
/* Pull the photo to the viewport edge, capped at the 1700px hero boundary. */
.about-photo { position: relative; min-height: 590px; margin: 0; margin-left: calc(max(0px, 50vw - 850px) - max(0px, 50vw - 690px) - clamp(24px, 5.5vw, 78px)); }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: sepia(.12) saturate(.88); }
.about-content { padding-block: clamp(80px, 8.5vw, 120px); }
.about-content .section-head { margin-bottom: 25px; }
.about-name { margin-bottom: 18px; color: var(--orange); font: 400 31px/1.1 var(--serif); }
.about-content > p:not(.about-name) { max-width: 665px; margin-bottom: 19px; color: var(--text); font-size: 16px; line-height: 1.8; }
.about-content > p:last-child { margin-bottom: 0; }

.fees-section { background: #fff; }
.fees-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fee-area { padding: 27px clamp(19px, 2.3vw, 36px) 15px; border-left: 1px solid var(--line); }
.fee-area:first-child { padding-left: 0; border-left: 0; }
.fee-area h3 { margin-bottom: 18px; font: 400 clamp(28px, 2.6vw, 37px)/1.08 var(--serif); }
.fee-area p { margin-bottom: 15px; color: var(--text); font-size: 15px; line-height: 1.75; }
.fee-area p a { color: var(--orange); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.fee-area p a:hover { color: var(--ink); }
.fees-note { max-width: 900px; margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text); font-size: 15px; line-height: 1.7; }

.contact-section { background: var(--dark-orange); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 110px); }
.contact-section .section-head { margin-bottom: 35px; }
.contact-section h2 { color: #fff; }
.contact-email, .contact-phone { display: block; width: fit-content; max-width: 100%; margin-bottom: 14px; font: 400 clamp(24px, 2.6vw, 36px)/1.15 var(--serif); overflow-wrap: anywhere; }
.contact-email:hover, .contact-phone:hover { color: #ffe0d1; }
.contact-facts { padding-top: 10px; }
.contact-facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 25px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.35); }
.contact-facts span { color: #f7d4c1; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-facts p, .contact-facts address { margin: 0; color: #fff; font-size: 16px; font-style: normal; line-height: 1.6; }
.map-link { display: inline-block; margin-top: 15px; color: #ffe0d1; font-size: 13px; font-weight: 700; }
.map-link:hover { text-decoration: underline; }
.site-footer { background: #702b1b; color: #ffe6da; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 78px; font-size: 11px; }
.footer-inner > div { display: flex; flex-wrap: wrap; gap: 25px; }
.footer-inner a:hover { color: #fff; }

/* Legal page */
.legal-main { min-height: 65vh; padding-block: 90px 110px; background: var(--paper); }
.legal-main h1 { margin: 14px 0 45px; font: 400 clamp(61px, 6.4vw, 92px)/1 var(--serif); letter-spacing: -.035em; }
.legal-main .section-kicker { color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.legal-card { padding: 29px; background: #fff; border: 1px solid var(--line); }
.legal-card h2 { margin: 0 0 17px; font: 400 34px/1.1 var(--serif); }
.legal-card p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.75; }
.legal-card a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.legal-notice { max-width: 990px; margin: 25px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.legal-notice a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .fees-grid { grid-template-columns: 1fr; }
  .fee-area, .fee-area:first-child { padding: 25px 0 20px; border-left: 0; border-bottom: 1px solid var(--line); }
  .fee-area:last-child { grid-column: auto; padding: 25px 0 20px; border-top: 0; border-bottom: 0; }
  .fee-area p { max-width: 760px; }
}

@media (max-width: 900px) {
  .hero-inner { min-height: 700px; }
  .hero-content { min-width: 410px; }
  .hero h1 { font-size: 73px; }
  .hero-photo img { object-position: 56% 64%; }
  .about-grid { grid-template-columns: .85fr 1.15fr; gap: 40px; }
}

@media (max-width: 720px) {
  section[id] { scroll-margin-top: 70px; }
  .header-inner { min-height: 70px; }
  .brand { width: 157px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; margin-left: auto; }
  .mobile-menu summary { display: flex; align-items: center; gap: 13px; list-style: none; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-symbol { display: grid; gap: 5px; width: 23px; }
  .menu-symbol i { width: 23px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .mobile-menu[open] .menu-symbol i:first-child { transform: translateY(3px) rotate(45deg); }
  .mobile-menu[open] .menu-symbol i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .mobile-menu nav { position: absolute; right: -24px; top: calc(100% + 26px); display: grid; width: min(300px, 86vw); padding: 9px 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 30px rgba(30,40,42,.12); }
  .mobile-menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .mobile-menu nav a:last-child { border-bottom: 0; }
  .container { padding-inline: 23px; }
  .hero-inner { min-height: 660px; padding-inline: 0; }
  .hero-content { width: min(84vw, 440px); min-width: 0; padding: 38px 32px; }
  .hero h1 { font-size: clamp(62px, 12vw, 78px); }
  .hero-photo img { object-position: 52% 58%; }
  .section { padding-block: 80px; }
  .about-section { padding-block: 0; }
  .section-head { margin-bottom: 33px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-area { padding: 24px 0 27px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-photo { height: 430px; min-height: 0; margin-inline: -23px; }
  .about-photo img { object-position: 50% 32%; }
  .about-content { padding-block: 0 80px; }
  .about-content .section-head { margin-bottom: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-facts { padding-top: 0; }
  .legal-main { padding-block: 75px; }
  .legal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .hero-content { padding: 30px 25px; }
  .hero h1 { font-size: 59px; }
  .hero-domains { font-size: 16px; }
  .hero-contact { flex-direction: column; }
  .contact-facts > div { grid-template-columns: 1fr; gap: 7px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 22px; }
}

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