:root {
  --paper: #f5f2e9;
  --ink: #203d32;
  --muted: #606b5f;
  --line: #d4d7c9;
  --copper: #ad562b;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Trebuchet MS", Arial, sans-serif; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--copper); outline-offset: 5px; }
.sheet button:focus-visible, #contact-status:focus-visible { outline: 2px solid #e4b182; outline-offset: 5px; }
.analytics-privacy { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.analytics-privacy summary { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin-left: auto; min-height: 44px; padding: 8px 0; list-style: none; cursor: pointer; color: var(--muted); font-size: 11px; }
.analytics-privacy summary::-webkit-details-marker { display: none; }
.analytics-privacy summary::after { content: ""; width: 6px; height: 6px; flex-shrink: 0; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin: -3px 2px 0 0; }
.analytics-privacy[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.analytics-privacy summary:hover { color: var(--ink); }
.analytics-privacy summary:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
.analytics-privacy > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; max-width: 1000px; margin: 4px 0 10px auto; padding: 24px; border: 1px solid var(--line); background: #203d3205; text-align: left; }
.analytics-privacy p { margin: 0; }
.site { border-top: 5px solid var(--ink); min-height: 100svh; display: flex; flex-direction: column; }
.header { margin: 0 6%; min-height: 116px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header img { display: block; width: 182px; height: auto; mix-blend-mode: multiply; }
.header p { font-size: 10px; letter-spacing: .17em; text-transform: uppercase; }
.main { width: 88%; max-width: 1360px; margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 8%; align-items: center; padding: 52px 0 60px; }
.intro { position: relative; padding-bottom: 18px; }
.intro h1 { font: 400 clamp(62px, 6.2vw, 94px)/1.01 Georgia, "Times New Roman", serif; letter-spacing: -.055em; margin: 0 0 30px; transition: transform .7s var(--ease); }
.intro em { font-weight: 400; color: #58684d; }
.intro p { font-size: 14px; line-height: 1.9; max-width: 355px; color: var(--muted); margin: 0 0 34px; }
.contact-toggle { display: flex; align-items: center; justify-content: space-between; min-width: 205px; height: 58px; border: 1px solid var(--ink); padding: 0 0 0 23px; background: var(--ink); color: var(--paper); font-size: 14px; transition: background .35s, color .35s; }
.contact-toggle .glyph { width: 58px; height: 56px; margin-left: 36px; border-left: 1px solid #678271; display: grid; place-items: center; font-size: 25px; transition: transform .6s var(--ease); }
.contact-open .contact-toggle { background: transparent; color: var(--ink); }
.contact-open .contact-toggle .glyph { transform: rotate(90deg); border-left-color: transparent; }
.guide-line { position: absolute; left: 0; bottom: -12px; width: 118%; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left; opacity: 0; transition: transform .7s var(--ease), opacity .3s; }
.contact-open .guide-line { transform: scaleX(1); opacity: .75; }
.stage { position: relative; overflow: clip; height: 560px; isolation: isolate; background: var(--paper); transition: height .8s var(--ease); }
.contact-open .stage { height: var(--contact-height, 560px); }
.brand-face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: opacity .35s, transform .8s var(--ease); background: var(--paper); }
.brand-face img { width: 90%; height: auto; mix-blend-mode: multiply; }
.bracket { position: absolute; width: 48px; height: 48px; border-style: solid; border-color: #98a28d; transition: width .6s var(--ease), height .6s var(--ease), border-color .6s; }
.bracket.tl { top: 48px; left: 0; border-width: 1px 0 0 1px; }
.bracket.br { bottom: 48px; right: 0; border-width: 0 1px 1px 0; }
.contact-open .brand-face { opacity: 0; transform: translateX(26px) scale(.96); }
.contact-open .bracket { width: 100%; height: calc(100% - 96px); border-color: var(--copper); }
/* The sheet sizes to actual content: server errors and large text cannot be clipped. */
.sheet { position: absolute; inset: 0 0 auto; min-height: 560px; background: var(--ink); color: var(--paper); clip-path: inset(0 100% 0 0); transition: clip-path .85s var(--ease); padding: 32px 38px 26px; }
.contact-open .sheet { clip-path: inset(0 0 0 0); }
.stage::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: #bc7547; opacity: 0; pointer-events: none; z-index: 2; }
.contact-open .stage::after { animation: trace-edge .85s var(--ease) both; }
@keyframes trace-edge {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  75% { left: calc(100% - 2px); opacity: 1; }
  100% { left: calc(100% - 2px); opacity: 0; }
}
.sheet-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #64786b; padding-bottom: 18px; }
.sheet-head span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #d2d7c7; }
.close { flex: 0 0 44px; width: 44px; height: 44px; margin: -10px -10px -10px 0; background: transparent; border: 0; color: var(--paper); font-size: 24px; }
.sheet h2 { font: 400 35px/1.1 Georgia, serif; letter-spacing: -.035em; margin: 22px 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 25px; }
.field { margin-bottom: 19px; min-width: 0; }
.field label { display: block; font-size: 13px; margin-bottom: 6px; color: #e9eddd; }
.field label span { color: #bcc9b9; font-size: 10px; }
.field input, .field textarea { display: block; width: 100%; min-height: 44px; color: #fffdf5; background: transparent; border: 0; border-bottom: 1px solid #859383; border-radius: 0; padding: 4px 0 8px; font-size: 16px; outline: 0; }
.field textarea { resize: vertical; min-height: 62px; }
.field input:focus, .field textarea:focus { border-bottom-color: #e4b182; box-shadow: 0 1px 0 #e4b182; }
.field [aria-invalid="true"] { border-bottom-color: #ffc79d; }
.field-error { font-size: 12px; line-height: 1.5; color: #ffd2af; overflow-wrap: anywhere; }
.sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 3px; }
.privacy { font-size: 11px; line-height: 1.6; color: #c8d0bf; max-width: 245px; margin: 0; }
.send { flex-shrink: 0; background: var(--paper); color: var(--ink); border: 0; min-height: 46px; min-width: 147px; padding: 10px 16px; font-size: 12px; }
.piece { opacity: 0; transform: translateX(-20px); transition: opacity .4s, transform .65s var(--ease); transition-delay: 0s; }
.contact-open .piece { opacity: 1; transform: translateX(0); transition-delay: calc(.22s + var(--i)*.055s); }
.step-0 { --i: 0; } .step-1 { --i: 1; } .step-2 { --i: 2; }
.step-3 { --i: 3; } .step-4 { --i: 4; } .step-5 { --i: 5; }
#contact-status { font-size: 14px; line-height: 1.7; color: #f0d2af; margin: 18px 0 0; overflow-wrap: anywhere; }
#contact-status:empty { display: none; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.footer { margin: 0 6%; padding: 18px 0 10px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.footer .focus { letter-spacing: .1em; text-transform: uppercase; font-size: 9px; }
.contact-open .intro h1 { transform: translateY(-8px); }
@media (min-width: 1600px) {
  .main { gap: 10%; padding: 70px 0; }
  .stage { height: 580px; }
  .sheet { min-height: 580px; padding: 38px 44px; }
  .intro h1 { font-size: 106px; }
}
@media (max-width: 850px) {
  .header { min-height: 90px; }
  .header img { width: 140px; }
  .header p { max-width: 130px; text-align: right; line-height: 1.7; font-size: 8px; }
  .main { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 42px 0 38px; }
  .intro h1 { font-size: clamp(48px, 12vw, 78px); margin-bottom: 22px; }
  .intro p { font-size: 13px; line-height: 1.8; max-width: 400px; margin-bottom: 23px; }
  .intro { padding: 0; }
  .contact-toggle { height: 52px; }
  .contact-toggle .glyph { height: 50px; width: 52px; }
  .stage { height: 260px; }
  .brand-face { height: 250px; }
  .brand-face img { width: 85%; max-width: 350px; }
  .bracket.tl { top: 18px; }
  .bracket.br { bottom: 18px; }
  .sheet { padding: 25px 23px; min-height: 530px; }
  .sheet h2 { font-size: 31px; margin: 20px 0; }
  .sheet.received { min-height: 260px; }
  .row { gap: 20px; }
  .field { margin-bottom: 17px; }
  .field label { font-size: 12px; }
  .field label span { display: block; margin-top: 3px; }
  .sheet-foot { gap: 12px; align-items: flex-start; }
  .privacy { font-size: 10px; max-width: 165px; }
  .send { min-width: 137px; padding: 10px 12px; font-size: 11px; white-space: nowrap; }
  .guide-line { width: 100%; bottom: -18px; }
  .footer { font-size: 9px; }
  .analytics-privacy summary { margin-left: 0; }
  .analytics-privacy > div { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 16px; }
  .footer .focus { display: none; }
}
@media (max-width: 360px) {
  .row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sheet-foot { flex-wrap: wrap; }
  .privacy { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
