:root {
  --ivory: #faf7f2;
  --cream: #f0eae1;
  --beige: #e4d9cb;
  --taupe: #8e8074;
  --espresso: #382c26;
  --ink: #211d1a;
  --muted: #66584d;
  --champagne: #bea783;
  --line: #d8cec1;
  --white: #fffdfa;
  --header-bg: rgb(250 247 242 / 96%);
  --hover: #8b6f51;
  color-scheme: light;
}
html[data-theme="dark"] {
  --ivory: #1d1916;
  --cream: #28221e;
  --beige: #3a312a;
  --taupe: #ad9c8b;
  --espresso: #f3ede4;
  --ink: #f3ede4;
  --muted: #c5b8aa;
  --champagne: #bea783;
  --line: #594b40;
  --white: #211c18;
  --header-bg: rgb(29 25 22 / 96%);
  --hover: #d2b992;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 16px/1.75 Montserrat, 'Avenir Next', Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, em, .brand span, .lead, .expertise-end > p { font-family: 'Cormorant Garamond', 'Bodoni 72', Didot, Georgia, serif; font-weight: 400; }
em { font-weight: 400; }
section { scroll-margin-top: 88px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--espresso); outline-offset: 5px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.13em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: absolute; left: 20px; top: -80px; z-index: 20; padding: 10px 16px; background: var(--espresso); color: var(--ivory); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 88px; padding: 0 clamp(24px, 5vw, 80px); background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.brand { display: inline-flex; align-items: center; gap: 16px; flex: none; color: var(--espresso); text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand .mark-dark { display: none; }
html[data-theme="dark"] .brand .mark-light { display: none; }
html[data-theme="dark"] .brand .mark-dark { display: block; }
.brand span { border-left: 1px solid var(--champagne); padding-left: 16px; font-size: clamp(26px, 2.7vw, 34px); line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); }
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.theme-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 118px; height: 44px; border: 1px solid var(--line); border-radius: 3px; padding: 0 12px; background: transparent; color: var(--espresso); cursor: pointer; font: 500 12px/1 Montserrat, 'Avenir Next', Arial, sans-serif; white-space: nowrap; }
.theme-button:hover { border-color: var(--champagne); background: var(--cream); }
.theme-button:focus-visible { outline: 2px solid var(--champagne); outline-offset: 4px; }
.theme-icon { display: block; width: 16px; height: 16px; flex: none; }
.theme-icon-sun, .theme-label-light { display: none; }
html[data-theme="dark"] .theme-icon-moon, html[data-theme="dark"] .theme-label-dark { display: none; }
html[data-theme="dark"] .theme-icon-sun, html[data-theme="dark"] .theme-label-light { display: block; }
.site-header nav a { border-bottom: 1px solid transparent; padding: 7px 0; font-size: 14px; font-weight: 500; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { border-color: var(--espresso); }
.site-header .nav-contact { border-color: var(--espresso); }
.nav-contact .icon { width: 13px; height: 13px; margin-left: 9px; }
.menu-toggle { display: none; border: 0; background: none; color: var(--espresso); }

.hero { display: flex; flex-direction: column; min-height: min(740px, calc(100svh - 88px)); padding: 0 clamp(24px, 5vw, 80px); background: var(--ivory); }
.hero-top, .hero-bottom { display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 500; }
.hero-top { min-height: 70px; border-bottom: 1px solid var(--line); }
.hero-top a { text-decoration: none; border-bottom: 1px solid var(--espresso); }
.hero-bottom { justify-content: flex-end; min-height: 64px; margin-top: auto; border-top: 1px solid var(--line); }
.hero-bottom a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.hero-bottom .icon { width: 16px; height: 16px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 2.8fr) minmax(220px, .7fr); align-items: end; gap: clamp(40px, 5vw, 90px); width: 100%; max-width: 1500px; margin: auto; padding: clamp(72px, 8vw, 120px) 0 clamp(75px, 8vw, 120px); }
.eyebrow { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .17em; line-height: 1.6; text-transform: uppercase; }
.eyebrow-rule { display: inline-block; width: 28px; margin-right: 12px; border-top: 1px solid var(--champagne); vertical-align: middle; }
.hero h1 { max-width: 1080px; margin-top: 28px; font-size: clamp(5rem, 7.6vw, 8.6rem); line-height: .91; letter-spacing: -.055em; }
.hero h1 em { white-space: nowrap; }
.hero-aside { padding-bottom: 7px; }
.hero-deck { max-width: 320px; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 22px; margin-top: 30px; }
.button, .text-link, .inline-link, .project a { display: inline-flex; align-items: center; gap: 20px; width: fit-content; border: 0; border-bottom: 1px solid var(--espresso); padding: 0 0 7px; color: var(--espresso); background: transparent; font-size: 14px; font-weight: 600; text-decoration: none; }
.button .icon, .text-link .icon, .inline-link .icon, .project a .icon { width: 18px; height: 18px; }
.button:hover, .text-link:hover, .inline-link:hover, .project a:hover { color: var(--hover); border-color: var(--hover); }

