/* Sabab homepage: a folded mark, a project print and a sequence of business examples. */
.homepage-review {
  --studio-serif: Georgia, "Times New Roman", serif;
  --studio-rule: #acb1ba;
  --muted: #48505d;
}
.homepage-review .site-header { min-height: 80px; padding-block: 13px; }
.homepage-review .studio-header .brand-name { font-size: 2.85rem; }
.homepage-review main h2 em, .cover-intro h1 em {
  font: italic 400 1em/1.02 var(--studio-serif);
  letter-spacing: -.055em;
}

/* A studio cover in blue ink. The folded S sits behind the selected project print. */
.studio-opening { color: var(--ink); background: #f7f6ef; overflow: clip; }
.studio-cover {
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr);
  align-items: end; gap: clamp(24px,3.7vw,58px);
  padding-block: clamp(48px,5.5vw,84px) clamp(47px,5.2vw,84px);
}
.study-stage {
  position: relative;
  isolation: isolate;
  align-self: center;
  min-width: 0;
  padding: clamp(84px, 8vw, 126px) clamp(12px, 2.4vw, 36px) clamp(28px, 3.4vw, 54px) 0;
}
.cover-fold {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: clamp(154px, 19vw, 280px);
  max-width: none;
  height: auto;
  top: clamp(-65px, -5.2vw, -38px);
  right: -7%;
  transform: rotate(calc(9deg + var(--fold-nudge, 0deg) + var(--fold-peek, 0deg)));
  filter: drop-shadow(0 8px 6px rgb(29 49 92 / .14));
}
.cover-intro { align-self: center; min-width: 0; }
.cover-intro h1 { position: relative; font-size: clamp(5rem,9.6vw,9.3rem); font-weight: 750;
  line-height: .90; letter-spacing: -.09em; overflow-wrap: normal; }
.cover-intro h1 em { display:block; width: max-content; max-width: 100%;
  font-size: .70em; line-height: 1.04; color: var(--blue); margin-top: .07em; white-space: nowrap; }
