.stock-home .study { padding-block: clamp(18px, 3vw, 44px) 0; }
.study .yard-heading { padding: 0; }
.study .yard-heading .badge {
  display: block; max-width: 72ch; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: inherit; font-size: 13px; line-height: 1.5;
}
.stock-home .study h1.h1 {
  margin: 14px 0 0; max-width: none; color: inherit;
  font-size: clamp(32px, 3.55vw, 54px); line-height: 1.05; letter-spacing: -.042em;
}
.study .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stock-home .study .btn { min-height: 44px; }
.study .yard-story { display: grid; gap: 16px; grid-template-columns: 1fr; }
.stock-home .study .yard-story p { margin: 0; max-width: 68ch; font-size: 16px; line-height: 1.6; }
.stock-home .study .home-yard { display: block; min-width: 0; width: 100%; object-fit: cover; }
.stock-home .study .home-facts { gap: 16px; margin: 0; padding-block: 22px; border-block: 1px solid var(--stock-line); }
.stock-home .study .home-facts .fact { padding: 0; border: 0; }
.stock-home .study .home-facts b { font-size: 18px; }
.stock-home .study .yard-enquiry textarea { min-height: 68px; }
.stock-home .study .yard-enquiry .input { line-height: 1.4; }
.stock-home .study :is(.panorama-details,.selection-top) .yard-enquiry {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2vw, 32px);
}
.study :is(.panorama-details,.selection-top) .yard-enquiry > * { width: 100%; }
.stock-home .study :is(.panorama-details,.selection-top) .form-grid,
.study :is(.panorama-details,.selection-top) .enquiry-foot { display: grid; grid-template-columns: 1fr; gap: 12px; }
.study :is(.panorama-details,.selection-top) .enquiry-foot { border-top: 1px solid var(--stock-line); padding-top: 14px; }

/* A continuous photograph with a dark title area and a separate reading column. */
.panorama-cover { isolation: isolate; position: relative; overflow: hidden; border-radius: 16px; background: #0d1e29; color: #f4f9fa; }
.stock-home .panorama-cover .home-yard { position: absolute; inset: 0 0 0 auto; height: 100%; width: 64%; object-position: right center; z-index: -2; }
.panorama-cover::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #0d1e29 32%, rgba(13,30,41,.96) 41%, rgba(13,30,41,.8) 48%, transparent 70%);
}
.panorama-title { width: 56%; padding: clamp(26px, 3.2vw, 48px); }
.panorama-title .hero-actions { margin-top: 24px; }
.stock-home .panorama-title .btn:not(.primary) { background: #20333e; color: #fff; border-color: #56707b; }
.stock-home .panorama-title .btn.ghost { background: transparent; border-color: transparent; color: #f0f6fa; }
.study-panorama .home-facts { margin-top: 16px !important; }
.panorama-details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; padding-top: 26px; }
.panorama-details .yard-story {
  grid-column: auto; display: block; min-width: 0; padding: clamp(8px, 1.1vw, 18px) 0;
}
.stock-home .panorama-cover h1.h1 { font-size: clamp(32px, 3.2vw, 47px); }
.stock-home .panorama-details .yard-story p { max-width: 60ch; color: var(--stock-ink); text-wrap: pretty; }
.stock-home .panorama-details p.story-intro {
  max-width: 40ch; color: var(--text); font-size: clamp(19px, 1.55vw, 23px); line-height: 1.38;
}
.panorama-details .story-intro strong { font-weight: 700; }
.stock-home .panorama-details p.story-tasks { margin-top: 9px; }
.stock-home .panorama-details p.story-catalogue {
  margin-block: 20px; padding: 12px 16px; font-size: 15px; line-height: 1.55;
  border-inline-start: 2px solid var(--stock-accent);
  background: color-mix(in srgb, var(--stock-accent) 6%, transparent);
}
.story-catalogue strong { color: var(--stock-accent); font-weight: 650; }
.story-services { display: grid; gap: 10px; }
.story-services strong { color: var(--text); font-weight: 600; }
.stock-home .panorama-details p.story-location {
  margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--stock-line); font-size: 15px;
}
.story-location strong { color: var(--text); white-space: nowrap; }

/* A warm, light editorial spread pairs the image with the original description. */
.editorial-sheet {
  background: #f4f1e9; color: #1c2b2c; padding: clamp(22px, 3.4vw, 50px);
  border-radius: 4px; --stock-line: #bbcac5; --stock-accent: #195c55; --stock-ink: #364946;
}
.stock-home .editorial-sheet h1.h1 {
  max-width: 31ch; font-family: Georgia, "Times New Roman", serif; font-weight: 500;
  letter-spacing: -.042em; font-size: clamp(38px, 4.5vw, 66px);
}
.editorial-spread {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 46px);
  margin-block: 26px 20px; align-items: center;
}
.stock-home .editorial-spread .home-yard { height: auto; aspect-ratio: 1.52; }
.editorial-copy .hero-actions { margin-top: 20px; }
.stock-home .editorial-copy .btn:not(.primary) { background: transparent; color: #214d47; border-color: #9eafa8; }
.stock-home .editorial-copy .btn.primary { background: #184f49; color: white; border-color: #184f49; }
.stock-home .editorial-copy .btn.ghost { color: #214d47; background: transparent; }
.stock-home .editorial-sheet .home-facts { padding-bottom: 0; border-bottom: 0; }
.study-editorial .yard-enquiry { margin-top: 20px; }

/* A working desk places the request form next to the headline and the machine. */
.selection-top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(22px, 3.4vw, 50px); align-items: start; }
.selection-intro .yard-heading { border-left: 3px solid var(--stock-accent); padding-left: 18px; }
.selection-intro .hero-actions { margin: 20px 0; }
.stock-home .selection-intro .home-yard { height: auto; aspect-ratio: 2.22; border-radius: 10px; }
.stock-home .selection-top .yard-enquiry { background: #e5f2ee; color: #173633; --stock-ink: #36524f; --stock-line: #adcbc1; --stock-accent: #24635c; --text: #173633; }
.stock-home .selection-top .yard-enquiry :is(h2,label) { color: #173633; }
.stock-home .selection-top .yard-enquiry .input { color: #172a28; background: #fff; border: 1px solid #93ada5; }
.stock-home .selection-top .yard-enquiry .input::placeholder { color: #566b65; }
.stock-home .selection-top .yard-enquiry .btn.primary { width: 100%; background: #18564f; color: white; }
.stock-home .study-selection .home-facts { margin-block: 24px; }
.study-selection .yard-story { grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 60px); }

@media (max-width: 760px) {
  .stock-home .study h1.h1 { font-size: clamp(28px, 6vw, 38px) !important; }
  .study .hero-actions { display: flex !important; flex-flow: row wrap !important; }
  .study .hero-actions .btn { width: auto !important; }
  .stock-home .study .home-facts { grid-template-columns: 1fr 1fr; }
  .panorama-cover { display: flex; flex-direction: column-reverse; }
  .panorama-cover::before { display: none; }
  .stock-home .panorama-cover .home-yard { position: static; width: 100%; height: auto; aspect-ratio: 1.95; }
  .panorama-title { width: 100%; padding: 22px; }
  .panorama-details,.editorial-spread,.selection-top,.study-selection .yard-story { grid-template-columns: 1fr; }
  .panorama-title .hero-actions { margin-top: 16px; }
  .editorial-sheet { padding: 18px; }
  .editorial-spread { margin-top: 18px; }
  .stock-home .editorial-spread .home-yard { aspect-ratio: 1.8; }
  .selection-intro .yard-heading { padding-left: 12px; }
}