.section { padding: clamp(80px, 9vw, 140px) clamp(24px, 5vw, 80px); }
.section-heading { max-width: 1500px; margin: 0 auto 60px; }
.section-heading h2 { margin: 16px 0 20px; font-size: clamp(4rem, 6.4vw, 7.2rem); line-height: .96; letter-spacing: -.04em; }
.section-heading > p:last-child { max-width: 670px; color: var(--muted); font-size: 17px; line-height: 1.7; }

.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(48px, 7vw, 120px); align-items: start; max-width: 1500px; margin: auto; }
.portrait-wrap img { width: 100%; height: clamp(390px, 39vw, 580px); object-fit: cover; object-position: 40% center; }
.portrait-caption { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; letter-spacing: .03em; }
.about-copy { max-width: 700px; }
.about-copy .section-heading { margin-bottom: 28px; }
.about-copy h2 { font-size: clamp(3.4rem, 4.4vw, 5.4rem); line-height: 1.02; }
.about-copy p:not(.eyebrow) { margin-bottom: 24px; font-size: 16px; line-height: 1.8; }
.about-copy .lead { color: var(--espresso); font-size: clamp(1.45rem, 2vw, 2rem) !important; line-height: 1.4 !important; }
.about-copy strong { color: var(--espresso); font-weight: 600; }
.about-copy .about-ingredient { width: fit-content; margin: 42px 0 16px; padding: 3px 8px; background: #e7d28e; color: #382c26; }
.about-more { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(48px, 7vw, 120px); max-width: 1500px; margin: 90px auto 0; border-top: 1px solid var(--line); padding-top: 42px; }
.about-more h3 { margin-top: 16px; font-size: clamp(3.4rem, 5vw, 6rem); line-height: 1; }
.about-more ul { columns: 2; column-gap: 40px; margin: 0 0 30px; padding-left: 20px; }
.about-more li { break-inside: avoid; margin-bottom: 13px; padding-left: 4px; }
.about-more p:not(.eyebrow) { margin-bottom: 24px; font-size: 16px; }

.expertise { background: var(--ivory); }
.expertise .section-heading h2 { max-width: 1200px; }
.expertise-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 100px); max-width: 1500px; margin: auto; }
.expertise-list article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 20px; border-top: 1px solid var(--line); padding: 32px 0 35px; }
.service-no { padding-top: 6px; color: var(--taupe); font-size: 13px; font-weight: 600; }
.expertise-list h3 { margin-bottom: 16px; font-size: clamp(2.2rem, 3vw, 3.2rem); line-height: 1.05; }
.expertise-list p { max-width: 600px; margin: 0 0 15px; font-size: 16px; }
.expertise-list p:last-child { margin-bottom: 0; }
.expertise-list ul { margin: 14px 0 0; padding-left: 20px; }
.expertise-list li { margin-bottom: 12px; }
.expertise-list a { text-underline-offset: 5px; }
.expertise-end { display: grid; grid-template-columns: 1.5fr .5fr; gap: 50px; align-items: end; max-width: 1500px; margin: 50px auto 0; border-top: 1px solid var(--line); padding-top: 40px; }
.expertise-end > p { max-width: 930px; color: var(--espresso); font-size: clamp(2rem, 3vw, 3.25rem); line-height: 1.2; }
.expertise-end .eyebrow { margin-bottom: 16px; }

