@font-face {
  font-family: Ramillas;
  src: url("media/ramillas.woff2") format("woff2");
  font-display: swap;
  font-weight: 300;
}

:root {
  color-scheme: light;
  --porcelain: #f7f5f0;
  --linen: #e9e2d8;
  --sage: #dfe5db;
  --blush: #c99b9d;
  --olive: #445747;
  --dark-olive: #263a2e;
  --ink: #2b302d;
  --muted: #4f5851;
  --line: #c9c9bc;
  --serif: Ramillas, Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --header-height: 82px;
  --page-gutter: clamp(1.375rem, 6.3vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; background: var(--porcelain); color: var(--ink); font: 1rem/1.6 var(--sans); }
main:focus { outline: none; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, h4, p, ol, ul, dl, dd { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 12; inset: .75rem auto auto 1rem; padding: .7rem 1rem; color: white; background: var(--dark-olive); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }

.container { width: calc(100% - var(--page-gutter) * 2); max-width: 1280px; margin-inline: auto; }
.section { padding-block: clamp(4.75rem, 9.2vw, 9rem); }
h1, h2, h3, .wordmark, .process-question { font-family: var(--serif); font-weight: 300; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { line-height: .98; letter-spacing: -.052em; }
h2 { font-size: clamp(3.25rem, 6.4vw, 7rem); }
h3 { font-size: clamp(1.75rem, 2.75vw, 2.8rem); line-height: 1.08; letter-spacing: -.023em; }
h1 em, h2 em { color: var(--olive); font-style: italic; }
.section-copy > p:not(.label) { max-width: 35rem; font-size: clamp(1.065rem, 1.5vw, 1.25rem); color: var(--muted); margin-top: 1.25rem; }
.section-copy > h2 + p:not(.label) { margin-top: 1.6rem; }
.section-copy .intro-line { font-weight: 550; color: var(--ink); }
.label { font-size: .875rem; font-weight: 650; letter-spacing: .08em; color: var(--olive); }
.label span { opacity: .65; padding-inline: .25em; }
.label + h2 { margin-top: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.55rem; }
.button, .text-link { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; cursor: pointer; }
.button { padding: .72rem 1.25rem; border: 1px solid transparent; background: var(--dark-olive); color: #fff; text-decoration: none; font-size: .95rem; font-weight: 620; border-radius: 4px; }
.button:hover { background: #385145; }
.button:focus-visible { outline-color: var(--dark-olive); }
.text-link { padding: .4rem .1rem; background: none; border: 0; text-decoration: underline; text-underline-offset: .33em; font-size: .96rem; font-weight: 600; }
.text-link:hover { color: var(--olive); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 5; background: transparent; color: var(--ink); border-bottom: 1px solid transparent; transition: background-color .28s ease, border-color .28s ease; }
.enhanced .site-header { position: fixed; }
.site-header.is-solid { background: var(--porcelain); border-color: var(--line); }
.header-inner { width: calc(100% - var(--page-gutter) * 2); max-width: 1280px; min-height: var(--header-height); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; padding-block: .25rem; }
.brand-lockup { display: grid; }
.wordmark { font-size: 2.35rem; letter-spacing: -.063em; line-height: .88; }
.attribution { font-size: .75rem; letter-spacing: .015em; line-height: 1.15; margin: .24rem 0 0 .1rem; }
.navigation { display: flex; align-items: center; gap: clamp(.75rem, 3.25vw, 3rem); }
.navigation a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-size: .95rem; font-weight: 570; }
.navigation a:hover { text-decoration: underline; }
.navigation .nav-contact { border: 1px solid #68756a; padding-inline: .9rem; border-radius: 4px; }
.menu-toggle { display: none; }

.hero { min-height: max(660px, 100svh); position: relative; isolation: isolate; display: grid; align-content: center; overflow: hidden; background: #e6d8c3; }
.hero-media, .hero-veil, .hero-frame, .closing-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img, .closing-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: 56% center; transform: translate3d(0, calc(var(--hero-progress, 0) * 42px), 0) scale(1.08); }
.hero-veil { background: linear-gradient(90deg, rgb(246 239 225 / .93), rgb(246 239 225 / .83) 35%, rgb(246 239 225 / .57) 62%, rgb(246 239 225 / .19) 74%, transparent 85%), linear-gradient(180deg, rgb(248 242 230 / .62), transparent 23%); }
.hero-frame { inset: 14px; border: 1px solid rgb(247 245 240 / .7); border-radius: 10px; pointer-events: none; }
.hero-content { padding-block: calc(var(--header-height) + 2rem) 7rem; }
.hero h1 { font-size: clamp(4.7rem, 8.35vw, 9.45rem); max-width: 77rem; margin-top: 1.15rem; }
.hero h1 em, .hero .label { color: var(--dark-olive); }
.hero-summary { max-width: 27rem; margin-top: 1.6rem; font-size: clamp(1.12rem, 1.7vw, 1.4rem); line-height: 1.5; }
.hero .actions { margin-top: 1.55rem; }
.scroll-cue { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; position: absolute; left: max(var(--page-gutter), calc((100% - 1280px) / 2)); bottom: 1.6rem; text-decoration: none; font-size: .875rem; }
.scroll-cue:hover { text-decoration: underline; }
.scroll-cue span { width: 1px; height: 19px; background: var(--olive); }

.idea { position: relative; margin-top: -12px; border-radius: 12px 12px 0 0; background: var(--porcelain); }
.idea-layout, .connect-layout, .complete-layout, .experience-layout, .trust-layout { display: grid; align-items: center; gap: clamp(2.5rem, 6.6vw, 7rem); }
.idea-layout { grid-template-columns: 1.06fr .94fr; }
.idea-photo { aspect-ratio: 4 / 4.45; max-height: 630px; overflow: hidden; background: var(--linen); }
.idea-photo img, .complete-photo img { height: 100%; width: 100%; object-fit: cover; }
.idea-photo img { object-position: center 42%; }

.connect { background: #ece7dd; overflow: clip; }
.connect-layout { grid-template-columns: .78fr 1.22fr; gap: clamp(2.5rem, 4vw, 4.5rem); }
.connect-figure { text-align: center; }
.connect-art { position: relative; aspect-ratio: 5 / 4; isolation: isolate; --separation: 0; }
.art-guide { position: absolute; inset: 5% 13%; border-radius: 50%; background: radial-gradient(ellipse closest-side, #dbd4c6 2%, #e7dfd3 74%, transparent); }
.connect-layer { position: absolute; inset: 0; width: 100%; height: 100%; transform: translate3d(calc(var(--dx) * var(--separation)), calc(var(--dy) * var(--separation)), 0) scale(calc(1 + .09 * var(--separation))); }
.connect-layer-a { --dx: -7%; --dy: 8%; }
.connect-layer-b { --dx: 11%; --dy: -9%; }
.connect-layer-c { --dx: 3%; --dy: 15%; }
.connect-figure figcaption { font-weight: 640; }
.tool-types { display: flex; list-style: none; flex-wrap: wrap; justify-content: center; gap: .15rem .9rem; padding: 0; margin-top: .52rem; font-size: .875rem; color: var(--muted); }

.simplify { background: var(--porcelain); }
.journey { list-style: none; padding: 0; margin-top: clamp(2.25rem, 5vw, 4.5rem); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.75rem, 2.3vw, 2rem); --line-end: 100%; }
.journey li { position: relative; }
.journey-image { overflow: hidden; aspect-ratio: 1; background: var(--linen); }
.journey-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--journey-zoom, 1)); }
.step-number { display: block; min-width: 1.65rem; width: max-content; color: var(--olive); font-size: .9rem; font-variant-numeric: tabular-nums; font-weight: 650; }
.journey .step-number { margin-block: 1.1rem .8rem; }
.journey .step-number::after { content: ""; position: absolute; left: 2.2rem; right: 0; height: 1px; margin-top: .74em; background: linear-gradient(90deg, var(--olive) var(--line-end), var(--line) var(--line-end)); }
.journey h3 { font-size: clamp(1.45rem, 2.3vw, 2.4rem); text-wrap: initial; }
.journey p, .process-list p { color: var(--muted); margin-top: .6rem; }

.complete { background: #e1e6de; }
.complete-layout { grid-template-columns: 1.06fr .94fr; }
.complete-photo { aspect-ratio: 1.03; overflow: hidden; background: #c1af95; }
.complete-photo img { object-position: 52% center; transform: translateY(calc(var(--fit-progress, .5) * -4% + 2%)) scale(1.08); }
.ruled-list { list-style: none; padding: 0; margin-top: 1.65rem; border-top: 1px solid var(--line); }
.ruled-list li { border-bottom: 1px solid var(--line); padding: .64rem 0 .64rem 1.4rem; position: relative; }
.ruled-list li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: .43rem; height: .43rem; border-radius: 50%; background: var(--olive); }

.businesses { background: var(--porcelain); }
.businesses-intro { max-width: 56rem; }
.businesses-intro h2 { text-wrap: initial; }
.business-gallery { margin-top: clamp(2.5rem, 5vw, 5rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.75rem, 5.6vw, 5.75rem); row-gap: clamp(2.75rem, 5vw, 5rem); }
.business-story:nth-child(even) { margin-top: clamp(1.75rem, 6vw, 6rem); }
.business-story img { width: 100%; aspect-ratio: 1.45; height: auto; object-fit: cover; background: var(--linen); }
.business-story > div { padding-top: 1.25rem; max-width: 31rem; }
.business-story h3 { margin-top: .44rem; text-wrap: initial; }
.business-story p:not(.label) { color: var(--muted); margin-top: .6rem; }

.experience { background: #e8e3d9; }
.experience-layout { grid-template-columns: .92fr 1.08fr; }
.experience h2 { font-size: clamp(3.25rem, 5.2vw, 5.6rem); }
.demo { background: #fffdf9; min-width: 0; border: 1px solid #c7c8bb; border-radius: 10px; box-shadow: 0 16px 52px #35473a15; }
.demo-top, .demo-tabs { display: flex; align-items: center; gap: .5rem 1.35rem; padding-inline: clamp(.85rem, 2.7vw, 2rem); border-bottom: 1px solid #deded2; }
.demo-top { flex-wrap: wrap; justify-content: space-between; padding-block: .8rem; }
.demo-top p { font-size: .875rem; color: var(--muted); }
.demo-brand { display: flex; align-items: center; gap: .4rem; }
.demo-brand .wordmark { font-size: 1.9rem; }
.demo-tabs { gap: clamp(.3rem, 2vw, 1.3rem); }
.demo-tabs button { padding: .5rem .35rem; min-height: 44px; background: transparent; border: 0; border-bottom: 2px solid transparent; cursor: pointer; color: var(--muted); }
.demo-tabs button[aria-selected="true"] { font-weight: 650; color: var(--dark-olive); border-color: var(--olive); }
.demo-body { padding: clamp(.95rem, 3.5vw, 2.5rem); }
.enhanced .demo-body { min-height: 25rem; }
.demo-secondary { border-top: 1px solid #deded2; }
.enhanced .demo-secondary { border-top: 0; }
.demo-body h3 { font-size: clamp(2.2rem, 4vw, 3.65rem); }
.demo-body h3 + p { margin-top: .4rem; color: var(--muted); }
.demo-summary { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-block: 1.25rem; }
.demo-summary > span { background: #e7ece2; padding: .45rem .65rem; border-radius: 3px; font-size: .9rem; }
.demo-summary > span:nth-child(2) { background: #f0e4e0; }
.demo-body h4 { font-size: 1rem; }
.demo-list { padding: 0; list-style: none; margin-top: .5rem; border-top: 1px solid #dddcd0; }
.demo-list li { min-height: 54px; padding-block: .4rem; border-bottom: 1px solid #dddcd0; display: flex; gap: .55rem; justify-content: space-between; align-items: center; }
.demo-list small { display: block; font-size: .875rem; color: var(--muted); }
.demo-list button { min-height: 44px; padding: .28rem .55rem; background: transparent; border: 1px solid #919e91; border-radius: 4px; cursor: pointer; }
.demo-list button:hover { background: #e7ece2; }
.demo-list button[aria-disabled="true"] { color: var(--muted); border-color: transparent; cursor: default; }
.review-dialog { width: min(31rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); color: var(--ink); background: var(--porcelain); border: 1px solid #9ba895; padding: 0; border-radius: 8px; }
.review-dialog::backdrop { background: #202c23aa; }
.review-content { padding: clamp(1.25rem, 4vw, 2.3rem); }
.review-content h3 { margin-top: .4rem; }
.review-content dl { margin-block: 1rem; }
.review-content dl > div { display: grid; grid-template-columns: 1fr 1.5fr; gap: .6rem; padding-block: .45rem; border-bottom: 1px solid var(--line); }
.review-content dt { font-weight: 650; }
.review-content .actions { margin-top: 1rem; }

.process { background: #fffdf8; }
.process-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 4vw, 4.3rem); margin-top: 2.8rem; }
.process-list li { border-top: 1px solid var(--line); padding-top: 1rem; }
.process-list h3 { margin-top: .8rem; text-wrap: initial; }
.process-question { margin-top: clamp(2.75rem, 6vw, 6rem); font-size: clamp(1.85rem, 4vw, 4.25rem); line-height: 1.1; letter-spacing: -.028em; color: var(--olive); }
.process-question a { text-decoration-color: #849283; text-decoration-thickness: 1px; }
.process-question a:hover { text-decoration-color: currentColor; }
.trust { background: var(--sage); }
.trust-layout { grid-template-columns: .8fr 1.2fr; }
.trust .ruled-list { margin-top: 0; }

.closing { position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden; min-height: clamp(35rem, 66vw, 52rem); color: white; background: #263a2e; }
.closing-media { z-index: -2; }
.closing-media img { object-position: 65% center; transform: scale(calc(1.045 - .045 * var(--bloom-progress, 1))); }
.closing::before { position: absolute; z-index: -1; content: ""; inset: 0; background: linear-gradient(90deg, #18291ff5 3%, #1b2d22ce 30%, #192b2056 58%, #192b2000 90%); }
.closing h2 em { color: #f2dedd; }
.closing-content > p { font-size: 1.18rem; margin-top: 1.1rem; }
.closing .button { margin-top: 1.45rem; }
.button-light { background: var(--porcelain); color: var(--dark-olive); }
.button-light:hover { background: #e0e8dc; }
.button-light:focus-visible { outline-color: white; }
.closing .contact-note { margin-top: .65rem; font-size: .875rem; }
.contact-note a { display: inline-block; min-height: 44px; align-content: center; }
.footer { background: var(--dark-olive); color: var(--porcelain); padding-block: 2.5rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; }
.footer-brand img { filter: brightness(0) invert(1); }
.footer p { margin-top: .25rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.footer small { color: #e0e8dd; font-size: .875rem; }

@media (max-width: 1000px) {
  .desktop-break { display: none; }
  .idea-layout, .experience-layout { gap: 2.15rem; }
  .complete-layout { grid-template-columns: 1fr 1fr; gap: 2.15rem; }
  .section-copy h2 { text-wrap: initial; }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; }
  .hero { min-height: max(630px, 92svh); }
  .hero-frame { inset: 8px; border-radius: 6px; }
  .hero-content { padding-block: calc(var(--header-height) + 2rem) 8rem; }
  .hero h1 { font-size: clamp(3.6rem, 11vw, 5.35rem); }
  .hero-veil { background: linear-gradient(90deg, #f5ecdcf0, #f5ecdc9c 75%, #f5ecdc42), linear-gradient(180deg, #f5ecdc85, transparent 22%); }
  .hero-break { display: none; }
  .site-header { background: var(--porcelain); }
  .header-inner { flex-wrap: wrap; }
  .brand img { width: 28px; height: 28px; }
  .brand .wordmark { font-size: 2rem; }
  .enhanced .menu-toggle { min-width: 66px; min-height: 44px; display: inline-block; border: 1px solid #8b988a; border-radius: 4px; cursor: pointer; background: var(--porcelain); }
  .navigation { justify-content: end; flex: 1 1 auto; flex-wrap: wrap; gap: 0 .8rem; }
  .enhanced .navigation { display: none; position: absolute; inset: 100% 0 auto; background: var(--porcelain); padding: .2rem var(--page-gutter) .9rem; border-bottom: 1px solid var(--line); }
  .enhanced .menu-toggle[aria-expanded="true"] + .navigation { display: grid; justify-content: stretch; }
  .enhanced .navigation a { justify-content: start; }
  .enhanced .navigation .nav-contact { border: 0; padding-inline: 0; }
  .idea-layout, .connect-layout, .complete-layout, .experience-layout, .trust-layout { grid-template-columns: minmax(0, 1fr); }
  .idea-photo { max-height: 520px; }
  .connect-art { max-width: 530px; margin: auto; }
  .connect-layout { gap: 1.4rem; }
  .complete-photo { order: 1; aspect-ratio: 4/3; }
  .journey { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
  .journey li { display: grid; grid-template-columns: minmax(65px, 21%) 1fr; align-items: center; gap: 0 1.1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
  .journey .step-number { grid-column: 2; margin: 0 0 .25rem; }
  .journey .step-number::after { display: none; }
  .journey-image { grid-row: 1 / 3; }
  .journey h3 { font-size: 1.75rem; }
  .journey p { margin-top: .35rem; }
  .process-list { grid-template-columns: 1fr; margin-top: 2rem; }
  .process-list h3 { margin-top: .45rem; }
  .closing { min-height: 41.5rem; align-items: end; padding-block: 3.75rem; }
  .closing-media img { object-position: center 43%; }
  .closing::before { background: linear-gradient(0deg, #17291ffb 4%, #192b20ea 35%, #192b2044 72%, transparent 93%); }
}

@media (max-width: 540px) {
  .hero-media img { object-position: center 44%; }
  .hero-veil { background: linear-gradient(110deg, #f3e8d7f2 0%, #f3e8d7c4 48%, #f3e8d78a 94%), linear-gradient(0deg, #f3e8d7c4 0%, transparent 35%); }
  .business-gallery { grid-template-columns: 1fr; }
  .business-story:nth-child(even) { margin-top: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-media img, .connect-layer, .complete-photo img, .journey-image img, .closing-media img { transform: none; }
}
