/* Restored from the user-supplied design (3). Scoped so the improved Live Lab,
   architecture, navigation, and remaining site retain their original styles. */
#book { --wrap: 1376px; padding-top:clamp(56px,4.8vw,72px); padding-bottom:clamp(84px,8.1vw,126px); }
#book, #about, #contact {line-height:normal;}
#book h2, #about h2, #contact h2 {letter-spacing:-.058em; text-wrap:wrap;}
#book h2 em, #about h2 em, #contact h2 em {letter-spacing:-.065em;}
#contact > .container > p {max-width:none;}
#book .container, #about .container, #contact .container {
  width: calc(100% - 110px); max-width: 1376px; margin-left: auto; margin-right: auto;
}
#book .section-kicker, #about .section-kicker, #contact .section-kicker {
  display:flex; align-items:center; gap:16px; font-size:10px; letter-spacing:.2em;
  font-weight:800; margin-bottom:65px; line-height:1.45;
}
#book .section-kicker .kicker-num, #about .section-kicker .kicker-num, #contact .section-kicker .kicker-num {
  width:31px; height:31px; border:1px solid #747d78; border-radius:50%;
  display:inline-flex; justify-content:center; align-items:center; flex-shrink:0;
}
#book .section-kicker .kicker-line, #about .section-kicker .kicker-line, #contact .section-kicker .kicker-line {flex:1; border-top:1px solid #d5d2c7; margin-left:13px;}
#book .btn {min-height:58px; font-size:11px; letter-spacing:.12em; padding:17px 23px; gap:24px;}
#book .book-display {height:auto; padding-block:0; padding-right:0;}
#book .book-ctas > a:not(.btn) {border:0; border-bottom:1px solid #acaba0; border-radius:0; padding:8px 0; min-height:44px;}
#about {padding-top:clamp(56px,4.8vw,72px);padding-bottom:clamp(84px,8.1vw,126px);}
#contact {color:#fff; padding-top:clamp(56px,4.8vw,72px);}
#contact .section-kicker-dark {color:#c3c9cb;}
#contact .section-kicker-dark .kicker-line {border-color:#344047;}
#book {background:#f8f6ef;color:#182125;padding:0}
#book .book-section-grid {display:grid;grid-template-columns:1fr 1fr;min-height:840px}
#book .book-display {background:#141f29;position:relative;min-height:840px;margin-left:-55px;padding-left:55px;display:flex;justify-content:space-between;align-items:center;flex-direction:column;overflow:hidden}
#book .book-display-grid {position:absolute;inset:0;background-image:linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px);background-size:66px 66px;mask-image:linear-gradient(#000,transparent)}
#book .book-display-kicker {font-size:10px;letter-spacing:.17em;color:#efca65;font-weight:800;align-self:flex-start;margin:50px 0 0 50px;z-index:1}
#book .book-showcase {flex:1;width:100%;display:flex;align-items:center;justify-content:center;perspective:1000px;position:relative}
#book .book-halo {position:absolute;width:470px;height:470px;border:1px solid #d4a0175c;border-radius:50%;box-shadow:0 0 0 60px #d4a01708,0 0 0 120px #d4a01704;transform:rotateX(61deg) rotateZ(-20deg)}
#book .book-3d {position:relative;width:min(260px,54%);aspect-ratio:2/3;transform-style:preserve-3d;transform:rotateY(-21deg) rotateZ(-3deg);filter:drop-shadow(26px 35px 35px #000a);transition:transform .55s var(--ease)}
#book .book-display:hover .book-3d {transform:rotateY(-10deg) rotateZ(-1deg) translateY(-12px)}
#book .book-3d img {position:relative;width:100%;height:100%;z-index:2;object-fit:cover;box-shadow:0 0 0 1px #fff5}
#book .book-3d-spine {position:absolute;left:-23px;top:0;bottom:0;width:24px;background:linear-gradient(90deg,#8e928f,#dadbdb,#878c8d);transform:rotateY(-90deg);transform-origin:right;z-index:2}
#book .book-3d-pages {position:absolute;inset:0;background:#e7e7e1;transform:translateZ(-18px) translateX(13px);z-index:0}
#book .book-display-caption {z-index:1;color:#85969c;font-size:9px;letter-spacing:.13em;font-weight:700;align-self:flex-start;margin:0 0 45px 50px}
#book .book-information {padding:120px 0 120px min(8vw,115px);align-self:center}
#book .book-kicker {margin-bottom:65px}
#book .book-available {font-size:10px;letter-spacing:.15em;font-weight:800;color:#787d72;display:inline-flex;align-items:center;gap:9px;margin-bottom:25px}
#book .book-available span {width:7px;height:7px;background:#ac8a2b;border-radius:50%;box-shadow:0 0 0 4px #d4a01721}
#book .book-information h2 {font-size:clamp(54px,4.75vw,79px);line-height:1.05;font-weight:730;letter-spacing:-.072em;margin-bottom:26px}
#book .book-information h2 em {color:#a77b17}
#book .book-subhead {font-size:19px;letter-spacing:-.035em;line-height:1.45;margin-bottom:22px;font-weight:660;max-width:470px}
#book .book-paragraph {font-size:14px;line-height:1.9;color:#616d6c;max-width:520px;margin-bottom:32px}
#book .book-learnings {border-top:1px solid #d5d4ca;border-bottom:1px solid #d5d4ca;padding:13px 0;margin-bottom:37px}
#book .book-learnings div {font-size:13px;font-weight:650;line-height:2.8}
#book .book-learnings span {color:#a37b15;padding-right:16px}
#book .book-ctas {display:flex;gap:24px;flex-wrap:wrap;align-items:center}
#book .book-ctas>a:not(.btn) {font-size:11px;font-weight:800;letter-spacing:.045em;border-bottom:1px solid #acaba0;padding:8px 0}
#book .book-ctas>a:not(.btn):hover {color:#a97908}
#about {background:#eeebe3;color:#151c1d}
#about .about-grid {display:grid;grid-template-columns:.85fr 1.15fr;gap:90px;align-items:center}
#about .about-mark {display:flex;flex-direction:column;align-items:center;gap:20px}
#about .mark-frame {width:min(100%,480px);aspect-ratio:1;display:flex;align-items:center;justify-content:center;border:1px solid #c4c5b9;border-radius:50%;position:relative}
#about .mark-frame:before, #about .mark-frame:after {content:"";position:absolute;inset:27px;border:1px dashed #b6baa9;border-radius:50%;pointer-events:none}
#about .mark-frame:after {inset:65px;border-style:solid;border-color:#d9d9cf}
#about .mark-frame img {max-width:61%;max-height:74%;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 12px 14px #0e17121a)}
#about .about-mark>span {font-size:10px;letter-spacing:.17em;color:#66706b;font-weight:700}
#about .about-content .section-kicker {margin-bottom:48px}
#about .about-overline {font-size:11px;font-weight:800;color:#807334;letter-spacing:.10em;margin-bottom:8px}
#about .about-content h2 {font-size:clamp(70px,7.3vw,115px);margin-bottom:18px;line-height:1.1}
#about .about-content h2 span {color:#b38a25}
#about .about-content>p:not(.about-overline) {font-size:18px;color:#59635f;line-height:1.8;max-width:580px;margin-bottom:36px}
#about .about-links {display:flex;gap:38px;flex-wrap:wrap}
#about .about-links a {font-size:11px;letter-spacing:.08em;font-weight:850;padding-bottom:12px;border-bottom:1px solid #858f89}
#about .about-links a:hover {color:#a98013}
#about .about-links span {color:#a98013;margin-left:16px}
#contact {background:radial-gradient(ellipse at 75% 15%,#2c3128 0,#111920 47%,#0a1116 100%);color:#fff;padding:130px 0 155px;position:relative;overflow:hidden}
#contact:after {content:"✳";position:absolute;font-size:460px;color:#d4a0170c;right:-30px;top:0;line-height:1;pointer-events:none}
#contact .section-kicker {margin-bottom:60px}
#contact h2 {font-size:clamp(61px,7.3vw,115px);line-height:1.02;font-weight:730;max-width:1060px;margin-bottom:28px}
#contact h2 em {color:var(--gold-light)}
#contact p {font-size:17px;line-height:1.7;color:#a4b3b5;margin-bottom:42px}
#contact .contact-mail {display:inline-flex;gap:40px;align-items:center;border-bottom:1px solid var(--gold);padding-bottom:11px;font-size:clamp(18px,2.2vw,29px);letter-spacing:-.04em;color:#f4cd65}
#contact .contact-mail:hover {color:#fff}
@media (max-width:1220px) {
#book .book-display {margin-left:-38px;padding-left:38px}
#book .book-information {padding-left:60px}
#book .book-display-kicker, #book .book-display-caption {margin-left:35px}
}
@media (max-width:980px) {
#book .book-section-grid {grid-template-columns:1fr;min-height:unset}
#book .book-display {min-height:630px;margin:0 -28px;padding:0 28px}
#book .book-information {padding:100px 0}
#book .book-kicker {margin-bottom:45px}
#about .about-grid {gap:40px}
#about .about-content h2 {font-size:80px}
}
@media (max-width:700px) {
#contact h2 {font-size:clamp(52px,10vw,77px)}
#book .book-display {margin:0 -18px;min-height:560px;padding:0 18px}
#book .book-display-kicker, #book .book-display-caption {margin-left:10px}
#book .book-display-kicker {margin-top:40px}
#book .book-display-caption {margin-bottom:40px}
#book .book-3d {width:230px}
#book .book-information {padding:85px 0}
#book .book-information h2 {font-size:clamp(46px,10vw,65px)}
#book .book-subhead {font-size:18px}
#book .book-paragraph {font-size:14px}
#book .book-ctas {gap:21px}
#about .about-grid {grid-template-columns:1fr;gap:58px}
#about .mark-frame {width:min(100%,360px)}
#about .about-mark>span {font-size:9px}
#about .about-content h2 {font-size:68px}
#about .about-content>p:not(.about-overline) {font-size:16px}
#about .about-links {gap:20px}
#about .about-links a {font-size:10px}
#contact {padding:95px 0 110px}
#contact p {font-size:15px}
#contact .contact-mail {gap:15px;font-size:18px}
}
#book .book-paragraph {font-size:15px;line-height:1.85}
#book .book-learnings div {line-height:2.2;padding:5px 0}
#book .book-ctas>a:not(.btn) {display:inline-flex;min-height:44px;align-items:center}
#about .about-links a {display:inline-flex;align-items:center;min-height:44px;padding-bottom:4px}
#about .mark-frame {background:#f6f3ec;box-shadow:inset 0 0 0 20px #f1eee6,0 14px 44px #0e171210}
#about .mark-frame img {max-width:68%;max-height:78%;mix-blend-mode:multiply}
#contact .contact-mail {min-height:52px;overflow-wrap:anywhere}
@media (max-width:700px) {
#contact h2 {font-size:clamp(46px,10.5vw,65px);line-height:1.06}
#book .book-display {min-height:430px}
#book .book-display-kicker {margin-top:24px}
#book .book-display-caption {margin-bottom:24px}
#book .book-3d {width:193px}
#book .book-information {padding:70px 0 76px}
#book .book-kicker {margin-bottom:35px}
#book .book-paragraph {font-size:14px}
#book .book-ctas {gap:10px 18px}
#about .about-grid {gap:32px}
#about .mark-frame {width:min(74vw,292px)}
#about .about-content .section-kicker {margin-bottom:30px}
#about .about-content h2 {font-size:clamp(57px,13vw,72px)}
#about .about-content>p:not(.about-overline) {font-size:15px;line-height:1.7}
#about .about-links {gap:10px 22px}
#contact {padding-block:83px 95px}
#contact p {margin-bottom:28px}
}
#contact main .contact-section {padding-top: clamp(56px, 4.8vw, 72px);}
@media (max-width: 980px) {
#contact main .contact-section {padding-top: 54px;}
}

