:root {
  color-scheme: light;
  --ink: #272019;
  --muted: #62574d;
  --accent: #7b4c31;
  --accent-dark: #643d28;
  --paper: #f8f4ee;
  --white: #fffdf9;
  --line: #d9cfc3;
  --gutter: 32px;
  --header-height: 74px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(.2, .65, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 14px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 var(--sans);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { vertical-align: middle; }
:focus-visible { outline: 3px solid #a45f35; outline-offset: 4px; }

h1, h2, h3, p, figure, ul, ol, blockquote { margin: 0; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.045em;
}

h2 { font-size: clamp(2.1rem, 4.8vw, 3.8rem); }
h3 { font-size: 1.16rem; line-height: 1.28; }

.wrap { width: min(1160px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.symbol-library { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.skip-link:focus {
  position: fixed;
  z-index: 5;
  top: 10px;
  left: 10px;
  padding: 12px;
  background: var(--white);
}

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font: 700 clamp(1.18rem, 2vw, 1.55rem)/1 var(--serif);
  letter-spacing: -.035em;
  text-decoration: none;
}

.brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; }

.site-nav, .header-actions { display: flex; align-items: center; }
.site-nav { gap: clamp(13px, 2.25vw, 30px); }
.header-actions { gap: 8px; }

.site-nav a, .header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .87rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover, .header-phone:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .28em; }
.header-phone { gap: 7px; }
.header-phone svg, .menu-toggle svg, .button svg, .work-arrow, .contact-links svg, .dialog-close svg,
.quick-start a svg, .text-action svg, .motion-control svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.menu-toggle, .dialog-close {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.hero { padding-block: clamp(36px, 4vw, 64px) clamp(42px, 5vw, 78px); }

.hero-layout {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow > span { width: 21px; height: 1px; flex: 0 0 21px; background: currentColor; }

.hero h1 {
  margin-block: 18px 22px;
  font-size: clamp(2.7rem, 5.15vw, 4.8rem);
}

.hero h1 em { color: var(--accent); font-weight: 400; white-space: nowrap; }

.hero-description {
  max-width: 48ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.button-primary { color: #fffdf9; background: var(--accent-dark); }
.button-primary:hover { background: #4e2e1d; }
.button-primary:disabled { opacity: .65; cursor: wait; }
.button-outline { border-color: #b8a593; background: transparent; }
.button-outline:hover { background: #eadfd2; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 19px;
  margin-top: 24px;
  padding: 0;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 550;
  list-style: none;
}

.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts li::before { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); content: ''; }

.hero-image {
  height: clamp(360px, 38vw, 510px);
  overflow: hidden;
  border-radius: 4px clamp(38px, 6vw, 90px) 4px 4px;
  background: #ded0c0;
}

.hero-image picture, .hero-image img { width: 100%; height: 100%; }
.hero-image img { object-fit: cover; object-position: center 48%; }

.quick-start { padding-block: 16px; color: var(--white); background: #35271e; }
.quick-start-layout { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); align-items: center; gap: 10px; }
.quick-start-layout > p { margin-right: 12px; font: 400 1.42rem/1.1 var(--serif); }
.quick-start a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 13px;
  border: 1px solid #78604f;
  border-radius: 4px;
  color: #fff9f0;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}

.quick-start a:hover { background: #594131; border-color: #ab8264; }
.quick-start a svg { color: #f1c7a5; }

.section { padding-block: clamp(50px, 7vw, 92px); }
.section-portfolio, .section-reviews { background: var(--white); border-block: 1px solid var(--line); }
.section-portfolio { padding-top: clamp(46px, 5vw, 76px); }
.section-heading { max-width: 780px; }
.section-heading h2, .contact-intro h2 { margin-block: 11px 13px; }
.section-heading > p:not(.eyebrow), .contact-intro > p:not(.eyebrow) { color: var(--muted); }
.section-heading > p:not(.eyebrow) { max-width: 62ch; }

.filters { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 23px 20px; }

.filters button {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  font-size: .9rem;
  font-weight: 650;
}

.filters button span { margin-left: 3px; font-size: .76rem; opacity: .85; }
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed='true'] { color: var(--white); border-color: var(--accent-dark); background: var(--accent-dark); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.work-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
}

.work-link { display: block; border-radius: inherit; overflow: hidden; text-decoration: none; }
.work-link img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; background: #e5dbcf; }
.work-link:hover .work-name { text-decoration: underline; text-underline-offset: .22em; }

.work-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; }
.work-name { font-weight: 650; }
.work-name > span { display: inline-block; color: var(--muted); font-size: .88rem; font-weight: 450; white-space: nowrap; }
.work-arrow { color: var(--accent); }

.work-more { display: flex; justify-content: center; }
.work-more .button { margin-top: 22px; }

.section-ideas { background: #eee4d8; }
.ideas-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 30%);
  align-items: center;
  gap: 24px clamp(26px, 6vw, 76px);
}

.motion-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #cdbba9;
  border-radius: 6px;
  background: #f9f4ed;
}

.motion-frame img { width: 100%; height: auto; object-fit: cover; }
.mood-preview img { aspect-ratio: 3 / 2; }
.motion-frame figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 13px;
  font-size: .86rem;
  font-weight: 650;
}
.mood-preview figcaption { position: absolute; inset: auto 0 0; background: rgba(39, 30, 23, .87); color: var(--white); }
.process-preview { margin-top: 22px; max-width: 440px; }
.process-preview img { aspect-ratio: 440 / 256; }
.process-preview figcaption { border-top: 1px solid var(--line); }
.motion-control {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
}
.motion-control:hover { background: rgba(157, 108, 74, .22); }
.motion-control svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }

.concept-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 25px; }
.concept-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #d7c9b9; border-radius: 6px; background: var(--white); }
.concept-image { position: relative; overflow: hidden; }
.concept-image img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #dfd0bf; }
.concept-image span {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 4px 8px;
  border-radius: 3px;
  color: var(--white);
  background: #392a21;
  font-size: .71rem;
  font-weight: 700;
}
.concept-copy { display: grid; flex: 1; grid-template-rows: auto auto 1fr auto; gap: 6px; padding: clamp(14px, 2vw, 23px); }
.concept-copy p { color: var(--muted); }
.concept-copy .concept-type { color: var(--accent); font-size: .74rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.concept-copy h3 { font: 400 clamp(1.35rem, 2.5vw, 1.95rem)/1.12 var(--serif); letter-spacing: -.025em; }
.text-action {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  align-self: start;
  gap: 6px;
  min-height: 44px;
  color: var(--accent-dark);
  font-size: .91rem;
  font-weight: 700;
  text-underline-offset: .22em;
}
.text-action:hover { color: #422819; }
.text-action svg { width: 17px; height: 17px; }

.service-grid, .reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.service, .review { border: 1px solid var(--line); border-radius: 5px; padding: clamp(18px, 2.3vw, 32px); }
.service { display: flex; flex-direction: column; background: var(--white); }
.service-index { display: block; margin-bottom: 16px; color: var(--accent); font: 400 1.6rem/1 var(--serif); }
.service p, .process-list p { margin-top: 7px; color: var(--muted); }
.service .text-action { margin-top: auto; padding-top: 7px; }

.section-process { background: #eee4d8; }
.process-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 7vw, 100px); }

.process-list { list-style: none; padding: 0; counter-reset: process; }
.process-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0 12px;
  border-bottom: 1px solid #ccbbaa;
  padding: 14px 0;
  counter-increment: process;
}

.process-list li:first-child { padding-top: 0; }
.process-list li::before { grid-row: span 2; content: counter(process, decimal-leading-zero); color: var(--accent); font: 400 1.1rem/1.35 var(--serif); }
.process-list p { grid-column: 2; }

.review { display: flex; flex-direction: column; gap: 18px; background: var(--paper); }
.review figcaption { display: grid; gap: 1px; margin-top: auto; font-size: .88rem; }
.review figcaption span { color: var(--muted); }

.section-faq { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 20px clamp(20px, 7vw, 100px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 680;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { color: var(--accent); content: '+'; font-size: 1.4rem; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { max-width: 62ch; padding-bottom: 15px; color: var(--muted); }

.section-contact { color: var(--white); background: #2b221b; }
.contact-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  grid-template-areas: 'intro form' 'channels form';
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 18px clamp(28px, 6vw, 82px);
}

.contact-intro { grid-area: intro; }
.contact-intro .eyebrow { color: #efc8a7; }
.contact-intro > p:not(.eyebrow), .contact-hours { color: #e1d2c5; }
.contact-channels { grid-area: channels; }
.contact-phone { display: inline-block; margin-top: 16px; font-size: clamp(1.4rem, 3.3vw, 2rem); font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.contact-links { display: grid; justify-items: start; margin-top: 10px; }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; text-underline-offset: .25em; }

.project-form {
  grid-area: form;
  min-width: 0;
  padding: clamp(17px, 3vw, 36px);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
}

.project-form h3 { font-size: 1.35rem; }
.preview-note { margin-top: 6px; color: var(--muted); font-size: .84rem; }
.project-form fieldset { display: grid; gap: 15px; min-width: 0; margin: 17px 0 0; padding: 0; border: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.project-form label { display: block; font-size: .9rem; font-weight: 650; }
.project-form label span { color: var(--muted); font-weight: 400; }

.project-form input:not([type='checkbox']), .project-form select, .project-form textarea {
  display: block;
  width: 100%;
  min-height: 45px;
  margin-top: 5px;
  padding: 8px 11px;
  border: 1px solid #ad9f92;
  border-radius: 4px;
  background: #fff;
  font-size: 1rem;
  font-weight: 400;
}

.project-form textarea { resize: vertical; }
.lead-details { min-width: 0; border-block: 1px solid var(--line); }
.lead-details summary { min-height: 44px; padding-block: 10px; cursor: pointer; color: var(--accent-dark); font-size: .89rem; font-weight: 680; }
.lead-details summary span { color: var(--muted); font-weight: 400; }
.lead-details .form-row { margin-block: 3px 12px; }
.lead-details > label { margin-bottom: 12px; }
.lead-reference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 9px 3px 12px;
  border-radius: 4px;
  background: #f0e6da;
  font-size: .85rem;
}
.lead-reference button { min-height: 40px; padding: 3px; border: 0; background: transparent; color: var(--accent-dark); text-decoration: underline; }
.privacy-control label { display: flex; align-items: start; gap: 9px; font-weight: 500; }
.privacy-control input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--accent-dark); }
.privacy-control p { margin: 5px 0 0 27px; font-size: .82rem; }
.project-form .button { justify-self: start; }
.form-status { color: #5a442f; font-size: .9rem; }
.form-status:empty { display: none; }
.form-status[data-error='true'] { color: #862f25; }

.site-footer { padding-block: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.site-footer .brand { color: var(--ink); margin-bottom: 9px; }
.footer-layout { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 22px; align-items: start; }
.footer-details, .footer-links { display: grid; gap: 5px; }
.footer-links a { text-underline-offset: .18em; }

.work-dialog {
  width: min(94vw, 960px);
  max-height: calc(100% - 24px);
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
}

.work-dialog::backdrop { background: rgba(25, 18, 13, .83); }
body:has(.work-dialog[open]) { overflow: hidden; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dialog-top h2 { font-size: clamp(1.45rem, 4vw, 2.5rem); }
.work-dialog > img { width: 100%; max-height: min(65dvh, 650px); object-fit: contain; background: #eee5da; }
.dialog-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.mobile-contact { display: none; }

@media (max-width: 950px) {
  .header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .header-phone { justify-content: center; width: 44px; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; --header-height: 62px; }
  .header-inner { flex-wrap: wrap; gap: 0 8px; }
  .brand img { width: 36px; height: 36px; }
  .site-nav { order: 3; width: 100%; flex-wrap: wrap; gap: 0 15px; }
  .enhanced .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--gutter) 12px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    max-height: calc(100dvh - var(--header-height));
    overflow: auto;
  }
  .enhanced .site-header.menu-open .site-nav { display: flex; }
  .enhanced .site-nav a { padding-inline: 8px; border-bottom: 1px solid var(--line); }
  .enhanced .site-nav a:last-child { border-bottom: 0; }
  .hero { padding-top: 28px; }
  .hero-layout { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { margin-block: 12px 15px; font-size: clamp(2.1rem, 9.5vw, 4rem); }
  .hero-actions { margin-top: 18px; }
  .hero-facts { margin-top: 15px; font-size: .8rem; }
  .hero-image { height: auto; aspect-ratio: 16 / 10; max-height: 360px; border-top-right-radius: 48px; }
  .quick-start-layout { grid-template-columns: 1fr; gap: 6px; }
  .quick-start-layout > p { margin-block: 0 5px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .work-caption { padding: 10px; align-items: start; }
  .work-name { font-size: .86rem; }
  .work-name > span { font-size: .8rem; }
  .work-arrow { width: 17px; height: 17px; }
  .ideas-header, .service-grid, .reviews-grid, .process-layout, .faq-layout, .footer-layout { grid-template-columns: 1fr; }
  .mood-preview { max-width: 440px; }
  .concept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-grid, .reviews-grid { gap: 10px; }
  .service-index { margin-bottom: 9px; }
  .contact-layout { grid-template-columns: 1fr; grid-template-areas: 'intro' 'form' 'channels'; }
  .mobile-contact {
    position: fixed;
    z-index: 4;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 8px;
    padding: 9px var(--gutter) calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(44, 31, 20, .09);
    visibility: hidden;
    transform: translateY(105%);
  }
  .mobile-contact.is-visible { visibility: visible; transform: translateY(0); }
  .mobile-contact .button { min-height: 46px; padding-inline: 8px; gap: 6px; font-size: .82rem; }
  .mobile-contact .button svg { width: 16px; height: 16px; }
  html:has(.mobile-contact.is-visible) { scroll-padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  body:has(.mobile-contact:not([hidden])) .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

@media (max-width: 540px) {
  .concept-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions .button { padding-inline: 11px; font-size: .82rem; }
  .hero-actions .button svg { width: 16px; height: 16px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes enter { from { opacity: .55; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
  .hero-copy { animation: enter .46s var(--ease-out) both; }
  .work-dialog[open] { animation: enter .22s var(--ease-out) both; }
  .faq-list details[open] p { animation: enter .22s var(--ease-out); }
  .button, .quick-start a, .filters button { transition: background-color .18s, border-color .18s, color .18s; }
  .button svg, .text-action svg, .quick-start a svg { transition: transform .2s var(--ease-out); }
  .button:hover svg, .text-action:hover svg, .quick-start a:hover svg { transform: translateX(3px); }
  .concept-image img, .work-link img { transition: transform .45s var(--ease-out); }
  .concept-card:hover img, .work-link:hover img { transform: scale(1.035); }
  .mobile-contact { transition: transform .24s var(--ease-out), visibility .24s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

