:root {
  --navy: #28333b;
  --cream: #f7efe3;
  --red: #bd404d;
  --steel: #a69f96;
  color: var(--navy);
  background: var(--cream);
  font-family: Inter, Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; display: flex; flex-direction: column; height: 100dvh; min-height: 700px; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 12px; top: -70px; z-index: 90; padding: 12px; background: white; font-weight: 700; }
.skip-link:focus { top: 12px; }
main { flex: 1; min-height: 0; display: grid; grid-template-rows: minmax(240px, .95fr) minmax(280px, 1fr) auto; }
.hero { display: grid; grid-template-columns: minmax(0, 39fr) minmax(0, 61fr); background: linear-gradient(100deg, #fff4e5, #ecd9c3 48%, #c6c1ba); overflow: hidden; }
.hero-copy { padding: 18px 12px 18px 2.5vw; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-width: 0; }
h1 { margin: 0; }
.hero h1 { display: flex; flex-direction: column; align-items: center; gap: 7px; font-weight: 400; }
.brand-signature { font: italic 700 clamp(28px, 3.25vw, 64px)/1.15 'Lobster Two', Georgia, serif; margin-bottom: 5px; white-space: nowrap; }
sup { font-size: .43em; line-height: 0; vertical-align: super; }
.sash { display: block; padding: .08em .36em .16em; color: white; font: clamp(34px, min(4.3vw, 6.5dvh), 88px)/1.05 'Bree Serif', Georgia, serif; white-space: nowrap; clip-path: polygon(3% 3%, 97% 0, 100% 15%, 98% 94%, 4% 99%, 0 88%); transform: rotate(-.5deg); }
.sash-red { background: var(--red); }
.sash-navy { background: var(--navy); font-style: italic; }
.hero-art { display: flex; align-items: flex-end; min-width: 0; min-height: 0; padding: 12px 12px 0 0; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.capabilities { padding: clamp(16px, 2.2dvh, 28px) 3vw; background: linear-gradient(110deg, #fff9f0, var(--cream)); min-height: 0; scroll-margin-top: 72px; }
.experience { --gap: clamp(14px, 2vw, 36px); --selector: clamp(112px, 13vw, 220px); height: 100%; min-height: 0; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.tabs { width: var(--selector); grid-column: 1; grid-row: 1; align-self: center; display: grid; gap: 14px; z-index: 1; }
.tab { min-height: 44px; border: 1px solid #c9bbae; border-bottom: 3px solid #b5a89a; border-radius: 40px; background: #f3e6d7; color: var(--navy); padding: 8px; font: clamp(16px, 1.5vw, 24px)/1.15 'Bree Serif', Georgia, serif; }
.tab:hover { background: #e9d5c0; }
.tab[aria-selected="true"] { background: linear-gradient(#c54a56, #a82e3f); border-color: #a82e3f; color: white; }
.capability-panel { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); min-height: 0; }
.module-frame { margin: 0 0 0 calc(var(--selector) + var(--gap)); min-width: 0; height: 100%; display: flex; flex-direction: column; overflow: hidden; border: 2px solid #9a8e81; border-radius: 14px; background: #f9f3ea; box-shadow: 0 5px 2px #44372d26; transform: scale(.94); transform-origin: center; }
.module-frame h2 { background: #f8e7e7; color: #8f3043; flex: none; margin: 0; padding: clamp(6px, 1dvh, 10px) 8px 7px; text-align: center; border-bottom: 2px solid #9a8e81; font: clamp(19px, min(1.9vw, 3dvh), 30px)/1.1 'Bree Serif', Georgia, serif; }
.module-visual { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.module-visual img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.module-frame figcaption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.features { position: relative; display: flex; align-items: center; padding-left: calc(var(--gap) / 2); min-width: 0; }
.features::before { content: ''; position: absolute; width: 2px; height: 70%; left: calc(var(--gap) / -2); top: 15%; background: #8b7967a8; }
.features ul { list-style: none; padding: 0; margin: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; }
.features li { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; font-size: clamp(16px, 1.13vw, 20px); font-weight: 600; line-height: 1.4; }
.check { display: grid; place-items: center; flex: none; width: 27px; height: 27px; background: var(--red); border-radius: 50%; color: white; font-size: 18px; font-weight: 800; }
.workflow { padding: 20px 3vw 22px; border-top: 1px solid #c8bdb1; background: #e9e5df; }
.workflow ol { --gap: 40px; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.workflow li { text-align: center; position: relative; }
.workflow li:not(:last-child)::after { content: '→'; color: var(--red); position: absolute; left: calc(100% + var(--gap) / 2); top: 0; transform: translateX(-50%); font: 27px/1 'Bree Serif', Georgia, serif; }
.workflow h3 { margin: 0 0 6px; font: clamp(18px, 1.4vw, 26px)/1.2 'Bree Serif', Georgia, serif; }
.workflow p { margin: 0; font-size: 1rem; line-height: 1.45; }
.site-controls { flex: none; height: 56px; position: relative; background: var(--navy); color: white; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 5px 2vw; z-index: 20; border-top: 1px solid #66727b; }
.footer-copyright { grid-column: 2; margin: 0; font-size: .875rem; text-align: center; }
.nav-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 18px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; border: 2px solid #a82e3f; border-radius: 28px; background: var(--red); color: white; padding: 8px 22px; text-decoration: none; font: 18px/1.2 'Bree Serif', Georgia, serif; box-shadow: 0 3px 0 #33231d33; }
.button:hover { background: #a82e3f; }
.menu-toggle { background: none; border: 0; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.menu-toggle span { width: 27px; height: 3px; border-radius: 4px; background: white; }
.site-controls :focus-visible { outline-color: #f5d36c; }
.navigation { position: absolute; bottom: 100%; right: 2vw; width: 260px; padding: 8px; border: 1px solid #66727b; border-radius: 12px 12px 0 0; background: #28333b; box-shadow: 0 -8px 24px #33231d33; }
.navigation > * { display: block; width: 100%; padding: 12px 14px; border: 0; background: transparent; color: white; text-decoration: none; text-align: left; font: 18px/1.2 'Bree Serif', Georgia, serif; min-height: 44px; }
.navigation > :hover, .navigation [aria-pressed="true"] { background: #ffffff22; border-radius: 5px; }
.navigation .mobile-control { display: none; }
dialog { width: min(640px, calc(100% - 24px)); padding: 0; border: 2px solid #a69f96; border-radius: 14px; background: #fffaf3; color: var(--navy); max-height: calc(100dvh - 24px); overflow: auto; box-shadow: 0 18px 60px #0006; }
dialog::backdrop { background: #292522d9; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; background: #28333b; color: white; position: sticky; top: 0; z-index: 1; }
.dialog-header h2 { margin: 0; font: 27px/1.1 'Bree Serif', Georgia, serif; }
.close-order { border: 1px solid #fff8; border-radius: 8px; color: white; background: transparent; font-size: 28px; width: 44px; height: 44px; flex: none; }
.dialog-header :focus-visible { outline-color: #f5d36c; }
#order-form, .order-success { padding: 18px; }
.form-intro { margin: 0 0 18px; font-size: 1rem; line-height: 1.4; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid label { display: block; font-size: .875rem; font-weight: 700; line-height: 1.4; min-width: 0; }
.form-grid label > span { color: var(--red); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: 6px; padding: 9px 10px; border: 1px solid #aaa095; border-radius: 5px; color: var(--navy); background-color: white; font-size: 1rem; font-weight: 400; }
.form-grid select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23665b50' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.form-grid textarea { resize: vertical; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.submit-order { width: 100%; margin-top: 18px; }
.form-footnote { font-size: .75rem; line-height: 1.5; text-align: center; margin: 14px 0 0; color: #665b50; }
.form-error { color: #9d241d; background: #ffebe6; border-left: 4px solid #b33428; padding: 12px; font-size: 1rem; line-height: 1.4; }
.order-success h3 { font: 28px 'Bree Serif', Georgia, serif; margin: 4px 0; }
.order-success p { line-height: 1.5; }
.receipt-page { min-height: 100dvh; height: auto; display: grid; place-items: center; padding: 24px; }
.receipt { display: block; text-align: center; }
.receipt img { border-radius: 50%; }
.receipt h1 { font: 36px 'Bree Serif', Georgia, serif; margin-top: 18px; }
.receipt p { line-height: 1.5; }

@media (max-width: 1200px) and (min-width: 1025px) {
  .experience { --selector: 124px; --gap: 18px; }
  .features ul { gap: 20px 10px; }
  .workflow br { display: none; }
}
@media (max-width: 1024px) {
  body { height: auto; min-height: 100dvh; }
  main { display: block; }
  .site-controls { order: -1; position: sticky; top: 0; height: 56px; grid-template-columns: 1fr auto; padding: 6px 16px; border-top: 0; border-bottom: 1px solid #66727b; }
  .footer-copyright, .order-desktop { display: none; }
  .nav-actions { grid-column: 2; }
  .navigation { bottom: auto; top: 100%; right: 16px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 70px); overflow-y: auto; border-radius: 0 0 12px 12px; }
  .navigation .mobile-control { display: block; }
  .navigation .mobile-order { border-bottom: 1px solid #ffffff44; margin-bottom: 6px; }
  .hero { grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); min-height: 220px; }
  .hero-copy { padding: 20px 8px 20px 16px; }
  .brand-signature { font-size: clamp(22px, 3.8vw, 39px); white-space: normal; }
  .sash { font-size: clamp(27px, 4.65vw, 49px); }
  .hero-art { padding: 12px 6px 0 0; }
  .capabilities { padding: 22px 20px; }
  .experience { display: block; }
  .tabs { display: none; }
  .capability-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
  .module-frame { margin: 0; height: 100%; transform: none; }
  .module-frame h2 { padding: 12px; font-size: 22px; }
  .module-visual { flex: none; aspect-ratio: 1596 / 765; }
  .features { padding: 0; }
  .features::before { left: -14px; }
  .features ul { gap: 20px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features li { font-size: 1rem; }
  .workflow { padding: 24px 20px; }
  .workflow ol { --gap: 28px; }
  .workflow br { display: none; }
  .workflow h3 { font-size: 20px; }
}
@media (max-width: 600px) {
  .hero { min-height: 196px; }
  .hero-copy { padding: 18px 0 18px 10px; }
  .brand-signature { font-size: clamp(20px, 4.9vw, 28px); max-width: 100%; margin-bottom: 4px; }
  .hero h1 { gap: 5px; }
  .sash { font-size: clamp(18px, 5.25vw, 32px); }
  .hero-art { padding: 8px 4px 0 0; }
  .capabilities { padding: 18px 16px 24px; }
  .capability-panel { display: flex; flex-direction: column; gap: 24px; }
  .module-frame { width: 100%; }
  .module-visual { height: auto; aspect-ratio: 1596 / 765; }
  .module-frame h2 { padding: 9px; }
  .features::before { display: none; }
  .features ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
  .features li { line-height: 1.35; gap: 7px; }
  .workflow ol { grid-template-columns: 1fr; --gap: 36px; }
  .workflow li:not(:last-child)::after { content: '↓'; left: 50%; top: calc(100% + var(--gap) / 2); transform: translate(-50%, -50%); font-size: 24px; }
  .workflow p { max-width: 34em; margin-inline: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .dialog-header h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
