@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
  --navy: #10243b;
  --navy-deep: #0b1a2c;
  --ink: #1b2733;
  --muted: #65717d;
  --cream: #f7f3ed;
  --paper: #fdfcf9;
  --line: #d8d4ca;
  --gold: #b18a4a;
  --gold-pale: #d7be8e;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(16, 36, 59, 0.12);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.shell { width: min(100% - 48px, 1200px); margin: 0 auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; color: var(--navy); background: var(--white); transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: relative; z-index: 10; background: var(--paper); border-bottom: 1px solid rgba(16, 36, 59, .13); }
.header-inner { min-height: 92px; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; display: block; width: 196px; }
.brand img { width: 100%; height: 56px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-left: auto; }
.main-nav a, .header-call { color: var(--navy); font-size: .86rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.main-nav a { position: relative; padding: 8px 0; }
.main-nav a::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: var(--gold); content: ''; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-call { padding: 10px 16px; border: 1px solid var(--navy); transition: color .2s ease, background .2s ease; }
.header-call:hover, .header-call:focus-visible { color: var(--white); background: var(--navy); }
.menu-toggle { display: none; }

.hero { padding-bottom: 84px; }
.hero-media { width: min(100% - 48px, 1200px); margin: 32px auto 0; }
.photo-trigger { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; text-align: inherit; }
.photo-trigger img { width: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.photo-trigger:hover img { transform: scale(1.025); }
.photo-trigger:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.hero-photo { aspect-ratio: 1.75 / 1; background: var(--cream); }
.hero-photo img { height: 100%; object-fit: cover; object-position: 62% 10%; }
.hero-copy { max-width: 860px; padding-top: 56px; margin-left: max(24px, calc((100vw - 1200px) / 2)); }
.eyebrow, .section-marker { margin: 0 0 16px; color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .17em; line-height: 1.2; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
h1 { max-width: 760px; margin-bottom: 20px; color: var(--navy); font-size: clamp(2.55rem, 6vw, 5.25rem); }
h2 { margin-bottom: 20px; color: var(--navy); font-size: clamp(2.15rem, 4vw, 3.75rem); }
h3 { margin-bottom: 10px; color: var(--navy); font-size: 1.5rem; }
.hero-intro { max-width: 650px; margin-bottom: 31px; color: #435364; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.action-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 21px; border: 1px solid transparent; font-size: .9rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(16, 36, 59, .17); }
.button-primary { color: var(--white); background: var(--navy); }
.button-primary:hover, .button-primary:focus-visible { background: #17334f; }
.text-link { color: var(--navy); font-size: .91rem; font-weight: 700; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.text-link:hover span, .text-link:focus-visible span { transform: translateX(4px); }
.hero-practice-link,
.intro-call,
.contact-block > a:not(.light-link),
.light-link,
.social-link,
.footer-brand,
.footer-layout a:not(.footer-brand) { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }

.quiet-intro { padding: 68px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.intro-layout { display: grid; grid-template-columns: .75fr 1.8fr .7fr; gap: 42px; align-items: start; }
.section-marker { padding-top: 10px; color: var(--gold); }
.intro-layout h2 { max-width: 660px; margin-bottom: 15px; font-size: clamp(1.9rem, 3.5vw, 3.1rem); }
.intro-layout p:not(.section-marker) { max-width: 670px; margin-bottom: 0; color: #495867; font-size: 1.05rem; }
.intro-call { padding-top: 10px; text-align: right; }

.practice-section { padding: 110px 0 116px; }
.section-heading { margin-bottom: 46px; }
.split-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 56px; align-items: end; }
.split-heading h2 { max-width: 720px; margin-bottom: 0; }
.section-lede { max-width: 320px; margin: 0 0 6px auto; color: var(--muted); font-size: 1.02rem; }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.practice-card { min-height: 190px; padding: 28px 28px 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background .2s ease; }
.practice-card:hover { background: #f8f4ed; }
.practice-card h3 { margin-bottom: 12px; font-size: 1.43rem; }
.practice-card p { margin-bottom: 0; color: var(--muted); font-size: .96rem; line-height: 1.55; }

.founder-section { padding: 112px 0; color: var(--white); background: var(--navy); }
.founder-layout { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.portrait-photo { background: var(--navy-deep); box-shadow: var(--shadow); }
.portrait-photo img { aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 48% 38%; }
.founder-copy h2, .founder-copy h3 { color: var(--white); }
.founder-copy .eyebrow { color: var(--gold-pale); }
.founder-role { margin: -4px 0 28px; color: var(--gold-pale); font-size: 1rem; font-weight: 600; }
.founder-quote { max-width: 600px; margin: 0 0 28px; color: var(--white); font-family: var(--serif); font-size: clamp(1.3rem, 2.3vw, 1.75rem); font-style: italic; line-height: 1.35; }
.founder-story { color: #dce3e9; }
.founder-story p { margin-bottom: 18px; }
.founder-story p:last-child { margin-bottom: 0; }

.gallery-section { padding: 112px 0; background: var(--cream); }
.gallery-heading { margin-bottom: 38px; }
.gallery-heading h2 { margin-bottom: 0; }
.photo-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.gallery-photo { grid-column: span 4; min-height: 255px; background: #e9e5de; }
.gallery-photo img { width: 100%; height: 100%; min-height: 255px; object-fit: cover; }
.photo-feature { grid-column: span 8; grid-row: span 2; min-height: 530px; }
.photo-feature img { min-height: 530px; object-position: center center; }
.gallery-photo:nth-child(2) img { object-position: 49% 39%; }
.gallery-photo:nth-child(3) img { object-position: 51% 37%; }
.gallery-photo:nth-child(4) img { object-position: 54% 38%; }

.contact-section { padding: 112px 0; color: var(--white); background: var(--navy-deep); }
.contact-layout { display: grid; grid-template-columns: 1.2fr .85fr; gap: 58px 72px; }
.contact-intro { padding-right: 6%; }
.contact-intro h2, .contact-intro h3, .message-form h3 { color: var(--white); }
.contact-intro .eyebrow, .message-form .eyebrow { color: var(--gold-pale); }
.contact-intro > p:not(.eyebrow), .form-intro { max-width: 580px; color: #d1dbe4; font-size: 1.08rem; }
.button-light { margin-top: 14px; color: var(--navy); background: #f3ede4; }
.button-light:hover, .button-light:focus-visible { background: var(--white); }
.contact-panel { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.24); }
.contact-block { padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.24); }
.contact-block h3 { margin-bottom: 8px; color: var(--gold-pale); font-size: 1.23rem; }
.contact-block p, .contact-block address, .contact-block a { margin: 0; color: var(--white); font-size: 1rem; font-style: normal; text-decoration: none; }
.contact-block > a:not(.light-link) { font-family: var(--serif); font-size: 1.85rem; }
.light-link { display: inline-block; margin-top: 8px !important; color: var(--gold-pale) !important; font-size: .92rem !important; font-weight: 700; }
.message-form { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 18px; max-width: 900px; padding-top: 50px; border-top: 1px solid rgba(255,255,255,.24); }
.message-form .eyebrow, .message-form h3, .message-form .form-intro { grid-column: 1 / -1; }
.message-form h3 { margin: 0; font-size: 2.1rem; }
.message-form .form-intro { margin-bottom: 11px; }
.message-form label { color: #dbe2e8; font-size: .85rem; font-weight: 700; }
.message-form input, .message-form textarea { width: 100%; padding: 12px; color: var(--navy-deep); border: 1px solid transparent; border-radius: 0; background: var(--white); }
.message-form input:focus, .message-form textarea:focus { outline: 3px solid var(--gold-pale); outline-offset: 2px; }
.message-form label[for="message-detail"], .message-form textarea, .form-submit { grid-column: 1 / -1; }
.form-submit { justify-self: start; margin-top: 8px; border: 0; }

.social-section { padding: 76px 0; background: var(--paper); }
.social-layout { display: flex; align-items: end; justify-content: space-between; gap: 34px; }
.social-layout h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.social-link { padding-bottom: 6px; border-bottom: 1px solid var(--navy); color: var(--navy); font-size: 1rem; font-weight: 700; text-decoration: none; }
.social-link span { margin-left: 6px; color: var(--gold); }

.site-footer { padding: 32px 0; color: #d7dee5; background: #0b1a2c; }
.footer-layout { display: grid; grid-template-columns: 1.3fr 1.3fr auto; align-items: center; gap: 26px; }
.footer-brand { color: var(--white); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; text-decoration: none; }
.footer-layout p, .footer-layout a:not(.footer-brand) { margin: 0; color: #d7dee5; font-size: .88rem; text-decoration: none; }
.footer-layout a:not(.footer-brand) { font-weight: 700; }

.sticky-cta { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 20; display: flex; min-height: 49px; align-items: center; justify-content: center; padding: 10px 17px; color: var(--white); border: 1px solid var(--gold); background: var(--navy); box-shadow: 0 10px 28px rgba(0,0,0,.28); font-size: .88rem; font-weight: 700; text-decoration: none; opacity: 0; pointer-events: none; transform: translateY(18px); transition: opacity .22s ease, transform .22s ease; }
.sticky-cta.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.sticky-cta:focus-visible { outline: 3px solid var(--gold-pale); outline-offset: 3px; }
.lightbox { width: min(100vw - 32px, 1120px); max-width: none; max-height: min(100vh - 32px, 900px); padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(3, 12, 22, .9); }
.lightbox-content { position: relative; display: flex; align-items: center; justify-content: center; max-height: calc(100vh - 32px); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 32px); object-fit: contain; }
.lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; width: 44px; height: 44px; place-items: center; padding: 0; color: var(--white); border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(11,26,44,.78); font-size: 2rem; line-height: 1; }
.lightbox-close:hover, .lightbox-close:focus-visible { background: var(--navy); }

@media (max-width: 860px) {
  .header-inner { min-height: 80px; gap: 14px; }
  .brand { width: 164px; }
  .brand img { height: 48px; }
  .menu-toggle { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; gap: 9px; margin-left: auto; padding: 9px 0; color: var(--navy); border: 0; background: transparent; font-size: .85rem; font-weight: 700; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 1px; background: currentColor; content: ''; transition: transform .2s ease; }
  .menu-icon { position: relative; }
  .menu-icon::before { position: absolute; top: -6px; }
  .menu-icon::after { position: absolute; top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 0; padding: 12px 24px 22px; border-bottom: 1px solid rgba(16, 36, 59, .13); background: var(--paper); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease; }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a { padding: 12px 0; }
  .header-call { display: none; }
  .hero { padding-bottom: 64px; }
  .hero-media { width: 100%; margin-top: 0; }
  .hero-photo { aspect-ratio: 1.36 / 1; }
  .hero-photo img { object-position: 62% 46%; }
  .hero-copy { width: min(100% - 48px, 720px); padding-top: 39px; margin: 0 auto; }
  .intro-layout, .split-heading, .founder-layout, .contact-layout { grid-template-columns: 1fr; }
  .intro-layout { gap: 20px; }
  .section-marker, .intro-call { padding-top: 0; text-align: left; }
  .split-heading { gap: 15px; }
  .section-lede { margin-left: 0; }
  .practice-section, .founder-section, .gallery-section, .contact-section { padding: 78px 0; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-card { min-height: 160px; padding: 24px 21px; }
  .founder-layout { gap: 38px; }
  .founder-media { max-width: 600px; }
  .photo-gallery { gap: 14px; }
  .gallery-photo { grid-column: span 6; min-height: 215px; }
  .gallery-photo img { min-height: 215px; }
  .photo-feature { grid-column: 1 / -1; min-height: 330px; }
  .photo-feature img { min-height: 330px; }
  .contact-layout { gap: 45px; }
  .message-form { grid-template-columns: 1fr; }
  .message-form input, .message-form label { grid-column: 1 / -1; }
  .social-layout { align-items: flex-start; flex-direction: column; }
  .footer-layout { grid-template-columns: 1fr; gap: 7px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 32px, 1200px); }
  .hero-copy { width: min(100% - 32px, 720px); }
  .brand { width: 150px; }
  h1 { font-size: 2.52rem; }
  h2 { font-size: 2.15rem; }
  .hero-intro { font-size: 1.05rem; }
  .action-row { align-items: flex-start; flex-direction: column; gap: 18px; }
  .button { width: 100%; min-height: 53px; }
  .quiet-intro { padding: 56px 0; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: auto; }
  .founder-section, .gallery-section, .contact-section, .practice-section { padding: 68px 0; }
  .portrait-photo img { aspect-ratio: 1 / 1.08; object-position: 48% 35%; }
  .gallery-photo { min-height: 190px; }
  .gallery-photo img { min-height: 190px; }
  .photo-feature { min-height: 245px; }
  .photo-feature img { min-height: 245px; }
  .contact-intro { padding-right: 0; }
  .message-form { padding-top: 39px; }
  .message-form h3 { font-size: 1.8rem; }
  .sticky-cta { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); min-height: 48px; }
}

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