@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/cormorant-normal-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/cormorant-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/dm-sans-normal-latin.woff2') format('woff2');
}

:root {
  --paper: #f5f3ec;
  --ink: #283226;
  --olive: #394735;
  --muted: #61695d;
  --rule: #c1c5b8;
  --focus: #526143;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --radius: 18px;
  --gutter: clamp(24px, 5vw, 80px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
::selection { background: var(--olive); color: var(--paper); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; border: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font: 400 1em/1.04 var(--serif); letter-spacing: -.025em; }
h2 { font-size: clamp(44px, 4.8vw, 72px); text-wrap: balance; }
em { font-weight: 400; }
img { display: block; max-width: 100%; object-fit: cover; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.header, .hero, .section, .footer { width: calc(100% - 2 * var(--gutter)); max-width: 1440px; margin-inline: auto; }
.header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--rule); }
.brand { font: 400 clamp(18px, 1.9vw, 26px)/1.25 var(--serif); letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; min-height: 44px; }
.header nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); font-size: 14px; }
.header nav > a:not(.pill) { display: inline-flex; align-items: center; min-height: 44px; }
.menu { display: none; background: none; padding: 8px 0 8px 12px; min-height: 44px; align-items: center; gap: 12px; font-size: 14px; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 10px 26px; border-radius: 40px; font: 400 20px/1.25 var(--serif); transition: background-color .18s ease; white-space: nowrap; }
.dark { background: var(--olive); color: var(--paper); }
.dark:hover { background: #485842; }
.light { background: var(--paper); color: var(--ink); }
.light:hover { background: #e1e6d8; }
.hero { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 60%); padding-top: 28px; align-items: stretch; gap: 0; }
.hero-copy { padding: clamp(36px, 5vw, 80px) 40px 20px 0; display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 { font-size: clamp(60px, 6.5vw, 96px); line-height: 1.03; margin-bottom: 30px; }
.hero-description { font: 400 clamp(22px, 2vw, 28px)/1.3 var(--serif); max-width: 340px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; }
.text-link { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 5px; }
.signature { margin-top: auto; padding-top: 38px; font: 400 23px/1.35 var(--serif); }
.line { display: block; width: 54px; height: 1px; background: var(--muted); margin-bottom: 15px; }
.signature small { display: block; font: 400 13px/1.5 var(--sans); color: var(--muted); margin-top: 4px; }
.hero-visual { border-radius: var(--radius); overflow: hidden; min-height: 640px; }
.hero-photo { width: 100%; height: 100%; aspect-ratio: 1.12; object-position: 53% 50%; }
.section { padding-block: 96px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 44px; }
.section-heading p { color: var(--muted); font-size: 14px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 40px; }
.project { background: none; padding: 0; text-align: left; min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.project-image { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1.8; }
.project-image img { width: 100%; height: 100%; }
.project-image.plan { background: #e9e8df; }
.project-image.plan img { object-fit: contain; padding: 16px; }
.project-title { font: 400 32px/1.2 var(--serif); margin-top: 18px; }
.project-place { color: var(--muted); font-size: 13px; margin-top: 7px; }
.project-action { font-size: 14px; display: flex; gap: 12px; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; margin-top: 8px; }
.project:hover .project-action { color: #4a6240; }
.project-bottom { margin-top: 48px; padding-block: 20px; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; }
.text-button { color: var(--ink); background: none; padding: 10px 0; display: inline-flex; gap: 14px; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; font-size: 14px; }
.services { padding-top: 0; }
.services h2 { margin-bottom: 42px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.service-grid article { border-top: 1px solid var(--rule); padding-top: 24px; }
.service-grid h3 { font-size: clamp(34px, 3vw, 46px); margin-bottom: 18px; }
.service-grid p { max-width: 32ch; }
.studio { padding-top: 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.portrait { overflow: hidden; border-radius: var(--radius); }
.portrait img { width: 100%; height: auto; aspect-ratio: 1.25; object-position: 42% 48%; }
.studio-copy h2 { margin-bottom: 32px; }
.studio-copy p { max-width: 40ch; line-height: 1.85; }
.contact { background: var(--olive); color: var(--paper); }
.contact-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: 72px; }
.contact-copy { border-left: 1px solid #899581; padding-left: 64px; }
.contact-copy > p { margin-bottom: 24px; }
.contact a:focus-visible, .contact button:focus-visible { outline-color: var(--paper); }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; margin-top: 24px; font-style: normal; font-size: 15px; }
.contact-details a, .contact-social, .chat-link { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 5px; }
.contact-details a { overflow-wrap: anywhere; }
.contact-details span { color: #dde4d4; padding-top: 4px; }
.contact-social { margin-top: 16px; font-size: 14px; }
.chat-link { display: flex; background: none; color: var(--paper); padding: 0; margin-top: 12px; font-size: 14px; }
.chat-notice { max-width: 38ch; font-size: 14px; margin-top: 12px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px 40px; padding-right: 140px; }
.footer .brand { font-size: 18px; }
.footer p, .footer > a:last-child { font-size: 13px; color: var(--muted); }
.footer > a:last-child { min-height: 44px; display: flex; align-items: center; }
.skip { position: absolute; top: -100px; left: 12px; background: var(--olive); color: white; z-index: 10; padding: 12px; }
.skip:focus { top: 8px; }
dialog { width: min(960px, 92vw); max-height: 90dvh; padding: 24px; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); overflow-y: auto; }
dialog::backdrop { background: #1b271ccc; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.dialog-header h2 { font-size: clamp(26px, 3vw, 36px); }
.dialog-close { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; background: var(--olive); color: var(--paper); border-radius: 50%; }
#dialog-media img { margin: auto; max-height: 62dvh; width: auto; border-radius: 10px; object-fit: contain; }
dialog p { font-size: 15px; margin-top: 16px; }
dialog .photo-source { color: var(--muted); font-size: 13px; }
.project-contact { margin-top: 16px; white-space: normal; }
dialog video { display: block; width: 100%; max-height: 65dvh; aspect-ratio: 16 / 9; border-radius: 10px; background: var(--ink); }
body:has(dialog[open]) { overflow: hidden; }
@media (max-width: 1100px) {
  .header { gap: 20px; }
  .header nav { gap: 20px; font-size: 13px; }
  .brand { font-size: 21px; }
  .nav-contact { font-size: 18px; padding-inline: 20px; }
  .hero-copy { padding-top: 36px; padding-right: 26px; }
  .hero h1 { font-size: clamp(58px, 6.4vw, 72px); }
  .hero-visual { min-height: 570px; }
  .hero-actions { gap: 8px; }
  .hero-actions .pill { font-size: 18px; padding-inline: 20px; }
  .signature { font-size: 21px; }
  .studio { gap: 40px; }
  .contact-heading { gap: 40px; }
  .contact-copy { padding-left: 40px; }
}
@media (max-width: 850px) {
  .header { min-height: 88px; position: relative; z-index: 3; }
  .menu { display: inline-flex; }
  .header nav { display: none; position: absolute; inset: 78px calc(-1 * var(--gutter)) auto; background: var(--paper); padding: 20px var(--gutter); border-bottom: 1px solid var(--rule); }
  .header nav.open { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero { grid-template-columns: 46% 54%; }
  .hero h1 { font-size: 58px; }
  .hero-description { font-size: 23px; }
  .hero-visual { min-height: 560px; }
  .hero-photo { aspect-ratio: auto; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .signature { font-size: 20px; }
  .service-grid { gap: 24px; }
  .service-grid h3 { font-size: 33px; }
  .service-grid p { font-size: 15px; }
  .section { padding-block: 72px; }
  .services, .studio { padding-top: 0; }
  .footer { flex-wrap: wrap; padding-right: 140px; }
}
@media (max-width: 650px) {
  :root { --gutter: 24px; --radius: 16px; }
  .brand { font-size: 18px; letter-spacing: .08em; }
  .hero { display: flex; flex-direction: column; padding-top: 0; }
  .hero-copy { padding: 36px 0 32px; }
  .hero h1 { font-size: clamp(54px, 14.6vw, 76px); margin-bottom: 24px; }
  .hero-description { font-size: 24px; max-width: 28ch; }
  .hero-actions { gap: 4px; margin-top: 26px; }
  .hero-actions .pill { font-size: 20px; padding-inline: 24px; }
  .signature { margin-top: 0; padding-top: 28px; font-size: 20px; }
  .signature .line { margin-bottom: 12px; }
  .hero-visual { min-height: 0; }
  .hero-photo { height: auto; aspect-ratio: 1 / 1.05; }
  .section { padding-block: 64px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading p { margin-top: 20px; }
  h2 { font-size: clamp(42px, 11vw, 56px); }
  .project-grid { grid-template-columns: 1fr; gap: 36px; }
  .project-image { aspect-ratio: 1.35; }
  .project-title { font-size: 30px; margin-top: 16px; }
  .project-place { font-size: 13px; }
  .project-bottom { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 32px; }
  .services { padding-top: 0; }
  .services h2 { margin-bottom: 32px; }
  .service-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-grid article { padding-top: 20px; }
  .service-grid h3 { font-size: 40px; margin-bottom: 12px; }
  .service-grid p { font-size: 16px; max-width: 36ch; }
  .studio { grid-template-columns: 1fr; gap: 32px; padding-top: 0; }
  .portrait img { aspect-ratio: 1.2; }
  .studio-copy h2 { margin-bottom: 24px; }
  .contact-heading { grid-template-columns: 1fr; gap: 32px; padding-block: 48px; }
  .contact-copy { border-left: 0; border-top: 1px solid #899581; padding: 28px 0 0; }
  .contact h2 { font-size: 48px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px 0 88px; }
  dialog { width: 94vw; max-width: none; padding: 16px; }
  .dialog-header { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill { transition: none; }
}
