/* Forest & Parchment is confirmed direction;
typography and composition are review proposals. */
:root {
  --paper:#f5f1e7;
  --butter:#f5edcf;
  --garden:#edf2e8;
  --light:#fcfbf7;
  --ink:#262b27;
  --forest:#243e34;
  --gold:#a89773;
  --muted:#63685e;
  --line:#d5d3c6;
  --seal:#8f2531;
  --display:Baskerville,'Palatino Linotype','Book Antiqua',Georgia,serif;
  --body:'Avenir Next','Segoe UI',Arial,sans-serif
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:24px
}
body {
  margin:0;
  background:var(--light);
  color:var(--ink);
  font:16px/1.65 var(--body)
}
body:has(dialog[open]) {
  overflow:hidden
}
a {
  color:inherit;
  text-underline-offset:5px
}
button {
  font:inherit;
  cursor:pointer
}
a,button {
  -webkit-tap-highlight-color:transparent
}
button,a,summary {
  touch-action:manipulation
}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline:3px solid var(--seal);
  outline-offset:5px
}
[hidden] {
  display:none!important
}
img {
  display:block;
  max-width:100%
}
.wrap {
  width:min(1320px,calc(100% - 112px));
  margin-inline:auto
}
.eyebrow {
  font:500 10px/1.6 var(--body);
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 0 24px
}
h1,h2,h3,p,figure {
  margin:0
}
h1,h2,h3 {
  font-family:var(--display);
  font-weight:400
}
h1,h2 {
  text-wrap:balance;
  letter-spacing:-.045em;
  color:var(--forest)
}
h1 {
  font-size:clamp(52px,5.3vw,78px);
  line-height:1.06
}
h2 {
  font-size:clamp(36px,3.7vw,56px);
  line-height:1.12
}
em {
  font-weight:400
}
p {
  color:var(--muted)
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  min-height:52px;
  border-radius:10px;
  padding:14px 22px;
  background:var(--forest);
  color:var(--light);
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  border:1px solid var(--forest);
  transition:background .2s
}
.button:hover {
  background:var(--ink)
}
.button span {
  font-size:20px;
  line-height:1
}
.text-link {
  display:inline-flex;
  align-items:center;
  gap:15px;
  font-size:12px;
  min-height:44px;
  text-decoration:none;
  border-bottom:1px solid var(--gold)
}
.text-link:hover {
  text-decoration:underline
}
.skip-link {
  position:absolute;
  top:8px;
  left:8px;
  background:var(--light);
  padding:12px 20px;
  z-index:10;
  transform:translateY(-150%)
}
.skip-link:focus {
  transform:translateY(0)
}

.experience {
  background:var(--light);
  padding-block:54px 64px;
  border-block:1px solid var(--line)
}
.section-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:36px;
  margin-bottom:40px
}
.section-heading .eyebrow {
  margin-bottom:18px
}
.section-heading>p {
  font-size:14px;
  line-height:1.8;
  padding-bottom:4px
}
.demo {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden
}


