@font-face {
  font-family: Manrope;
  src: url("assets/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #25282a;
  --sand: #f3f1ed;
  --white: #fff;
  --terra: #c87536;
  --terra-dark: #984718;
  --paper-text: #505456;
  --line: #dfdbd4;
  --dark-line: #535655;
  --dark-text: #dfddd8;
  --focus: #984718;
  --header-height: 72px;
  --call-height: calc(68px + env(safe-area-inset-bottom, 0px));
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--ink);
  font-synthesis: none;
  scroll-padding-top: calc(var(--header-height) + 10px);
  scroll-padding-bottom: var(--call-height);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-bottom: var(--call-height); background: var(--white); line-height: 1.65; }
body.gallery-open { overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
p, h1, h2, dl, dd { margin: 0; }
h1, h2 { font-weight: 800; line-height: 1.08; letter-spacing: -.05em; }
h1 { font-size: clamp(2.2rem, 8.15vw, 3.45rem); max-width: 13ch; }
h2 { font-size: clamp(2rem, 6.4vw, 3.6rem); }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex: none; }
.shell { width: min(1120px, calc(100% - 2 * clamp(18px, 5vw, 56px))); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.intro { color: var(--paper-text); max-width: 56ch; margin-top: 20px; font-size: 1.025rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--terra-dark);
  font-size: .81rem;
  font-weight: 800;
  letter-spacing: .145em;
}
.eyebrow::before { content: ""; inline-size: 26px; block-size: 2px; background: var(--terra); flex: none; }
.skip { position: fixed; top: 8px; left: 12px; z-index: 20; background: var(--white); padding: 10px 15px; transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header, .contact, .site-footer, .mobile-call, .lightbox { --focus: #f7ae74; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--ink); color: var(--white); border-bottom: 1px solid #424545; }
.header-layout { min-height: calc(var(--header-height) - 1px); position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wordmark { display: inline-grid; gap: 4px; line-height: 1.15; text-decoration: none; }
.wordmark strong, .site-footer strong { font-weight: 800; font-size: .96rem; letter-spacing: .065em; }
.wordmark span { color: #efad80; font-size: .73rem; font-weight: 750; letter-spacing: .175em; }
.menu-toggle { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; background: transparent; border: 1px solid #6d6f70; cursor: pointer; border-radius: 2px; }
.menu-toggle span { display: flex; }
.menu-toggle .menu-close, .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: flex; }
.site-header nav { display: none; position: absolute; top: 100%; inset-inline: 0; padding: 8px 14px; background: var(--ink); border: 1px solid var(--dark-line); }
.site-header nav[data-open] { display: grid; }
.site-header nav a { display: flex; align-items: center; min-height: 46px; padding-inline: 6px; font-size: .925rem; font-weight: 700; text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: #efad80; }

.hero { background: var(--sand); padding-block: clamp(52px, 8vw, 104px) clamp(56px, 8vw, 104px); }
.hero-layout { display: grid; align-items: center; gap: clamp(36px, 6vw, 86px); }
.hero .intro { max-width: 49ch; }
.hero-actions { display: grid; justify-items: start; gap: 10px; margin-top: 24px; }
.hero-number { display: flex; align-items: center; min-height: 44px; font-weight: 800; text-underline-offset: 4px; text-decoration-color: #9c8b7b; }
.hero-number:hover { color: var(--terra-dark); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .94rem;
  line-height: 1.3;
  font-weight: 800;
  text-decoration: none;
}
.button, .menu-toggle, .site-header nav a, .hero-number, summary, .photo img, .photo-zoom, .viewer-button, .contact-card a {
  transition: background-color 150ms, color 150ms, border-color 150ms, transform 150ms, opacity 150ms;
}
.button.primary { background: var(--terra-dark); color: var(--white); }
.button.primary:hover { background: #80390e; }
.button.primary:active { background: #682c09; }
.button.outline { background: transparent; border-color: #9c602e; color: #823d14; }
.button.outline:hover { background: #f2e7db; }
.button.outline:active { background: #ecdbc9; }
.button:active, .viewer-button:active, .menu-toggle:active { transform: scale(.97); }
.menu-toggle:hover { background: #424545; }
.menu-toggle:active { background: #535655; }

.portrait { position: relative; display: grid; grid-template-rows: 1fr auto; width: 100%; min-width: 0; min-height: 240px; aspect-ratio: 1.15; padding: 15px; background: #e9e4dc; border: 1px solid #d5cdc1; }
.portrait-frame { display: grid; place-items: center; border: 1px solid #c8bdb0; position: relative; }
.portrait-frame::before, .portrait-frame::after { position: absolute; content: ""; width: 18px; height: 18px; pointer-events: none; }
.portrait-frame::before { top: -1px; left: -1px; border-top: 2px solid #a75924; border-left: 2px solid #a75924; }
.portrait-frame::after { bottom: -1px; right: -1px; border-bottom: 2px solid #a75924; border-right: 2px solid #a75924; }
.portrait-frame span { display: grid; place-items: center; width: 62px; height: 62px; color: #6a594b; border: 1px solid #a79888; border-radius: 50%; }
.portrait-frame .icon { width: 28px; height: 28px; }
.portrait--photo { grid-template-rows: minmax(0, 1fr); aspect-ratio: 4 / 4.5; }
.portrait--photo .portrait-frame { min-height: 0; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.portrait--photo img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 49%; }
.portrait--photo .portrait-frame::before, .portrait--photo .portrait-frame::after { z-index: 1; }
.portrait p { text-align: center; color: #5e5147; font-weight: 750; margin-top: 12px; font-size: .83rem; }

.service-layout { display: grid; gap: 26px; }
.service-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(10px, 3vw, 18px); padding: 15px 3px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:hover, details[open] summary { background: var(--sand); }
summary:active { background: #ebe6df; }
summary:focus-visible { outline-offset: -2px; }
.service-icon, .disclosure { display: grid; place-items: center; width: 40px; height: 40px; }
.service-icon { background: #f4ece3; color: var(--terra-dark); }
.disclosure { width: 33px; color: var(--terra-dark); }
.disclosure span { display: flex; }
.disclosure .minus, details[open] .disclosure .plus { display: none; }
details[open] .disclosure .minus { display: flex; }
.service-label { font-weight: 800; line-height: 1.3; }
.service-label small { display: block; color: var(--paper-text); font-size: .82rem; font-weight: 650; margin-top: 4px; }
details ul { margin: 0; padding: 5px 16px 21px 30px; color: var(--paper-text); }
details li { padding: 3px 0; }
details li::marker { color: var(--terra-dark); }
.service-cta { margin-top: 20px; }
.service-cta p { color: var(--paper-text); margin-bottom: 13px; font-size: .95rem; }

.work { background: var(--sand); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1.8vw, 18px); margin-top: 30px; }
.photo { display: grid; position: relative; aspect-ratio: 1; background: #e4ded5; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo:hover img { transform: scale(1.035); }
.photo:active img { transform: scale(.975); opacity: .8; }
.photo:focus-visible { z-index: 1; }
.photo-zoom { display: grid; place-items: center; position: absolute; bottom: 8px; right: 8px; width: 34px; height: 34px; color: var(--white); background: #25282ae8; border-radius: 2px; }
.photo:hover .photo-zoom, .photo:focus-visible .photo-zoom { background: var(--terra-dark); }
.photo-zoom .icon { width: 18px; height: 18px; }
.gallery-note { margin-top: 14px; color: var(--paper-text); font-size: .88rem; }
.gallery-empty { margin-top: 24px; padding: 22px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); color: var(--paper-text); }

.contact { background: var(--ink); color: var(--white); }
.contact-layout { display: grid; align-items: center; gap: 28px; }
.contact h2 { max-width: 15ch; }
.contact .eyebrow { color: #efad80; }
.contact .intro { color: var(--dark-text); max-width: 49ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact .primary, .mobile-call .primary { background: var(--terra); color: #181715; }
.contact .primary:hover, .mobile-call .primary:hover { background: #dc8d52; }
.contact .primary:active, .mobile-call .primary:active { background: #e7a36f; }
.contact .outline { border-color: #929392; color: var(--white); }
.contact .outline:hover { background: #404342; }
.contact .outline:active { background: #4a4d4c; }
.contact-card { min-width: 0; background: #2e3132; border: 1px solid var(--dark-line); border-top: 2px solid var(--terra); padding: clamp(16px, 4vw, 32px); font-style: normal; }
.contact-card > strong { display: block; font-size: 1.4rem; letter-spacing: -.025em; font-weight: 800; margin-bottom: 14px; }
.contact-card dl > div { position: relative; border-top: 1px solid var(--dark-line); padding: 10px 0 10px 35px; }
.contact-card dl > div:last-child { padding-bottom: 0; }
.contact-card .icon { position: absolute; left: 0; top: 14px; color: #efad80; width: 20px; }
.contact-card dt { color: var(--dark-text); font-size: .82rem; }
.contact-card dd { font-weight: 750; overflow-wrap: anywhere; }
.contact-card a { display: inline-block; padding-block: 9px; margin-block: -5px; text-decoration-color: #a89c93; text-underline-offset: 4px; min-height: 44px; }
.contact-card a:hover { color: #efad80; }

.site-footer { background: var(--ink); color: var(--dark-text); border-top: 1px solid var(--dark-line); padding-block: 22px; font-size: .86rem; }
.site-footer strong { color: var(--white); }
.footer-layout { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; }
.mobile-call { position: fixed; z-index: 6; bottom: 0; inset-inline: 0; padding: 9px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--ink); border-top: 1px solid #535655; }
.mobile-call .button { display: flex; margin-inline: auto; max-width: 440px; }
.gallery-open .mobile-call { visibility: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  padding: 0;
  border: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  background: transparent;
  color: var(--white);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: #17191af5; }
.viewer {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 9px;
  width: min(1060px, 100%);
  height: min(940px, 100%);
  padding: max(10px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
}
.viewer-top, .viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.viewer-controls { justify-content: center; }
.photo-count { font-size: .9rem; font-weight: 750; }
.viewer-stage { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; min-height: 0; min-width: 0; overflow: hidden; }
.viewer-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; touch-action: pinch-zoom; }
.viewer-button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #777771; border-radius: 2px; padding: 0; background: #25282a; color: var(--white); cursor: pointer; }
.viewer-button:hover { background: #454747; }
.viewer-button:active { background: #555757; }

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .portrait:not(.portrait--photo) { aspect-ratio: 1.6; }
}
@media (min-width: 768px) {
  :root { --header-height: 76px; --call-height: 0px; }
  .menu-toggle, .mobile-call { display: none; }
  .site-header nav, .site-header nav[data-open] { display: flex; position: static; gap: clamp(8px, 2.4vw, 30px); padding: 0; border: 0; }
  .site-header nav a { white-space: nowrap; padding-inline: 2px; }
  .hero-layout { grid-template-columns: 1.3fr minmax(0, 1fr); }
  h1 { font-size: clamp(2.65rem, 5.25vw, 4.65rem); }
  .portrait { aspect-ratio: 4 / 4.5; padding: clamp(18px, 2.4vw, 29px); }
  .portrait-frame span { width: 80px; height: 80px; }
  .portrait-frame .icon { width: 35px; height: 35px; }
  .service-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(34px, 7vw, 100px); }
  .service-layout .intro { max-width: 34ch; }
  summary { padding-inline: 9px; min-height: 73px; }
  details ul { padding-left: 78px; }
  .contact-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 10vw, 136px); }
  .footer-layout > :last-child { text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .button:active, .viewer-button:active, .menu-toggle:active, .photo:hover img, .photo:active img { transform: none; }
}