/* Restore the source footer with its own responsive layout. */
.site-footer {--max:1280px;}
.site-footer .wrap {width:calc(100% - 96px);max-width:1280px;margin-inline:auto;}
.site-footer .footer-logo img {width:40px;height:44px;}
body.footer-in-view #backToTop {opacity:0;visibility:hidden;pointer-events:none;}
.site-footer .wrap {width:calc(100% - 96px);max-width:var(--max);margin-inline:auto}
.site-footer {background:#131a1b;color:#edeae1;border-top:1px solid #38413d}
.site-footer .footer-top {display:flex;align-items:center;justify-content:space-between;gap:35px;padding:47px 0 35px}
.site-footer .footer-logo {display:flex;gap:12px;align-items:center;font-size:15px;letter-spacing:.16em;font-weight:900}
.site-footer .footer-logo img {height:44px;object-fit:contain}
.site-footer .socials {display:flex;flex-wrap:wrap;gap:10px}
.site-footer .socials a {display:grid;place-items:center;width:41px;height:41px;border:1px solid #44504a;background:#eae9e4;border-radius:50%;transition:transform .2s,background .2s}
.site-footer .socials a:hover {transform:translateY(-5px);background:#e6bd55}
.site-footer .socials img {width:17px;height:17px;object-fit:contain}
.site-footer .footer-bottom {border-top:1px solid #38413d;padding:24px 0 38px;display:flex;justify-content:space-between;gap:12px;align-items:center}
.site-footer .footer-bottom p, .site-footer .footer-bottom a {font-size:10px;letter-spacing:.12em;color:#b3b5af;font-weight:750;margin:0}
.site-footer .footer-bottom a:hover {color:#ebc263}
@media (max-width:1150px) {
.site-footer .wrap {width:calc(100% - 60px);max-width:var(--max)}
}
@media (max-width:850px) {
.site-footer .footer-top {flex-direction:column;align-items:flex-start}
}
@media (max-width:575px) {
.site-footer .wrap {width:calc(100% - 38px)}
.site-footer .footer-bottom {flex-wrap:wrap}
.site-footer .footer-bottom p:nth-child(2) {order:3;width:100%}
.site-footer .socials {gap:8px}
.site-footer .socials a {width:37px;height:37px}
}

/* Section container gutters from the attached version. */
@media (max-width:1220px) {
  #book .container, #about .container, #contact .container { width:calc(100% - 80px); }
}
@media (max-width:980px) {
  #book .container, #about .container, #contact .container { width:calc(100% - 56px); }
  #book, #about {padding-bottom:clamp(74px,9vw,100px);}
  #book .book-display {padding-inline:28px;}
}
@media (max-width:700px) {
  #book .container, #about .container, #contact .container { width:calc(100% - 36px); }
  #book, #about {padding-bottom:76px;}
  #book .book-display {padding-inline:18px;}
  #book .section-kicker, #about .section-kicker, #contact .section-kicker {font-size:9px;letter-spacing:.12em;gap:10px;flex-wrap:wrap;margin-bottom:32px;}
  #book .section-kicker .kicker-line, #about .section-kicker .kicker-line, #contact .section-kicker .kicker-line {display:none;}
  #book .btn {font-size:10px;padding:15px 17px;min-height:52px;gap:12px;}
  #book .section-kicker > span:last-child, #about .section-kicker > span:last-child, #contact .section-kicker > span:last-child {display:none;}
  #contact .section-kicker {margin-bottom:60px;}
}
/* Prevent newer global treatments from altering restored blocks. */
#book .book-display-kicker, #book .book-display-caption {position:relative;}
#book .book-information {min-width:0;}
#about .about-content h2 {max-width:100%;}
#about .mark-frame img {width:auto; height:auto;}
#about .mark-frame {height:auto;}
#about .about-links a {gap:0;}
#book {padding-top:clamp(56px,4.8vw,72px);padding-bottom:clamp(84px,8.1vw,126px);}
#book .book-section-grid {gap:0;}
#contact {padding-top:clamp(56px,4.8vw,72px);}
#contact > .container > p {max-width:none;}
@media (max-width:980px) {#book {padding-bottom:clamp(74px,9vw,100px);}}
@media (max-width:700px) {#book {padding-bottom:76px;}}
#contact .contact-mail {min-height:52px; overflow-wrap:anywhere;}
/* The attached footer intentionally has only its original social circles. */
.site-footer .socials a::after {content:none;}

/* Legacy-safe book bleed: when the centered layout is at its max width,
   compensate with an ordinary calc rather than nested min() + var(). */
@media (min-width: 1487px) {
  #book .book-display {
    margin-left: calc((1376px - 100vw) / 2);
    padding-left: calc((100vw - 1376px) / 2);
  }
}


/* =============================================================
   BOOK + ABOUT / GECKO-SAFE LAYOUT, 2026-10-13 v4
   Deliberately use ordinary px + media queries instead of CSS
   math functions (min/clamp) for the essential widths/type sizes.
   No other sections are affected.
   ============================================================= */

/* BOOK: keep the left showcase aligned with the right information. */
#book .book-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
  gap: 0;
}
#book .book-display {
  box-sizing: border-box;
  height: auto;
  min-height: 790px;
  align-self: stretch;
  justify-content: space-between;
}
#book .book-information {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  padding: 85px 34px 85px 92px;
  align-self: center;
}
#book .book-information h2 {
  font-size: 65px;
  line-height: 1.06;
  overflow-wrap: normal;
}
#book .book-3d { width: 260px; max-width: 54%; }
#book .book-display-kicker, #book .book-display-caption { position: relative; }

/* ABOUT: maintain a centered editorial two-column arrangement. */
#about .about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 76px;
  align-items: center;
}
#about .about-grid > * { min-width: 0; }
#about .mark-frame {
  box-sizing: border-box;
  width: 100%;
  max-width: 440px;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
#about .about-content h2 {
  font-size: 100px;
  line-height: 1.08;
  max-width: 100%;
}
#about .about-content { min-width: 0; }

@media (max-width: 1220px) {
  #book .book-display { min-height: 730px; }
  #book .book-information { padding: 70px 26px 70px 54px; }
  #book .book-information h2 { font-size: 54px; }
  #book .book-3d { width: 240px; }
  #about .about-grid { gap: 48px; }
  #about .about-content h2 { font-size: 80px; }
  #about .mark-frame { max-width: 390px; }
}
@media (max-width: 980px) {
  #book .book-section-grid { grid-template-columns: minmax(0, 1fr); }
  #book .book-display { min-height: 565px; }
  #book .book-information { padding: 68px 24px 80px; }
  #book .book-information h2 { font-size: 57px; }
  #book .book-3d { width: 220px; max-width: 65%; }
  #about .about-grid { grid-template-columns: minmax(0, 1fr); gap: 46px; }
  #about .mark-frame { max-width: 350px; }
  #about .about-content h2 { font-size: 72px; }
}
@media (max-width: 700px) {
  #book .book-display { min-height: 455px; }
  #book .book-display-kicker { margin: 32px 0 0 8px; }
  #book .book-display-caption { margin: 0 0 28px 8px; }
  #book .book-information { padding: 62px 4px 66px; }
  #book .book-information h2 { font-size: 45px; }
  #book .book-3d { width: 190px; max-width: 65%; }
  #about .about-grid { gap: 34px; }
  #about .mark-frame { max-width: 285px; }
  #about .about-content h2 { font-size: 57px; }
}
@media (max-width: 380px) {
  #book .book-information h2 { font-size: 40px; }
  #about .about-content h2 { font-size: 47px; }
}
/* Firefox has known differences when applying CSS filters to a 3D stack. */
@supports (-moz-appearance: none) {
  #book .book-3d { filter: none; }
  #book .book-3d img { box-shadow: 18px 24px 28px rgba(0,0,0,.38); }
}