.quiet-button {
  border:0;
  background:transparent;
  color:var(--forest);
  font-size:11px;
  padding:10px 0;
  min-height:44px
}
.quiet-button span {
  margin-left:12px
}
.quiet-button:hover {
  text-decoration:underline;
  text-underline-offset:5px
}
.experience-heading {
  align-items:center;
  margin-bottom:28px
}
.experience-heading h2 {
  font-size:clamp(32px,3vw,44px)
}
.demo-stage {
  display:grid;
  position:relative;
  height:620px;
  min-height:0;
  overflow:hidden
}
.demo-stage>.reveal,.demo-stage>.sample-collection {
  grid-area:1/1;
  min-width:0
}
.reveal {
  position:absolute;
  inset:0;
  pointer-events:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:30px 24px;
  gap:16px
}
.reveal-hint {
  min-height:24px;
  font-size:12px;
  color:var(--forest);
  text-align:center
}
.reveal-object {
  position:relative;
  display:grid;
  place-items:center;
  width:min(100%,470px);
  height:380px;
  --envelope-width:450px
}
.reveal-object>.envelope,.reveal-object>.envelope-pocket {
  grid-area:1/1
}
.envelope {
  width:min(100%,var(--envelope-width));
  aspect-ratio:1.6;
  position:relative;
  background:linear-gradient(145deg,#30483e,#20392f 65%,#193127);
  box-shadow:0 2px 2px #182b2515,0 12px 20px -12px #182b2540,0 32px 46px -24px #182b2550;
  border:1px solid #243d32;
  border-radius:2px;
  transition:transform .65s cubic-bezier(.22,1,.36,1),opacity .5s ease
}
.envelope::before {
  content:'';
  position:absolute;
  inset:0;
  background:url("/assets/ivory-paper.webp") center/320px;
  mix-blend-mode:soft-light;
  opacity:.23;
  z-index:0
}
.envelope-flap {
  position:absolute;
  inset:-1px -1px auto;
  height:62%;
  background:linear-gradient(175deg,#3b5245,#2d4438 82%,#52604a);
  border-top:1px solid #74806a80;
  clip-path:polygon(0 0,100% 0,50% 100%);
  filter:drop-shadow(0 2px 1px #0b211c60);
  transform-origin:top;
  transition:transform .55s cubic-bezier(.4,0,.2,1);
  z-index:5
}
.envelope-flap::after {
  content:'';
  position:absolute;
  inset:0;
  background:url("/assets/ivory-paper.webp") center/320px;
  opacity:.23;
  mix-blend-mode:soft-light
}
.envelope-address {
  position:absolute;
  text-align:center;
  top:57%;
  width:100%
}
.envelope-address .eyebrow {
  font-size:8px
}
.envelope-address p {
  font:30px/1.2 var(--display);
  color:var(--forest);
  margin:5px 0
}
.envelope-from {
  font-size:9px;
  color:var(--muted)
}
.wax-seal {
  pointer-events:auto;
  position:absolute;
  top:calc(62% - 34px);
  left:calc(50% - 34px);
  width:68px;
  height:68px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  z-index:6;
  transition:transform .2s,opacity .25s
}
.wax-seal img {width:100%;height:100%;object-fit:contain}
.wax-seal:hover {transform:translateY(-2px) rotate(-3deg)}
.demo[data-stage=opening] .envelope-flap {
  transform:perspective(1000px) rotateX(180deg)
}
.demo[data-stage=opening] .wax-seal {
  opacity:0;
  pointer-events:none
}
.envelope-pocket {
  position:relative;
  width:min(100%,var(--envelope-width));
  aspect-ratio:1.6;
  z-index:4;
  pointer-events:none;
  background:linear-gradient(31deg,#ffffff03 49.7%,#9ca78e25 49.9%,transparent 50.1%) left/50.1% 100% no-repeat,linear-gradient(-31deg,#0b211c10 49.7%,#9ca78e20 49.9%,transparent 50.1%) right/50.1% 100% no-repeat,linear-gradient(160deg,#30483b,#263e32 65%,#21382e);
  border:1px solid #52624a;
  border-top:0;
  border-radius:0 0 2px 2px;
  clip-path:polygon(0 0,50% 58%,100% 0,100% 100%,0 100%);
  transition:transform .65s cubic-bezier(.22,1,.36,1),opacity .5s ease
}
.envelope-pocket::before {
  content:'';
  position:absolute;
  inset:0;
  background:url("/assets/ivory-paper.webp") center/320px;
  opacity:.23;
  mix-blend-mode:soft-light
}
.envelope-pocket .envelope-address {top:80%;font-size:10px}
.envelope-pocket .envelope-address .eyebrow {display:none}
.envelope-pocket .envelope-address p {
  font-size:23px;
  font-style:italic;
  letter-spacing:.025em;
  color:#e8dfc7;
  text-shadow:0 1px 1px #0d211b
}
.demo[data-stage=flying] .envelope,.demo[data-stage=flying] .envelope-pocket {
  transform:translateY(70px);
  opacity:0;
  transition-delay:1.05s
}
.demo[data-stage=opening] .envelope-flap,.demo[data-stage=flying] .envelope-flap {
  z-index:1;
  background:#ece6d7 url("/assets/ivory-paper.webp") center/320px;
  transform:perspective(1000px) rotateX(180deg)
}
.demo[data-stage=flying] .wax-seal {opacity:0}
.sample-collection {
  height:100%;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  overflow-anchor:none
}
.sample-collection::-webkit-scrollbar {width:7px}
.sample-collection::-webkit-scrollbar-thumb {background:#a9b4a4;border-radius:8px}
.flight-layer {
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  z-index:3
}
.flight-slot {position:absolute;inset:0}
.flying-photo {
  position:absolute;
  max-width:none;
  object-fit:cover;
  outline:3px solid var(--light);
  border-radius:6px;
  box-shadow:0 10px 24px -12px #263e3455;
  will-change:transform,opacity
}
.demo[data-stage=flying] .collection-heading {
  animation:gallery-heading-arrive .45s .7s both
}
@keyframes gallery-heading-arrive {
  from {opacity:0}
  to {opacity:1}
}
.collection-heading {
  text-align:center;
  padding:24px 20px 18px
}
.collection-heading .eyebrow {
  margin-bottom:8px
}
.collection-heading h3 {
  font-size:46px;
  line-height:1.2;
  color:var(--forest);
  letter-spacing:-.035em
}
.collection-heading>p:last-child {
  font-size:12px;
  margin-top:10px
}
.sample-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  padding:0 24px 20px
}
.sample-photo {
  text-decoration:none;
  position:relative;
  display:block
}
.sample-photo img {
  width:100%;
  height:180px;
  object-fit:cover;
  object-position:50% 28%;
  border-radius:6px;
  transition:filter .2s
}
.sample-photo:hover img {
  filter:brightness(.9)
}
.sample-photo>span {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:10px;
  min-height:32px
}
.sample-photo[data-failed=true]::before {
  content:'Photograph unavailable. Select to retry in the viewer.';
  display:grid;
  place-items:center;
  padding:20px;
  position:absolute;
  inset:0 0 32px;
  background:#e5dfd1;
  font-size:12px;
  text-align:center
}
.collection-note {
  font-size:10px;
  text-align:center;
  padding:10px 20px 26px
}
.flow {
  padding-block:80px
}
.steps {
  list-style:none;
  padding:0;
  margin:48px 0 0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px
}
.steps li {
  border:1px solid #e7e2d0;
  border-radius:16px;
  background:var(--butter);
  padding:28px
}
.step-number {
  color:#77684b;
  font:italic 22px/1 var(--display)
}
.steps h3 {
  font-size:27px;
  color:var(--forest);
  margin:28px 0 12px;
  line-height:1.2;
  letter-spacing:-.025em
}
.steps p {
  font-size:14px;
  max-width:310px
}
.benefits {
  background:var(--garden);
  color:var(--forest);
  padding-block:76px
}
.benefits-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px
}
.benefits h2 {
  color:var(--forest)
}
.benefits .eyebrow {
  color:var(--muted)
}
.benefits-intro {
  font-size:13px;
  margin-top:28px;
  color:#4e5b51
}
.benefit-list article {
  display:flex;
  gap:25px;
  border-bottom:1px solid #cdd7c8;
  padding-bottom:25px;
  margin-bottom:25px
}
.benefit-list article:last-child {
  border-bottom:0;
  padding-bottom:0;
  margin-bottom:0
}
.benefit-list article>span {
  width:24px;
  flex-shrink:0;
  color:var(--forest);
  font-size:24px;
  line-height:1.3
}
.benefit-list h3 {
  font-size:26px;
  line-height:1.2;
  margin-bottom:10px;
  letter-spacing:-.015em
}
.benefit-list p {
  font-size:14px;
  color:#4e5b51
}
.start {
  padding-block:95px;
  text-align:center
}
.start h2 {
  font-size:clamp(42px,5vw,72px)
}
.start>p:not(.eyebrow) {
  font-size:13px;
  margin:28px auto 30px;
  max-width:580px
}
.start .button {
  min-width:265px
}
.site-footer {
  border-top:1px solid var(--line);
  padding-block:30px
}
.footer-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px
}
.footer-top .wordmark {
  font-size:32px
}
.footer-top p,.footer-top>a:last-child {
  font-size:11px
}
.footer-top>a:last-child {
  min-height:44px;
  display:flex;
  align-items:center;
  gap:8px
}
.footer-bottom {
  display:flex;
  justify-content:space-between;
  gap:30px;
  border-top:1px solid var(--line);
  padding-top:22px;
  margin-top:25px;
  font-size:10px;
  color:var(--muted)
}
details {
  max-width:540px;
  text-align:right
}
summary {
  cursor:pointer;
  min-height:44px
}
details p {
  text-align:left;
  margin-top:12px;
  line-height:1.8
}
#photo-viewer {
  width:min(1100px,calc(100% - 32px));
  height:min(880px,calc(100svh - 32px));
  max-width:none;
  max-height:none;
  overscroll-behavior:contain;
  padding:20px 26px;
  border:1px solid #697568;
  background:var(--ink);
  color:var(--paper)
}
#photo-viewer::backdrop {
  background:#15231de8
}
#photo-viewer[open] {
  display:flex;
  flex-direction:column;
  gap:12px
}
.viewer-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}
.viewer-toolbar h2 {
  font:14px/1.4 var(--body);
  letter-spacing:0;
  color:var(--paper)
}
#photo-viewer button {
  border:1px solid #8b9689;
  background:transparent;
  color:var(--paper);
  min-height:44px;
  min-width:48px;
  padding:8px 14px;
  font-size:13px
}
#photo-viewer button:hover {
  background:#435447
}
#photo-viewer button:focus-visible {
  outline-color:var(--paper)
}
.viewer-image-wrap {
  position:relative;
  flex:1;
  min-height:0;
  display:grid;
  place-items:center
}
.viewer-image-wrap img {
  height:100%;
  width:100%;
  object-fit:contain;
  min-height:0
}
.viewer-image-wrap p {
  color:var(--paper);
  text-align:center;
  padding:24px
}
.viewer-navigation {
  display:flex;
  align-items:center;
  justify-content:space-between
}
.viewer-navigation p {
  color:var(--paper);
  font-size:12px
}