.work { background: var(--cream); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 38px; max-width: 1500px; margin: auto; }
.project { display: flex; flex-direction: column; min-width: 0; border-top: 1px solid var(--taupe); padding-top: 16px; }
.project-image { display: grid; place-items: center; height: clamp(260px, 27vw, 400px); margin-bottom: 24px; overflow: hidden; background: var(--white); }
.project-image img { width: 100%; height: 100%; object-fit: contain; }
.project h3 { margin: 0 0 3px; font-size: clamp(2.5rem, 3.5vw, 4rem); line-height: 1.08; letter-spacing: -.025em; }
.project-meta { margin-bottom: 16px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; line-height: 1.5; overflow-wrap: anywhere; text-transform: uppercase; }
.project p { max-width: 640px; margin-bottom: 16px; font-size: 16px; line-height: 1.75; }
.project a { margin-top: auto; }
.work-end { max-width: 1500px; margin: 65px auto 0; text-align: right; }

.contact { padding: clamp(80px, 9vw, 140px) clamp(24px, 5vw, 80px) 30px; background: var(--white); }
.contact-top, .contact h2, .contact-grid, footer { max-width: 1500px; margin-left: auto; margin-right: auto; }
.contact h2 { margin-top: 20px; margin-bottom: 65px; font-size: clamp(4.2rem, 8vw, 9rem); line-height: .9; letter-spacing: -.045em; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 7vw, 110px); padding-bottom: 120px; }
.contact-copy p { max-width: 640px; margin-bottom: 28px; font-size: 17px; line-height: 1.8; }
.contact-details { border-top: 1px solid var(--line); }
.contact-details > div { border-bottom: 1px solid var(--line); padding: 17px 0; }
.contact-details > div > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .15em; }
.contact-details a { overflow-wrap: anywhere; text-underline-offset: 5px; }
.contact-email { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: 'Cormorant Garamond', 'Bodoni 72', Didot, Georgia, serif; font-size: clamp(1.8rem, 3vw, 3.4rem); line-height: 1.2; text-decoration: none; }
.contact-email:hover { color: var(--hover); }
.contact-email .icon { width: .65em; height: .65em; }
.contact-details p { font-size: 16px; }
footer { display: flex; align-items: end; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); padding-top: 25px; color: var(--muted); font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 32px; }
.footer-brand .brand img { width: 30px; height: 30px; }
.footer-brand .brand span { font-size: 27px; }
footer a:not(.brand) { color: var(--espresso); text-decoration: none; }
footer a:not(.brand):hover { text-decoration: underline; text-underline-offset: 5px; }
footer .icon { width: 13px; height: 13px; margin-left: 5px; }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: clamp(5rem, 9vw, 7rem); }
  .hero-aside { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
  .hero-actions { flex-direction: row; gap: 28px; margin-top: 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-copy { max-width: 800px; }
  .portrait-wrap img { height: 490px; }
  .about-more { grid-template-columns: 1fr; gap: 28px; }
  .expertise-end { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { scroll-margin-top: 72px; }
  .site-header { min-height: 72px; padding: 0 24px; }
  .brand { gap: 10px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { padding-left: 10px; font-size: 26px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 600; cursor: pointer; }
  .menu-toggle span { font-size: 20px; font-weight: 400; line-height: 1; }
  .menu-toggle[aria-expanded='true'] span { transform: rotate(45deg); }
  .site-header nav { display: none; position: absolute; top: 71px; left: 0; right: 0; align-items: stretch; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 24px 18px; background: var(--ivory); box-shadow: 0 15px 20px rgb(56 44 38 / 8%); }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-header .nav-contact { border-color: var(--line); }
  .hero { min-height: auto; padding: 0 24px; }
  .hero-top { min-height: 50px; font-size: 10px; }
  .hero-top a { display: none; }
  .hero-inner { gap: 28px; padding: 55px 0 50px; }
  .hero h1 { margin-top: 22px; font-size: clamp(3.5rem, 12vw, 5rem); line-height: .96; }
  .hero h1 em { white-space: normal; }
  .hero-aside { display: block; }
  .hero-deck { max-width: 470px; font-size: 16px; }
  .hero-actions { flex-wrap: wrap; gap: 22px; margin-top: 25px; }
  .hero-bottom { min-height: 52px; font-size: 10px; }
  .section { padding: 75px 24px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: clamp(3.5rem, 10vw, 5rem); }
  .about-grid { gap: 35px; }
  .portrait-wrap img { height: 320px; }
  .about-copy h2 { font-size: clamp(3.3rem, 9vw, 4.6rem); }
  .about-copy .lead { font-size: 1.55rem !important; }
  .about-more { margin-top: 55px; }
  .about-more ul { columns: 1; }
  .expertise-list, .work-grid { grid-template-columns: 1fr; }
  .expertise-list article { grid-template-columns: 30px 1fr; gap: 12px; padding: 28px 0; }
  .expertise-list h3 { font-size: 2.5rem; }
  .expertise-end > p { font-size: 2.1rem; }
  .work-grid { gap: 50px; }
  .project-image { height: 250px; margin-bottom: 22px; }
  .project h3 { font-size: 2.8rem; }
  .contact { padding: 75px 24px 25px; }
  .contact h2 { margin-bottom: 46px; font-size: clamp(3.9rem, 11vw, 5.5rem); }
  .contact-grid { gap: 35px; padding-bottom: 70px; }
  .contact-email { font-size: clamp(1.38rem, 5.3vw, 2rem); }
  footer, .footer-brand { align-items: flex-start; flex-direction: column; gap: 16px; }
}
@media (max-width: 390px) {
  .brand span { font-size: 23px; }
  .hero h1 { font-size: 3.4rem; }
  .hero-actions { gap: 18px; }
  .project h3 { font-size: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html[data-theme="dark"] h1 em,
html[data-theme="dark"] h2 em { color: var(--champagne); }
html[data-theme="dark"] .project-image { background: #ece5dc; }
html[data-theme="dark"] .project-meta { color: var(--champagne); }
html[data-theme="dark"] .button-primary { border: 1px solid #f3ede4; padding: 11px 16px; background: #f3ede4; color: #1d1916; }
html[data-theme="dark"] .button-primary:hover { border-color: #bea783; background: #bea783; color: #1d1916; }
html[data-theme="dark"] .site-header nav { box-shadow: none; }

@media (max-width: 950px) {
  .site-header { min-height: 72px; }
  .site-header nav { display: none; position: absolute; top: 71px; left: 0; right: 0; align-items: stretch; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 24px 18px; background: var(--ivory); box-shadow: 0 15px 20px rgb(56 44 38 / 8%); }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 14px; font-weight: 600; cursor: pointer; }
  .menu-toggle span { font-size: 20px; font-weight: 400; line-height: 1; }
  .menu-toggle[aria-expanded='true'] span { transform: rotate(45deg); }
}
@media (max-width: 720px) {
  .site-header { gap: 8px; }
  .site-header > .brand span { display: none; }
  .header-actions { gap: 8px; }
  .theme-button { min-width: 116px; }
}
@media (max-width: 360px) {
  .site-header { padding: 0 16px; }
  .menu-toggle { font-size: 13px; gap: 6px; }
}
