/* House of Bol: material-led movement and quiet, typographic controls. */
:root { --atelier-ease: cubic-bezier(.22,1,.36,1); }
.hero + .audiences { margin-top: clamp(32px,5vw,72px); }
body[data-category='kitchen'] .possibility-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: none; grid-auto-rows: auto; }
body[data-category='kitchen'] .possibility-card:first-child { grid-row: auto; }
@media(max-width:700px) { body[data-category='kitchen'] .possibility-grid { display: block; } }
body[data-category='bath'] .possibility-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: none; grid-auto-rows: auto; }
body[data-category='bath'] .possibility-card:first-child { grid-row: auto; }
@media(max-width:700px) { body[data-category='bath'] .possibility-grid { display: block; } }
.applications { padding-block: 80px; }
.applications .section-heading { padding: 0 0 40px; gap: 32px; }
.applications .section-heading h2 { font-size: clamp(3rem,5.5vw,5.5rem); }
.process-copy { padding: clamp(28px,4vw,60px); }
.process-copy h3 { font-size: clamp(2.6rem,4vw,4.3rem); }
.process-copy > p:last-child { max-width: 540px; font-size: 1rem; white-space: pre-line; }
.material-examples { display: grid; gap: 64px; }
.material-example { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: clamp(24px,5vw,70px); align-items: center; }
.material-example:nth-child(even) { grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); }
.material-example:nth-child(even) > img { order: 2; }
.material-example > img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.material-example h3 { font-size: clamp(2.3rem,4vw,4rem); margin-bottom: 20px; }
.material-example p { max-width: 460px; }
.material-example a { display: inline-flex; padding-block: 12px; border-bottom: 1px solid currentColor; }
.material-concept-note { margin-top: 28px; font-size: .8rem; color: var(--granite); }
@media(max-width:720px) {
 .applications { padding-block: 56px; }
 .process-copy { min-height: 0; padding: 32px 24px; }
 .material-example, .material-example:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
 .material-example:nth-child(even) > img { order: 0; }
 .material-examples { gap: 44px; }
}
.process-chapters { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 22px 0; }
.process-chapters button { border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--granite); padding: 12px 2px; font: inherit; cursor: pointer; min-height: 48px; }
.process-chapters button[aria-pressed='true'] { border-color: var(--rosso); color: var(--rosso); }
.process-chapters button:hover { color: var(--rosso); }
.process-actions .process-next { background: var(--rosso); color: var(--white); border-color: var(--rosso); }
.detail-intro { padding-bottom: 64px; }
.possibility-grid { padding-top: 0; }
.material-story { background: var(--travertine); color: var(--basalt); }
.material-intro { padding-top: 0; }
.material-intro > p { color: var(--basalt); }
.material-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto; gap: 24px; }
.material-card-wide { grid-row: auto; }
.material-card { background: transparent; overflow: visible; }
.material-card img { height: auto; aspect-ratio: 3/4; object-fit: cover; }
.material-card::after { display: none; }
.material-card figcaption { position: static; padding-top: 20px; font-size: clamp(1.5rem,2.3vw,2.3rem); line-height: 1.12; }
.material-card:nth-child(2) { margin-top: 70px; }
@media(max-width:720px) {
  .process-chapters { gap: 4px 18px; }
  .process-chapters button { font-size: .875rem; }
  .material-gallery { display: grid; grid-template-columns: 1fr; gap: 32px; }
  .material-card, .material-card:nth-child(n+2) { aspect-ratio: auto; margin: 0; }
  .material-card img { aspect-ratio: 4/3; }
  .detail-intro { padding-bottom: 40px; }
}
.button, .contact-button { justify-content: center; gap: 0; letter-spacing: .035em; text-transform: none; font-size: .875rem; font-weight: 500; min-width: 250px; position: relative; isolation: isolate; overflow: hidden; transition: color .35s ease, background .35s ease, border-color .35s ease; }
.button-light { background: var(--white); color: var(--basalt); border-color: var(--white); }
.button-light:hover { background: var(--travertine); border-color: var(--travertine); }
.button-rosso:hover { background: var(--white); color: var(--rosso); border-color: var(--white); }
.text-link, .quiet-link { display: inline-flex; min-height: 44px; font-size: .8rem; letter-spacing: .025em; text-transform: none; }
.text-link, .quiet-link, .circle-link { background-image: linear-gradient(currentColor,currentColor); background-size: 0% 1px; background-position: left bottom; background-repeat: no-repeat; transition: background-size .55s var(--atelier-ease); }
.text-link:hover, .quiet-link:hover, .circle-link:hover { background-size: 100% 1px; }
.circle-link, .circle-link.light { position: static; align-self: flex-start; display: inline-flex; width: auto; height: auto; min-height: 44px; margin-top: 32px; padding: 8px 0; border: 0; border-radius: 0; font-size: .85rem; color: inherit; }
.circle-link:hover, .circle-link.light:hover { color: inherit; background-color: transparent; transform: none; }
.audience-card { justify-content: center; min-height: 580px; }
.audience-card h3 { max-width: 530px; }
.audience-card p:last-child { max-width: 410px; }
.audience-private { background: linear-gradient(#19191883,#191918a6),url('assets/images/living-fireplace.webp') center/cover; color: var(--white); }
.audience-private .eyebrow { color: var(--travertine); }
.audience-business { background: linear-gradient(#19191870,#191918b3),url('assets/images/rock-gallery.webp') center/cover; }
.project-open { opacity: 1; transform: none; font-size: .8rem; letter-spacing: .025em; text-transform: none; }
.project-card:hover .project-overlay h3 { color: var(--travertine); }
.project-overlay h3 { transition: color .4s ease; }
.section-label { border-top: 0; padding: 12px 0; letter-spacing: .08em; }
.collaboration { grid-template-columns: .8fr 1.2fr; gap: clamp(32px,7vw,110px); align-items: center; border: 0; }
.collaboration-portrait { align-self: stretch; overflow: hidden; min-height: 480px; }
.collaboration-portrait img { width: 100%; height: 100%; object-fit: cover; }
.collaboration-copy p:last-child { border: 0; padding-top: 0; }
.process-actions button { text-transform: none; letter-spacing: 0; font-size: .875rem; }
.process-next { width: 300px; justify-content: center; }
.process-back { min-width: 85px; justify-content: center; }
.site-nav a, .detail-nav a { text-transform: none; letter-spacing: .015em; font-size: .85rem; }
.next-card span { max-width: 85%; }
.footer-wordmark { letter-spacing: -.055em; }
@media (prefers-reduced-motion: no-preference) {
  .hero-content > *, .detail-hero-copy > * { animation: atelier-arrive 1.15s var(--atelier-ease) both; }
  .hero-content > :nth-child(2), .detail-hero-copy > :nth-child(2) { animation-delay: .12s; }
  .hero-content > :nth-child(3), .detail-hero-copy > :nth-child(3) { animation-delay: .24s; }
  .hero-content > :nth-child(4) { animation-delay: .36s; }
  .atelier-reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--atelier-ease), transform 1.15s var(--atelier-ease); }
  .atelier-reveal.is-seen { opacity: 1; transform: none; }
  .atelier-image { clip-path: inset(0 0 7% 0); transition: clip-path 1.25s var(--atelier-ease), opacity 1s var(--atelier-ease), transform 1.15s var(--atelier-ease); }
  .atelier-image.is-seen { clip-path: inset(0); }
  .material-card img { transform: scale(1.075); transition: transform 1.8s var(--atelier-ease); }
  .material-card.is-seen img { transform: scale(1); }
  @keyframes atelier-arrive { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 720px) {
  .button, .contact-button { min-width: 0; width: 100%; }
  .audience-card { padding: 52px 24px; min-height: 490px; }
  .audience-card h3 { font-size: clamp(2.5rem,11vw,3.4rem); }
  .circle-link { margin-top: 24px; }
  .project-card:hover .project-overlay h3 { color: var(--rosso); }
  .collaboration { grid-template-columns: 1fr; padding-block: 0 72px; gap: 40px; }
  .collaboration-portrait { min-height: 0; height: 340px; }
  .process-next { width: 100%; }
  .process-actions { grid-template-columns: 80px minmax(0,1fr); }
  .process-actions button { min-width: 0; }
  .site-nav a, .detail-nav a { font-size: clamp(2.5rem,8vw,4rem); }
}

/* Architectural motion: a moving image plane, with a quiet reading layer. */
.hero-slide { transform: none; transition: opacity 1.5s ease, visibility 1.5s; }
.hero-slide.is-active { transform: none; }
.hero-slide img { transform: scale(1.08); }
.hero-meta { flex-direction: row; align-items: center; gap: 18px; }
.slide-dot, .slide-dot.is-active { position: relative; width: 38px; height: 44px; background: transparent; }
.slide-dot::before, .slide-dot::after { content: ''; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: #ffffff50; }
.slide-dot::after { background: white; transform: scaleX(0); transform-origin: left; }
.slide-dot.is-active::after { transform: scaleX(1); }
.motion-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff65; background: transparent; color: white; cursor: pointer; }
.motion-toggle span { display: block; width: 8px; height: 11px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.motion-toggle[aria-pressed='true'] span { width: 0; height: 0; border: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; }
.motion-toggle:focus-visible, .slide-dot:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.process-track { grid-template-columns: minmax(0,1fr); transform: none !important; }
.process-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .75s ease, visibility .75s; }
.process-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.process-visual img { transition: transform 1.4s var(--atelier-ease), clip-path 1.1s var(--atelier-ease); transform: scale(1.08); clip-path: inset(0 100% 0 0); }
.process-slide.is-active .process-visual img { transform: scale(1); clip-path: inset(0); }
.process-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .8s var(--atelier-ease); }
.process-slide.is-active .process-copy > * { opacity: 1; transform: none; transition-delay: .2s; }
.process-slide.is-active .process-copy > :last-child { transition-delay: .32s; }
.process-chapters button { position: relative; border-bottom: 0; }
.process-chapters button::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--rosso); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--atelier-ease); }
.process-chapters button[aria-pressed='true']::after { transform: scaleX(1); }
@media(prefers-reduced-motion:no-preference) {
 .hero-slide.is-entering { z-index: 1; animation: stone-panel 1.55s var(--atelier-ease) both; }
 .hero-shade { z-index: 1; pointer-events: none; }
 .hero-slide.is-active img { animation: stone-drift 9s linear both; }
 .hero.is-paused .hero-slide img { animation-play-state: paused; }
 .hero.is-running .slide-dot.is-active::after { animation: stone-time 8s linear both; }
 .hero.is-paused .slide-dot.is-active::after { animation-play-state: paused; }
 .hero-content h1 { animation-duration: 1.65s; }
 .hero-content .hero-intro { animation-delay: .25s; }
 .hero-content .button { animation-delay: .45s; }
 .motion-plane { transform: translateY(var(--plane-y,0px)) scale(1.12); will-change: transform; }
 .atelier-image { clip-path: inset(0 0 18% 0); }
 .atelier-image.is-seen { clip-path: inset(0); }
 .site-nav a { transition: color .3s, opacity .3s; }
 @media(hover:hover) { .site-nav:hover a:not(:hover) { opacity: .5; } }
 @keyframes stone-panel { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
 @keyframes stone-drift { from { transform: scale(1.04) translateX(-.4%); } to { transform: scale(1.12) translateX(.4%); } }
 @keyframes stone-time { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media(max-width:720px) {
 .hero-meta { left: 16px; right: 16px; justify-content: space-between; }
 .process-slide { min-width: 0; }
}
@media(prefers-reduced-motion:reduce) {
 .hero-slide, .hero-slide img, .process-slide, .process-visual img, .process-copy > *, .process-chapters button::after { animation: none !important; transition: none !important; transform: none !important; clip-path: none !important; }
}

/* Shared editorial rhythm, owned by the following section. */
:root { --section-space: clamp(80px,8vw,120px); --heading-space: clamp(32px,4vw,56px); --panel-space: clamp(32px,4vw,60px); }
.applications { padding-block: var(--section-space) 0; }
.process { padding-block: var(--section-space); scroll-margin-top: calc(var(--header-h) + 16px); }
.process-heading { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 40px; padding: 0 0 var(--heading-space); }
.process-heading h2 { font-size: clamp(2.8rem,4.2vw,4.7rem); line-height: 1.02; text-wrap: balance; }
.process-heading p { margin: 0; max-width: 460px; font-size: .9375rem; line-height: 1.6; }
.process-chapters { padding-block: 16px; gap: 8px 28px; }
.process-track { align-items: stretch; }
.process-slide { min-height: clamp(440px,36vw,540px); grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.process-visual { min-height: 0; }
.process-copy { padding: var(--panel-space); }
.process-copy h3 { margin-bottom: 20px; font-size: clamp(2.4rem,3.2vw,3.6rem); line-height: 1.04; }
.process-copy > p:last-child { font-size: .9375rem; line-height: 1.65; max-width: 560px; }
.process-controls { padding-top: 24px; gap: 24px; }
.process-story { border-top-color: var(--line); }
.collaboration { padding-block: 0 var(--section-space); gap: clamp(32px,5vw,72px); }
.collaboration-portrait { min-height: 440px; }
.collaboration-copy h2 { font-size: clamp(2.8rem,4.6vw,5rem); line-height: 1.06; margin-bottom: 28px; }
.project-grid { gap: 20px; }

@media(max-width:720px) {
 :root { --section-space: 64px; --heading-space: 32px; --panel-space: 28px; }
 .applications { padding-block: var(--section-space) 0; }
 .process { padding-block: var(--section-space); }
 .process-heading { grid-template-columns: 1fr; gap: 20px; padding-bottom: var(--heading-space); }
 .process-heading h2 { font-size: clamp(2.6rem,10vw,3.3rem); }
 .process-chapters { gap: 0 18px; padding-block: 8px; }
 .process-slide { grid-template-columns: minmax(0,1fr); min-height: 0; grid-template-rows: auto 1fr; }
 .process-visual { height: clamp(240px,65vw,320px); }
 .process-copy { padding: var(--panel-space); min-height: 0; justify-content: flex-start; }
 .process-copy h3 { font-size: 2.4rem; margin-bottom: 16px; }
 .process-controls { gap: 12px; }
 .process-actions button { min-height: 52px; }
 .collaboration { padding-block: 0 var(--section-space); gap: 32px; }
 .collaboration-portrait { min-height: 0; height: 280px; }
 .collaboration-copy h2 { font-size: 2.8rem; margin-bottom: 24px; }
}

/* Apply the same spacing scale across overview, detail, contact and footer. */
.applications .section-heading { padding-bottom: var(--heading-space); }
.detail-intro { padding-block: var(--section-space) var(--heading-space); gap: var(--panel-space); }
.detail-intro h2 { font-size: clamp(3rem,5.5vw,6rem); line-height: 1.04; }
.detail-intro-copy p:last-child { margin-bottom: 0; }
.possibilities { padding-bottom: var(--section-space); }
.possibility-grid { gap: 24px; }
.possibility-grid {
 grid-template-columns: repeat(2,minmax(0,1fr));
 grid-template-rows: none;
 grid-auto-rows: auto;
}
.possibility-card,
.possibility-card:first-child {
 grid-row: auto;
 aspect-ratio: auto;
 background: transparent;
 color: var(--basalt);
}
.possibility-card img { aspect-ratio: 4 / 3; height: auto; }
.possibility-card::after { display: none; }
.possibility-card figcaption {
 position: static;
 padding: 30px 4px 18px;
 color: var(--basalt);
}
.possibility-card h3 { margin-bottom: 16px; font-size: clamp(2.8rem,4.2vw,4.5rem); line-height: .98; }
.possibility-card p { max-width: 560px; color: var(--granite); font-size: 1rem; line-height: 1.7; opacity: 1; }
.hotspot-layer { inset: 0 0 auto; aspect-ratio: 4 / 3; }
.possibility-card.has-open-hotspot figcaption { opacity: 1; pointer-events: auto; }
.material-break { min-height: 0; }
.material-break-image { min-height: 480px; }
.material-break-copy { padding: var(--panel-space); }
.material-break-copy h2 { font-size: clamp(3rem,4.8vw,5.4rem); line-height: 1.04; margin-bottom: 28px; }
.next-projects { padding-block: var(--section-space); }
.next-heading { padding: 0 0 var(--heading-space); }
.next-heading h2 { font-size: clamp(3rem,5vw,5.5rem); line-height: 1.04; }
.contact-intro, .contact-form { padding: clamp(48px,6vw,88px); }
.detail-contact { padding-block: var(--section-space); }
.site-footer { min-height: 0; padding-top: 64px; padding-bottom: 32px; }
@media(max-width:720px) {
 .detail-intro { gap: 24px; }
 .detail-intro h2 { font-size: clamp(2.7rem,11vw,3.8rem); }
 .material-break-image { min-height: 0; }
 .material-break-copy { padding: 40px 24px 48px; }
 .contact-intro, .contact-form { padding: 48px 24px; }
 .contact-form { padding-top: 8px; }
 .project-card:last-child, .possibility-card:last-child { margin-bottom: 0; }
 .detail-contact { gap: 32px; }
}

/* All process images fill the same frame edge to edge. */
.process-slide[data-phase='sketch'] .process-visual,
.process-slide[data-phase='design'] .process-visual { background: #eee9df; }
.process-slide[data-phase='sketch'] .process-visual img,
.process-slide[data-phase='design'] .process-visual img { object-fit: cover; padding: 0; }
.process-progress span { width: 16.6667%; }
@media(min-width:1000px) {
 .process-slide[data-phase='result'] { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); }
}
.audience-footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.audience-footer-links a { padding-block: 8px; text-decoration: underline; text-underline-offset: 4px; }
@media(min-width:1001px) and (max-width:1250px) {
 .site-header { gap: 18px; }
 .site-nav { gap: 16px; }
 .site-nav a { font-size: .75rem; }
}

/* Clear entry points to the two audience pages. */
.audience-card > .circle-link {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 align-self: flex-start;
 min-width: 240px;
 min-height: 56px;
 padding: 16px 28px;
 margin-top: 32px;
 border: 1px solid var(--white);
 background: var(--white);
 background-image: none;
 color: var(--basalt);
 font-size: .9375rem;
 font-weight: 600;
 line-height: 1.4;
 text-align: center;
 transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.audience-card > .circle-link:hover {
 background: var(--rosso);
 border-color: var(--rosso);
 color: var(--white);
}
.audience-card > .circle-link:focus-visible {
 outline: 2px solid var(--white);
 outline-offset: 5px;
}
@media(max-width:720px) {
 .audience-card > .circle-link { align-self: stretch; min-width: 0; width: 100%; }
}

/* Plain origin story with one supporting material photograph. */
.applications .section-heading, .process-heading { grid-template-columns: minmax(0,1fr); }
.about-simple { padding-bottom: var(--section-space); scroll-margin-top: calc(var(--header-h) + 24px); }
.about-simple > h2 { margin: 0 0 var(--heading-space); font-size: clamp(3rem,5.5vw,6rem); line-height: 1.04; }
.about-simple-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: clamp(32px,6vw,88px); align-items: stretch; }
.about-simple-copy { max-width: 700px; }
.about-simple-copy p { margin: 0 0 24px; color: var(--granite); line-height: 1.8; }
.about-simple-copy p:last-child { margin-bottom: 0; }
.about-simple-image { position: relative; overflow: hidden; min-height: 440px; }
.about-simple-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media(max-width:800px) {
 .about-simple-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
 .about-simple > h2 { font-size: clamp(2.8rem,10vw,4.5rem); }
 .about-simple-image { min-height: 0; aspect-ratio: 4/3; }
}

/* A stable image ratio keeps material-point coordinates reliable. */
@media(min-width:701px) {
 .possibility-grid { grid-auto-rows:auto; }
}