.cover-note { margin-top: clamp(27px,3vw,48px); }
.cover-note p { max-width:35ch; font-size: clamp(1.06rem,1.34vw,1.23rem); line-height: 1.48; }
.cover-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 21px; margin-top: 22px; }
.cover-actions .cover-primary { min-height: 46px; padding: 11px 18px; color:white; background:var(--blue); }
.cover-link { display:inline-flex; align-items:center; color:var(--blue); min-height:44px; font-size:.94rem; font-weight:700; }
.cover-link:hover { text-decoration: underline; text-underline-offset:.3em; }
.studio-opening :focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
.study-gallery {
  position: relative;
  isolation: isolate;
  min-width: 0;
  background: #fff;
  box-shadow: 0 2px 3px #14233e40, 4px 9px 12px -5px #172b4c47,
              10px 27px 36px -10px #12295061;
}
/* A second sheet catches the light below the print, including on touch screens. */
.study-gallery::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 8px -4px -5px 5px;
  transform: rotate(1.15deg);
  background: #d5dfeb;
  border: 1px solid #a9b7c9;
  box-shadow: 0 9px 12px -9px #192d4d99;
}
.study-tools {
  display:flex; align-items:center; justify-content:space-between; gap:0 9px; flex-wrap:wrap;
  background:#fffefa; color:#203459; padding:3px clamp(9px,1.4vw,20px);
  border:1px solid #c7ccd5; border-bottom-color:#d4d9de;
}
.study-tools p { font-size:.8rem; font-weight:650; }
.study-picker { display:flex; flex-wrap:wrap; align-items:center; gap:2px; }
.study-picker button { background:transparent; border:0; border-radius:2px; color:#203459; min-height:44px; padding:6px 10px; font-size:.86rem; }
.study-picker button[aria-pressed="true"] { background:var(--blue); color:#fff; font-weight:700; }
.study-picker button:not([aria-pressed="true"]):is(:hover,:focus-visible) { background:#e1e9f8; }
.study-picker button:focus-visible { outline-color:#17347e; outline-offset:1px; }
.study-panel { --mat:#ebeffa; --type-ink:#243a76; position:relative; isolation:isolate;
  padding:clamp(7px,.8vw,12px) clamp(7px,.8vw,12px) 0; background:var(--mat); color:var(--type-ink);
  border:1px solid #20344d38; border-top:0; }
.study-panel[data-case="porch"] { --mat:#f4f5e9; --type-ink:#244538; }
.study-panel[data-case="forge"] { --mat:#efeee6; --type-ink:#30382e; }
.study-panel[hidden], .study-picker[hidden], .preview-switch[hidden] { display:none; }
@media (scripting:enabled) { .study-gallery .study-picker[hidden] {display:flex !important;visibility:hidden;} }
.study-screen a { display:block; overflow:hidden; background:white; border:1px solid #20344d24; }
.study-screen img { display:block; width:100%; height:auto; aspect-ratio:8/5; object-fit:contain; }
.study-credit { min-height:64px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; padding:7px 2px; }
.study-identity { display:grid; gap:2px; }
.study-identity span { font:italic 400 clamp(1.2rem,1.9vw,1.72rem)/1.12 var(--studio-serif); letter-spacing:-.045em; }
.study-identity small { font-size:.76rem; }
.study-credit a { display:inline-flex; align-items:center; justify-content:center; min-height:44px;
  padding:7px 14px; border:1px solid var(--type-ink); color:white; background:var(--type-ink); border-radius:2px;
  font-weight:650; font-size:.89rem; text-decoration:none; }
.study-credit a:is(:hover,:focus-visible) { color:var(--type-ink); background:white; }
.study-panel :focus-visible { outline-color:var(--type-ink); }
/* Motion is confined to the artwork. Switches, links and captions keep their positions. */
@media (prefers-reduced-motion: no-preference) {
  body[data-motion="on"] .cover-fold {
    animation: fold-settle 1.6s cubic-bezier(.18,.75,.24,1) both;
    transition: transform .65s cubic-bezier(.18,.75,.24,1);
  }
  body[data-motion="on"] .study-stage:has([data-study="daybreak"][aria-pressed="true"]) { --fold-nudge: 8deg; }
  body[data-motion="on"] .study-stage:has([data-study="forge"][aria-pressed="true"]) { --fold-nudge: -7deg; }
  body[data-motion="on"] .study-stage:focus-within { --fold-peek: 4deg; }
  body[data-motion="on"] .study-screen img { animation: studio-proof .38s cubic-bezier(.21,.68,.3,1); }
  @supports (animation-timeline: scroll()) {
    body[data-motion="on"] .cover-fold {
      animation: fold-settle 1.6s cubic-bezier(.18,.75,.24,1) both, fold-travel linear both;
      animation-timeline: auto, scroll(root block);
      animation-range: normal, 0px 620px;
    }
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body[data-motion="on"] .study-stage:has(.study-gallery:hover) { --fold-peek: 4deg; }
}
@keyframes fold-settle {
  from { rotate: -13deg; scale: .92; }
  to { rotate: 0deg; scale: 1; }
}
@keyframes fold-travel {
  from { translate: 0 0; }
  to { translate: -18px 54px; }
}
@keyframes studio-proof { from { opacity:.82; transform:translate(7px,5px) scale(.99); } }
.feature { --muted: #3d444e; background: #e9e3d6; padding-block: clamp(52px,6vw,90px); }
.feature .section-heading, .range .section-heading {
  border: 0; padding: 0; margin-bottom: clamp(26px,3vw,46px); align-items: end;
}
.feature .section-heading h2, .range .section-heading h2 { font-size: clamp(2.65rem,4.8vw,4.5rem); line-height: 1.05; }
.feature .section-heading h2 em, .range .section-heading h2 em, .begin h2 em { color: var(--blue); }
.feature .section-heading > p { max-width: 38ch; }
.feature-grid { gap: clamp(26px,4vw,64px); }
.feature-grid figure { width: 100%; min-width: 0; }
.feature-grid figure .preview-switch { margin: 0 0 12px; }
.feature-picture { border-color: #b7ab97; }
.feature-story > .category { color: #604e30; }
.bake-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 22px 0 8px; }
.bake-details a { align-self: start; font-size: .91rem; font-weight: 650; line-height: 1.35; text-decoration: none; }
.bake-details img { display: block; width: 100%; height: auto; }
.bake-details span { display: inline-block; padding-block: 8px 4px; }
.bake-details a:is(:hover,:focus-visible) span { text-decoration: underline; }

.range-grid > .range-lead .range-info { padding: 0; }
.range-grid > .range-lead .range-business { margin-bottom: 12px; }
.range-item:not(:first-child) .range-info {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start;
  column-gap: 12px; padding-top: 17px;
}
.range-item:not(:first-child) .range-info > :not(.open-label) { grid-column: 1; }
.range-item:not(:first-child) .range-info .range-category { margin: 0; color: var(--muted); }
.range-item:not(:first-child) h3 { font-size: clamp(1.9rem,3vw,2.8rem); margin-top: 4px; }
.range-item:not(:first-child) .open-label { grid-column: 2; grid-row: 1 / span 3; margin: 0; align-self: center; }
.range-item .range-business { font: italic 1rem/1.3 var(--studio-serif); }
.range-item p { margin-top: 9px; }
.services h2 em, .founder h2 em, .begin h2 em, .closing h2 em { display: block; }
.service-intro h2, .founder h2 { max-width: 15ch; }
.services h2 em, .founder h2 em, .closing h2 em { color: #d4e0ff; }
.service-intro p { max-width: 40ch; }
#about .founder-note .lead { font: 400 clamp(1.65rem,2.6vw,2.5rem)/1.22 var(--studio-serif); }
.founder :is(summary,a):focus-visible { outline: 3px solid white; outline-offset: 5px; }
.begin-row { grid-template-columns: minmax(0,1fr) auto; }
.begin-row h3 { line-height: 1.2; }


/* The bakery reads as one spread, followed by a differently paced portfolio. */
.feature .feature-context { font-size:.82rem; color:#564e3e; font-weight:650; margin:0 0 8px; }
.feature .section-heading h2 { font-size:clamp(3.65rem,7.7vw,7.6rem); }
.feature .section-heading h2 em { color:#2c2a27; }
.feature .section-heading { border-bottom:1px solid #b5ac9a; padding-bottom:clamp(16px,2.3vw,32px); }
.feature-grid .feature-picture { border:1px solid #a99c80; box-shadow:4px 5px 0 #c7bca5; }
/* Cobalt drafting paper with a common light source across the project prints. */
.range {
  --muted: #e2e8fa;
  --ink: #fff;
  color: #fff;
  border: 0;
  padding-block: clamp(55px,7vw,106px);
  background-color: #203c87;
  background-image:
    linear-gradient(rgb(219 232 255 / .05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(219 232 255 / .05) 1px, transparent 1px),
    linear-gradient(117deg, #354e99 0%, #243f8e 44%, #172f75 100%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
}
.range .section-heading h2 em { color: #dae4ff; }
.range .section-heading > a, .range-item:not(:first-child) .open-label {
  color: #fff; border-color: #abbde5; background: #253f85;
}
.range .section-heading > a:is(:hover,:focus-visible), .range-item:not(:first-child) .open-label:is(:hover,:focus-visible) {
  color: #17347e; background: #fff;
}
.range :focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.range-preview { position: relative; isolation: isolate; }
.range-grid .range-image {
  /* Keep the click target on the stationary link as the print settles. */
  pointer-events: none;
  padding: clamp(4px,.55vw,8px);
  background: #faf9f4;
  border: 1px solid #fff;
  box-shadow: 0 2px 0 #b5c2d6, 1px 4px 4px #0b1b3940,
              3px 12px 14px -4px #0b193c70, 8px 26px 30px -12px #0817378c;
}
@media (prefers-reduced-motion:no-preference) {
  body[data-motion="on"] .range-preview .range-image { transition: translate .28s ease-out; }
  body[data-motion="on"] .range-preview:focus-visible .range-image { translate: 0 -3px; }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  body[data-motion="on"] .range-preview:hover .range-image { translate: 0 -3px; }
}
body .range-grid .range-preview:is(:hover,:focus-visible) .range-image {
  box-shadow: 0 2px 0 #b5c2d6, 1px 4px 4px #0b1b3940,
              3px 15px 18px -6px #0b193c78, 8px 31px 34px -14px #08173798;
}

.range .section-heading h2 { font-size:clamp(3rem,5.3vw,5.25rem); }
.range-grid { grid-template-columns:repeat(12,minmax(0,1fr)); gap:clamp(38px,4.8vw,75px) clamp(14px,2vw,30px); align-items:start; }
.range-grid > .range-lead { grid-column:1/-1; gap:clamp(24px,5vw,78px); border:0; background-color: #e4e5d9;
  background-image: linear-gradient(122deg, transparent 57%, #f4f4ea 57%, #ebede0 73%, transparent 73%);
  color: #202720;
  box-shadow: 0 2px 0 #a5b1a9, 6px 23px 32px -13px #071a44a3; grid-template-columns:.72fr 1.28fr; padding:clamp(21px,3.5vw,56px); }
.range-grid > .range-lead .range-info { --ink: #202720; color: var(--ink); }
.range-grid > .range-lead h3 { font-size:clamp(3.8rem,7.3vw,7rem); }
.range-grid > .range-lead :is(.range-category,.range-business) { color:#405042; }
.range-grid > .range-lead .open-label { color:#fff; border-color:#273b31; background:#273b31; }
.range-grid > .range-lead .open-label:is(:hover,:focus-visible) { color:#202721; background:white; }
.range-grid > .range-lead :focus-visible { outline-color:#17347e; }
.range-item:nth-child(2) {grid-column:1/8;}
.range-item:nth-child(3) {grid-column:9/13; align-self:end;}
.range-item:nth-child(4) {grid-column:1/6;align-self:end;}
.range-item:nth-child(5) {grid-column:7/13;}
.range-item:not(:first-child) h3 { font-size:clamp(2.1rem,3.7vw,3.6rem); }
.founder .founder-id h3 { font-family:var(--studio-serif); font-style:italic; font-weight:400; font-size:clamp(1.65rem,2.4vw,2.3rem); }

@media (min-width:821px) {
  .cover-intro { container-type:inline-size; }
  .cover-intro h1 em { font-size:min(.70em,15.4cqi); }
}

@media (min-width:821px) and (max-width:1050px) {
  .studio-cover { grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); gap:26px; }
  .cover-intro h1 { font-size:8.7vw; }
  .study-tools { align-items:flex-start; flex-direction:column; padding-block:5px; }
  .study-picker button { padding-inline:9px; }
}
@media (max-width:820px) {
  .studio-cover { display:block; padding-block:36px 46px; }
  .cover-intro { width:73%; position:relative; }
  .cover-intro h1 { font-size:clamp(4rem,13.4vw,6.5rem); }
  .cover-note { max-width:42ch; margin-top:20px; }
  .cover-note p {font-size:1.04rem;}
  .cover-actions {margin-top:12px;}
  .study-stage { margin-top:18px; padding:52px 18px 22px 0; }
  .cover-fold { width:clamp(106px,17vw,150px); top:-39px; right:-1%; }
  .range-item:nth-child(2),.range-item:nth-child(4) {grid-column:1/7;}
  .range-item:nth-child(3),.range-item:nth-child(5) {grid-column:7/13;}
}
@media (max-width:740px) {
  .homepage-review .site-header { padding-block:12px 8px; min-height:0; }
  .homepage-review .studio-header .brand-name {font-size:2.3rem;}
  .homepage-review :is(.brand-link,.footer-brand) {width:fit-content;min-height:44px;}
  .studio-cover {padding-block:26px 35px;}
  .cover-intro {width:auto;}
  .cover-intro h1 {font-size:clamp(3.8rem,14.8vw,5.65rem);}
  .cover-intro h1 em {font-size:.72em;}
  .cover-note {max-width:none;margin-top:15px;}
  .cover-note p {font-size:1rem;}
  .cover-actions {column-gap:12px;width:max-content;max-width:calc(100vw - 40px);}
  .cover-actions .cover-primary {padding-inline:14px;}
  .cover-link {font-size:.88rem;}
  .study-stage { margin-top:14px; padding:46px 9px 16px 0; }
  .cover-fold { width:clamp(75px,21vw,121px); top:-10px; right:-2%; }
  .range { background-size:28px 28px,28px 28px,100% 100%; }
  .study-tools {display:block;padding:6px 8px 4px;}
  .study-tools p {font-size:.75rem;}
  .study-picker {margin-top:3px;}
  .study-picker button {padding-inline:9px;}
  .study-credit {min-height:56px;}
  .study-credit a {padding-inline:10px;}
  .feature-grid {display:flex;flex-direction:column;}
  .feature-grid figure {order:0;}
  .feature .section-heading > p {margin-top:14px;}
  .feature .section-heading h2 {font-size:clamp(3.1rem,10vw,4.8rem);}
  .range .section-heading h2 {font-size:clamp(2.6rem,8vw,4rem);}
  .range-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:35px;}
  .range-grid>.range-item:nth-child(n) {grid-column:1;align-self:start;margin-top:0;}
  .range-grid>.range-lead {display:flex;flex-direction:column;align-items:stretch;gap:14px;}
  .range-grid>.range-lead h3 {font-size:2.6rem;}
  .range-item:not(:first-child) .range-info {padding-top:12px;}
  .begin-row {grid-template-columns:minmax(0,1fr);gap:10px;}
  .begin-row .button {grid-column:1;justify-self:start;}
}
@media (max-width:370px) {
  .cover-actions {column-gap:10px;}
  .range-item:not(:first-child) .range-info {display:block;}
  .range-item:not(:first-child) .open-label {margin-top:10px;}
}

/* Each print sets its caption according to its own width in the asymmetric gallery. */
.range-item:not(:first-child) { container-type: inline-size; }
@container (max-width: 29rem) {
  .range-item:not(:first-child) .range-info { display: block; }
  .range-item:not(:first-child) .open-label { margin: 13px 0 0; }
}

@supports not (container-type: inline-size) {
  .range-item:not(:first-child) .range-info { display: block; }
  .range-item:not(:first-child) .open-label { margin: 13px 0 0; }
}

/* A personal note on the studio's blue desk. All live controls sit on flat paper. */
#about {
  background: linear-gradient(112deg, #254aa8 0%, #234394 66%, #19377e 100%);
  padding-block: clamp(58px, 7.4vw, 116px);
}
#about .founder-layout {
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  align-items: center; gap: clamp(32px,5.3vw,88px);
}
#about .founder-heading { grid-area: auto; min-width: 0; }
#about .section-label { margin: 0; }
#about h2 {
  margin: clamp(20px,2.6vw,40px) 0; color: white;
  font-size: clamp(3.1rem,6.6vw,6.7rem); line-height: .98; letter-spacing: -.06em;
}
#about h2 em { font-family: var(--studio-serif); font-weight: 400; line-height: 1; letter-spacing: -.055em; }
#about .founder-id {
  display: grid; grid-template-columns: clamp(50px,5.2vw,76px) minmax(0,1fr);
  gap: 2px 18px; align-items: center; width: fit-content; max-width: 100%;
  padding: 22px 0 0; margin-top: 30px; border-top: 1px solid #93abe0;
}
#about .founder-id img { width: 100%; height: auto; grid-row: 1 / span 2; grid-column: 1; }
#about .founder-id h3, #about .founder-id p { grid-column: 2; margin: 0; }
#about .founder-id h3 { font-size: clamp(1.12rem,1.5vw,1.5rem); line-height: 1.12; }
#about .founder-id p { color: #e8edff; line-height: 1.4; }
#about .founder-sheet {
  position: relative; isolation: isolate; display: block; grid-area: auto;
  margin: 0 5px 8px 0; padding: clamp(24px,3vw,48px) clamp(20px,3.2vw,50px) clamp(25px,2.6vw,40px) clamp(37px,4.1vw,68px);
  color: #242a34; background-color: #fffcf3;
  background-image: linear-gradient(90deg, transparent 21px, #c6d0df 21px, #c6d0df 22px, transparent 22px);
  border: 1px solid #dfdfda; box-shadow: 3px 4px #dbdfdf, 6px 8px #acbad3, 9px 19px 24px -14px #071b4b;
}
#about .founder-sheet::before {
  content: ""; position: absolute; left: 6px; top: 19px; bottom: 18px; width: 8px;
  background: radial-gradient(circle closest-side, #203e8e 74%, #aeb7ca 86%, transparent 100%) 0 0 / 8px 27px repeat-y;
  pointer-events: none;
}
#about .founder-note, #about .founder-bottom { display: block; padding: 0; margin: 0; border: 0; }
#about .founder-note p, #about .founder-bottom details p { color: #373c44; font-size: 1rem; line-height: 1.53; margin: 12px 0 0; }
#about .founder-note .lead {
  color: #222e3c; margin: 0; max-width: 26ch; font: 400 clamp(1.6rem,2.45vw,2.55rem)/1.13 var(--studio-serif); letter-spacing: -.035em;
}
#about .lead em { color: #254698; }
#about .skills { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0; margin: 22px 0 12px; color: #354a70; font-size: .85rem; }
#about .founder-bottom { border-top: 1px solid #b5bdc7; }
#about .founder-bottom details { border: 0; color: #233f82; }
#about summary { width: fit-content; cursor: pointer; padding-block: 12px; min-height: 44px; color: #233f82; font-weight: 650; }
#about .founder-bottom > .button { margin-top: 10px; background: #254698; border-color: #254698; color: white; }
#about .founder-bottom > .button:hover { background: #193678; }
#about :is(a,summary):focus-visible { outline: 3px solid #173984; outline-offset: 4px; }

/* Two objects that explain the two ways in: a pair of proofs and an open letter. */
#start-a-project { display: block; padding-block: clamp(54px,6.4vw,100px); }
.begin .begin-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.begin .begin-heading h2 { color: #202735; font-size: clamp(3.2rem,6.2vw,6.1rem); line-height: 1; margin: 0; }
.begin .begin-heading h2 em { display: inline; font-family: var(--studio-serif); font-weight: 400; }
.begin .begin-heading > p { max-width: 28ch; color: #3d4654; margin: 0; }
.begin .begin-routes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,3.2vw,56px); margin: 30px 0 0; }
.begin .begin-row {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  min-width: 0; padding: 0; border: 0; color: #202735;
}
.begin .route-copy { padding-top: 20px; }
.begin .route-copy h3 { font-size: clamp(1.45rem,2.15vw,2.2rem); line-height: 1.1; letter-spacing: -.036em; }
.begin .route-copy p { font-size: 1rem; line-height: 1.5; max-width: 49ch; margin: 10px 0 17px; }
.begin .begin-row > .button { align-self: start; margin: auto 0 0; }
.route-art {
  width: 100%; height: clamp(144px,16.3vw,248px); position: relative;
  display: grid; place-items: center; isolation: isolate; overflow: hidden; pointer-events: none;
}
.sample-prints { background: #d7dad0; }
.sample-prints::before { content: ""; position: absolute; inset: 0; background: linear-gradient(119deg,transparent 57%,#e4e6df 57%,#dfe2d9 79%,transparent 79%); }
.sample-prints img {
  position: absolute; width: 47%; height: auto; aspect-ratio: 1.6; object-fit: cover; object-position: top;
  border: 4px solid #fffdf7; box-shadow: 1px 2px 1px #57615144, 4px 10px 12px -7px #38433799;
}
.sample-prints img:first-child { left: 11%; top: 12%; transform: rotate(-8deg); }
.sample-prints img:last-child { left: 43%; top: 27%; transform: rotate(6deg); }
.idea-letter { background-color: #cbd8f4; background-image: linear-gradient(135deg,transparent 64%,#d6e1f6 64%); }
.letter-pocket {
  position: relative; width: 49%; height: 55%; max-width: 290px; margin-top: 7%;
  background: #526eaa; transform: rotate(-5deg); box-shadow: 3px 7px 11px -5px #25345266;
}
.letter-paper {
  position: absolute; inset: -30% 8% 4%; background: #fffbef; border: 1px solid #c3c3b5;
  padding: clamp(7px,1.2vw,18px) 9%; color: #233d76; font: italic clamp(1rem,2vw,1.85rem)/1.12 var(--studio-serif);
}
.letter-paper span { display: block; margin-top: 8px; width: 73%; height: 12px; border-block: 1px solid #c2c8ca; }
.letter-front { position: absolute; inset: 0; overflow: hidden; clip-path: polygon(0 0,50% 44%,100% 0,100% 100%,0 100%); background: #7c97cf; }
.letter-front::before { content: ""; position: absolute; inset: 0; background: #8fa8dc; clip-path: polygon(0 100%,50% 43%,100% 100%); }
.letter-front img { position: absolute; right: 6%; bottom: 12%; width: 13%; height: auto; padding: 3px; background: #fff9e8; }
@media(max-width: 760px) {
  #about .founder-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
  #about h2 { font-size: clamp(3rem,9.8vw,4.6rem); max-width: 16ch; margin: 15px 0; }
  #about .founder-id { margin-top: 18px; padding-top: 14px; }
  .begin .begin-heading { display: block; }
  .begin .begin-heading > p { max-width: 37ch; margin-top: 14px; }
}
@media(max-width: 620px) {
  .begin .begin-routes { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .route-art { height: clamp(135px,41vw,218px); }
  .begin .route-copy { padding-top: 14px; }
}

/* The final invitation is the reply postcard to the founder’s notebook. */
.closing#project-invitation {
  display: block;
  padding: clamp(38px,5.3vw,78px) 0;
  color: #252d36;
  background: #253f87 linear-gradient(116deg, #233d82, #294b9b 62%, #1b3474);
}
.closing .closing-postcard {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,1.48fr) minmax(0,.78fr);
  gap: clamp(30px,5vw,76px);
  padding: clamp(27px,4.3vw,68px);
  background: #fffcf2;
  border: 1px solid #fcf7e8;
  box-shadow: 2px 3px #dddccf, 4px 6px #b9c1c8, 8px 18px 24px -10px #102752a6;
}
.closing .closing-postcard::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 5px;
  background: repeating-linear-gradient(125deg, #7892bf 0 13px, #fbf7ec 13px 25px, #304e90 25px 38px, #fbf7ec 38px 52px);
  pointer-events: none;
}
.closing .postcard-message { align-self: center; min-width: 0; }
.closing .postcard-message h2 {
  max-width: none; margin: 0; font-size: clamp(3.5rem,6.8vw,6.75rem);
  line-height: .97; letter-spacing: -.061em; color: #242d38;
}
.closing .postcard-message h2 em { color: #26499e; }
.closing .postcard-message p { max-width: 46ch; text-wrap: pretty; margin: 20px 0 0; color: #434955; font-size: 1.05rem; line-height: 1.45; }
.closing .postcard-message .button {
  width: fit-content; max-width: 100%; margin: 23px 0 0; padding: 13px 21px;
  background: #25469c; border: 2px solid #25469c; color: white;
}
.closing .postcard-message .button:is(:hover,:focus-visible) { background: #18357c; border-color: #18357c; color: white; }
.closing .postcard-message .button:focus-visible { outline: 3px solid #17347e; outline-offset: 4px; }
.closing .postcard-address {
  min-width: 0; align-self: stretch; display: flex; flex-direction: column;
  justify-content: space-between; gap: 24px; padding-left: clamp(24px,3vw,52px);
  border-left: 1px solid #c2c7c6;
}
.postcard-postage {
  --stamp-size: clamp(76px,9vw,132px);
  position: relative; align-self: flex-end; width: calc(var(--stamp-size) * 1.8);
  max-width: 100%; height: calc(var(--stamp-size) * 1.13); pointer-events: none;
}
.postcard-stamp {
  position: absolute; inset: 1px 2px auto auto; width: var(--stamp-size);
  aspect-ratio: 1 / 1.1; padding: clamp(8px,.72vw,12px);
  transform: rotate(6deg); background: #cad7eb;
}
@supports (mask-composite: intersect) {
  .postcard-stamp {
    mask: radial-gradient(circle at 50% 0, transparent 2.1px, black 2.8px) top / 9px 100% repeat-x,
          radial-gradient(circle at 50% 100%, transparent 2.1px, black 2.8px) bottom / 9px 100% repeat-x,
          radial-gradient(circle at 0 50%, transparent 2.1px, black 2.8px) left / 100% 9px repeat-y,
          radial-gradient(circle at 100% 50%, transparent 2.1px, black 2.8px) right / 100% 9px repeat-y;
    mask-composite: intersect;
  }
}
.postcard-stamp span {
  display: grid; place-items: center; height: 100%; border: 3px double #476499;
  background: repeating-linear-gradient(145deg, #eef1e9 0 2px, #dce3df 2px 3px);
}
.postcard-stamp img { display: block; width: 73%; height: auto; }
.postcard-cancel {
  position: absolute; left: 0; top: 49%; width: 66%; height: 26px;
  display: grid; align-content: space-evenly; transform: rotate(-9deg); opacity: .74;
}
.postcard-cancel i { display: flex; height: 6px; }
.postcard-cancel i::before, .postcard-cancel i::after {
  content: ""; flex: 1; height: 100%; border: solid #405779; border-width: 1.5px 0 0; border-radius: 50% 50% 0 0;
}
.postcard-cancel i::after { border-width: 0 0 1.5px; border-radius: 0 0 50% 50%; transform: translateY(-100%); }
.closing .postcard-address p {
  width: min(100%,19rem); margin: 0; padding-block: 0 10px; border-bottom: 1px solid #aeb8be; color: #27364e;
  font-size: clamp(1.12rem,1.8vw,1.8rem); line-height: 1.3; font-weight: 650;
}
.closing .postcard-address p span { display: block; margin-bottom: 6px; color: #53617b; font-size: .78rem; font-weight: 600; }
.closing .postcard-address p em { color: #415374; font: italic 400 .9em/1.35 var(--studio-serif); }
@media (prefers-reduced-motion: no-preference) {
  body[data-motion="on"] .postcard-stamp { transition: transform .26s ease-out; }
  body[data-motion="on"] .closing-postcard:has(.button:focus-visible) .postcard-stamp { transform: translateY(-3px) rotate(3deg); }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  body[data-motion="on"] .closing-postcard:has(.button:hover) .postcard-stamp { transform: translateY(-3px) rotate(3deg); }
}
@media (max-width: 680px) {
  .closing .closing-postcard { grid-template-columns: minmax(0,1fr); gap: 22px; padding: 23px clamp(19px,4.6vw,30px) 28px; }
  .closing .postcard-address {
    grid-row: 1; flex-direction: row-reverse; align-items: center; gap: 12px;
    padding: 0 0 15px; border: 0; border-bottom: 1px solid #b8c1c9;
  }
  .postcard-postage { --stamp-size: clamp(48px,12vw,68px); flex: none; }
  .postcard-stamp { padding: 6px; }
  .postcard-cancel { height: 16px; }
  .closing .postcard-address p { width: auto; padding: 0; border: 0; }
  .closing .postcard-address p span { margin-bottom: 2px; }
  .closing .postcard-message h2 { font-size: clamp(2.65rem,9.8vw,4.2rem); }
  .closing .postcard-message p { margin-top: 14px; font-size: 1rem; }
  .closing .postcard-message .button { margin-top: 17px; }
}