@media(max-width:1050px) {
  .wrap {
    width:calc(100% - 64px)
  }

  .benefits-layout {
    gap:45px
  }
  .steps {
    gap:28px
  }
}
@media(max-width:760px) {
  .wrap {
    width:calc(100% - 40px)
  }

  .experience {
    padding-block:45px 40px
  }
  .section-heading {
    display:block;
    margin-bottom:28px
  }
  .section-heading>p {
    margin-top:18px;
    font-size:12px
  }
  .section-heading h2 {
    font-size:38px
  }
  .section-heading .eyebrow {
    font-size:9px;
    margin-bottom:14px
  }


  .quiet-button {
    font-size:10px
  }
  .quiet-button span {
    margin-left:5px
  }
  .demo-stage {
    min-height:0
  }
  .reveal {
    padding:24px 20px;
    gap:12px
  }
  .reveal-object {
    height:350px
  }
  .reveal-hint {
    font-size:11px
  }
  .envelope {
    max-width:360px
  }
  .envelope-address p {
    font-size:27px
  }



  .sample-grid {
    gap:10px 14px;
    padding:0 16px;
    grid-template-columns:1fr 1fr
  }


  .sample-photo img {
    height:180px
  }
  .sample-photo>span {
    line-height:1.4;
    font-size:9px
  }
  .collection-heading {
    padding-block:24px 18px
  }
  .collection-heading h3 {
    font-size:38px
  }
  .collection-heading>p:last-child {
    font-size:11px
  }
  .flow {
    padding-block:50px
  }
  .steps {
    grid-template-columns:1fr;
    gap:26px;
    margin-top:30px
  }
  .steps li {
    padding:24px;
    display:grid;
    grid-template-columns:35px 1fr;
    gap:0 16px;
    padding-top:20px
  }
  .step-number {
    padding-top:5px
  }
  .steps h3 {
    margin:0 0 10px;
    font-size:28px
  }
  .steps p {
    grid-column:2;
    max-width:none;
    font-size:13px
  }
  .benefits {
    padding-block:50px
  }
  .benefits-layout {
    grid-template-columns:1fr;
    gap:35px
  }
  .benefits h2 {
    font-size:40px
  }
  .benefits .eyebrow {
    font-size:9px;
    margin-bottom:18px
  }
  .benefits-intro {
    margin-top:20px
  }
  .benefit-list article {
    gap:18px
  }
  .start {
    padding-block:55px
  }
  .start h2 {
    font-size:48px
  }
  .start>p:not(.eyebrow) {
    font-size:13px
  }
  .start>p br {
    display:none
  }
  .footer-top {
    flex-wrap:wrap;
    gap:14px
  }
  .footer-top p {
    order:3;
    flex-basis:100%;
    font-size:10px
  }
  .footer-top>a:last-child {
    font-size:10px;
    margin-left:auto
  }
  .footer-bottom {
    flex-wrap:wrap;
    gap:20px
  }
  .footer-bottom>span {
    white-space:nowrap
  }
  details {
    max-width:230px
  }
  .desktop-break {
    display:none
  }
  #photo-viewer {
    padding:16px;
    gap:8px
  }
  .viewer-toolbar h2 {
    font-size:12px
  }
}
@media(max-width:360px) {
  .wrap {
    width:calc(100% - 32px)
  }

  .envelope-address p {
    font-size:23px
  }
  .envelope-from {
    font-size:8px
  }
  .wax-seal {
    width:50px;
    height:50px;
    left:calc(50% - 25px);
    top:32%
  }

  .quiet-button {
    font-size:9px
  }
  .quiet-button span {
    margin-left:3px
  }
  .start h2 {
    font-size:43px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important
  }
}

.sample-photo[data-photo="0"] img {object-position:50% 28%}

.sample-photo[data-photo="4"] img,
.sample-photo[data-photo="5"] img,
.sample-photo[data-photo="6"] img,
.sample-photo[data-photo="7"] img {
  object-position:50% 60%
}

@media(max-width:760px) {
 .reveal-object {--envelope-width:360px}
 .envelope {max-width:none}
}
@media(max-width:360px) {
 .wax-seal {width:66px;height:66px;left:calc(50% - 33px);top:calc(62% - 33px)}
 .envelope-pocket .envelope-address p {font-size:20px}
}
