/* Norwegian woodland storybook: warm paper, forest ink and quiet gilt details. */
[hidden] { display: none !important; }
body { background-color: #f6f1e5; background-image: radial-gradient(ellipse at 0 25%, #dadfc833, transparent 50%); }
header { border-bottom: 1px solid #b6a17855; }
h1,h2,h3 { color: #193c31; text-wrap: balance; }
.hero { position: relative; }
.heroVisual { border: 1px solid #a98a52; box-shadow: 0 16px 48px #293f2920; border-radius: 48% 48% 14px 14px; }
.heroVisual img { object-position: center; }
.eyebrow { color: #6f592e; letter-spacing: .14em; }
.btn { border-radius: 8px; }
.btn:disabled { opacity: .65; cursor: not-allowed; }
.section h2,.path-heading h2 { font-family: Georgia,serif; }
.figure-start { margin: 54px 0 24px; scroll-margin-top: 95px; }
.path-heading { max-width: 700px; margin: 0 auto 26px; text-align: center; }
.path-heading::before { content: '❧'; display: block; color: #977a3c; font-size: 38px; line-height: 1; margin-bottom: 18px; }
.path-heading h2 { font-size: clamp(32px,4vw,48px); margin: 12px 0; }
.path-heading p { line-height: 1.65; color: #5a6658; }
.figure-paths { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.path-card { font: inherit; color: #284237; padding: 28px; text-align: left; display: flex; flex-direction: column; gap: 12px; border: 1px solid #beb69e; background: #fffcf4; border-radius: 14px; cursor: pointer; line-height: 1.5; }
.path-card strong { font: 700 28px/1.15 Georgia,serif; }
.path-card .path-tag { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.path-card .path-action { font-size: 14px; font-weight: 700; margin-top: auto; text-decoration: underline; text-underline-offset: 5px; }
.path-card[aria-pressed=true] { outline: 2px solid #a88b48; outline-offset: 3px; }
.path-primary { background: #203f33; color: #fff8e6; border-color: #203f33; }
.path-primary .path-tag { color: #e2c58c; }
.path-card:focus-visible,.text-button:focus-visible { outline: 3px solid #af7c2d; outline-offset: 4px; }
.photo-path-panel { margin-top: 30px; padding: 32px; border: 1px solid #bca77566; border-radius: 16px; background: #fcf9f0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.photo-path-panel h3 { font: 700 clamp(25px,3vw,35px)/1.15 Georgia,serif; margin: 14px 0; }
.photo-path-panel p { line-height: 1.7; }
.photo-path-panel .btn { margin: 8px 8px 0 0; }
.photo-availability { border-left: 3px solid #ad8a45; padding-left: 15px; color: #5b5c4c; font-size: 14px; }
.text-button { display: block; border: 0; background: none; padding: 14px 0 0; font: 600 14px/1.5 inherit; color: #244d3a; text-decoration: underline; cursor: pointer; }
.photo-figure { margin: 0; }
.photo-figure img { width: 100%; height: 360px; object-fit: cover; object-position: right center; border-radius: 48% 48% 12px 12px; border: 1px solid #aa8b4d; }
.photo-figure figcaption { font-size: 12px; color: #66705e; line-height: 1.5; padding-top: 10px; }
.photo-example { grid-column: 1/-1; border-top: 1px solid #c2ae7977; padding-top: 20px; }
.photo-example ol { display: flex; flex-wrap: wrap; gap: 10px 32px; padding-left: 22px; line-height: 1.8; }
.house-style { background: #edf0e2; border-radius: 10px; border: 1px solid #a8b096; padding: 20px; }
.house-style h3 { font: 700 25px/1.2 Georgia,serif; margin: 12px 0; }
.house-style p { font-size: 14px; line-height: 1.65; }
.studio { scroll-margin-top: 100px; }
@media(max-width:760px) {
  .figure-start { margin-top: 32px; }
  .figure-paths { grid-template-columns: 1fr; gap: 16px; }
  .path-card { padding: 22px; }
  .path-card strong { font-size: 25px; }
  .photo-path-panel { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .photo-figure img { height: 280px; }
  .photo-path-panel .btn { width: 100%; margin-right: 0; }
  .heroVisual { border-radius: 42% 42% 12px 12px; }
  .tabs { grid-template-columns: 1fr 1fr; }
}

/* A woodland opening rather than a generic product card. Existing approved art
   supplies the rich detail; the code-drawn border is decorative, not book art. */
.hero { display: block; isolation: isolate; overflow: hidden; min-height: 610px; margin: 26px -24px 0; padding: 65px 58px 110px; background: #173b2f; border: 1px solid #8d7848; border-radius: 6px; }
.hero>div:first-child { position: relative; z-index: 3; max-width: 560px; }
.hero .heroVisual { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; max-height: none; z-index: 0; border: 0; border-radius: 0; box-shadow: none; }
.hero .heroVisual img { width: 100%; height: 100% !important; object-fit: cover; object-position: 85% 45% !important; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg,#102f29f5 0%,#173b2fe8 30%,#173b2f85 55%,#173b2f05 85%); }
.hero::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 125px; z-index: 2; background: url('/images/woodland-border.svg') bottom/100% 100% no-repeat; pointer-events: none; }
.hero .eyebrow { color: #efd29b; }
.hero .story-opening { display: block; margin: 0 0 18px; color: #edcf95; font: italic 26px/1.3 Georgia,serif; }
.hero h1 { color: #fff8e5; font-size: clamp(40px,5.5vw,68px); line-height: 1.06; text-shadow: 0 2px 16px #0d2419; }
.hero h1 em { color: #eac783 !important; }
.hero p { color: #f0ead8; max-width: 460px; }
.hero .btn { background: #f1d39a; border-color: #f1d39a; color: #173b2f; box-shadow: 0 3px 0 #0e2a22; }
.hero .btn.light { background: #16392fa6; border: 1px solid #e0c58e; color: #fff7df; box-shadow: none; }
.trust { border-top: 0; padding-top: 22px; }
.section>.eyebrow { display: block; margin-bottom: 10px; }
.section h2 { letter-spacing: -.025em; }
.steps article { border-radius: 3px; background: #fffcf3; border: 1px solid #b4a47988; border-top: 3px double #8f7844; box-shadow: 3px 4px 0 #dfd6bd66; }
.steps .num { font-family: Georgia,serif; color: #8c6931; background: none; border-bottom: 1px solid #b5a06a; border-radius: 0; }
.story { border-radius: 4px; border: 1px solid #9e916e; box-shadow: 3px 4px 0 #d4c8aa80; }
.storyText b { font-family: Georgia,serif; font-size: 23px; }
.path-heading::before { content: '❦'; font-size: 44px; }
.photo-path-panel { border-radius: 4px; border-top: 3px double #9e8750; }
.photo-figure img { border-radius: 4px; outline: 1px solid #b99e67; outline-offset: 5px; }
.path-card { border-radius: 4px; }
.path-primary { background: linear-gradient(145deg,#173b2f,#2d5140); }
.house-style { border-radius: 3px; border-top: 3px double #9c8755; }
.text-button { font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; }
@media(max-width:760px) {
  .hero { min-height: 600px; margin: 14px -4px 0; padding: 32px 23px 95px; }
  .hero>div:first-child { max-width: 100%; }
  .hero::before { background: linear-gradient(180deg,#0d2d26e8 0%,#13352dd9 56%,#153a2e65 100%); }
  .hero h1 { font-size: clamp(37px,10.8vw,48px); }
  .hero .story-opening { font-size: 24px; margin-bottom: 18px; }
  .hero .buttons { flex-direction: column; align-items: stretch; }
  .hero .btn { width: 100%; }
  .hero .heroVisual img { object-position: 82% center !important; }
  .hero::after { height: 95px; background-size: auto 95px; }
  .storyText b { font-size: 21px; }
}

/* Portrait cover art remains complete in the story selector. */
.story { display: flex; flex-direction: column; }
.storyScene { width: 100%; height: auto; aspect-ratio: 2 / 3; flex: none; }
.storyText { flex: 1; }
