/*
---
author: codex
model: gpt-6-astra
updated: 2026-09-10
---
Homepage feedback: warm photographs, yellow accents and clearer section hierarchy.
*/
.august-home {
  --home-accent: #e3c45b;
  --home-accent-hover: #d8b644;
  --home-accent-soft: #f5e9b8;
  --home-accent-ink: #3b3025;
}

.august-home .section-number {
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: .15em;
}
.august-home .august-book__index strong,
.august-home .august-book__index span {
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: .15em;
}

/* The book is the first visual on the spread and on narrow screens. */
.august-home .august-book__index { grid-column: 2; grid-row: 1; }
.august-home .august-book__photos { grid-column: 1; grid-row: 1 / 3; }
.august-home .august-book__copy { grid-column: 2; grid-row: 2; }
.august-home .august-book__title {
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.75;
}

.august-home .august-book__body .text-link,
.august-home .august-profile__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 100%;
  min-height: 54px;
  padding: 16px 24px;
  border: 1px solid var(--home-accent);
  border-radius: 999px;
  background: var(--home-accent);
  color: var(--home-accent-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .08em;
  transition: background-color .2s ease, border-color .2s ease;
}
.august-home .august-book__body .text-link .arrow,
.august-home .august-profile__social .arrow { color: inherit; }
.august-home .august-book__body .text-link:hover,
.august-home .august-profile__social:hover {
  background: var(--home-accent-hover);
  border-color: var(--home-accent-hover);
}
.august-home .august-book__body .text-link:focus-visible,
.august-home .august-profile__social:focus-visible,
.august-home .contact-button:focus-visible {
  outline: 2px solid var(--home-accent-ink);
  outline-offset: 4px;
}

/* Keep the supplied portrait inside the original softly rounded frame.
   The lower printed credit is outside the crop, as requested; the source stays intact. */
.august-home .august-profile__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 48% 48% 45% 45% / 36% 36% 60% 60%;
  background: #f2f0e8;
}
.august-home .august-profile__photo img {
  display: block;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center top;
  filter: none;
  transform: none;
}
.august-home .august-book__body .text-link .arrow,
.august-home .august-profile__social .arrow,
.august-home .contact-button .arrow {
  display: grid; place-items: center; flex: 0 0 40px;
  width: 40px; height: 40px; margin: 0;
  border: 1px solid currentColor; border-radius: 50%;
  font-size: 14px; line-height: 1;
}
.august-home .august-book__body .text-link,
.august-home .august-profile__social { padding-block: 12px; }
.august-home .august-book__body .text-link:hover .arrow,
.august-home .august-profile__social:hover .arrow,
.august-home .contact-button:hover .arrow { transform: translateX(4px); }
.august-home .august-profile__inner { gap: clamp(32px, 5vw, 72px); }
.august-home .august-profile__copy {
  width: 100%;
  margin: 0;
  padding: 0 0 0 32px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.august-home .home-service__label {
  margin-bottom: 22px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .06em;
}
.august-home .home-service h2 {
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.85;
  margin-bottom: 24px;
}

/* Keep one gentle grade during scrolling and hover; preserve original assets. */
.august-home .immersive-hero__visual img,
.august-home .immersive-stream__item img,
.august-home .immersive-stream__item:not(.immersive-stream__item--handoff):hover img {
  filter: saturate(.84) sepia(.07) contrast(.97) brightness(1.025);
}

.august-home .contact {
  background: var(--home-accent-soft);
  color: var(--home-accent-ink);
}
.august-home .contact::before { display: none; }
.august-home .contact .section-number,
.august-home .contact h2,
.august-home .contact > p { color: var(--home-accent-ink); }
.august-home .contact-script { color: #b39236; opacity: .2; }
.august-home .contact .contact-button {
  max-width: 100%;
  border-color: var(--home-accent);
  background: var(--home-accent);
  color: var(--home-accent-ink);
  font-size: 13px;
}
.august-home .contact .contact-button:hover {
  border-color: var(--home-accent-ink);
  background: var(--home-accent-ink);
  color: #fff;
}

@media (max-width: 680px) {
  .august-home .section-number,
  .august-home .august-book__index strong,
  .august-home .august-book__index span { font-size: 14px; }
  .august-home .august-book__photos {
    order: 0;
    width: 94%;
    margin: 0 auto 12px;
  }
  .august-home .august-book__index { order: 1; margin-bottom: 0; }
  .august-home .august-book__copy { order: 2; }
  .august-home .august-book__title { font-size: 30px; }
  .august-home .august-profile__photo { width: 100%; height: auto; }
  .august-home .august-profile__copy { width: 100%; margin: 40px 0 0; padding: 0 0 0 24px; }
  .august-home .august-profile__social { gap: 12px; padding-inline: 16px; font-size: 10px; }
  .august-home .home-service__label { font-size: 32px; }
  .august-home .home-service h2 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .august-home .august-book__body .text-link,
  .august-home .august-profile__social { transition: none; }
}

/* Two-line story scenes with a scroll interval for each complete thought. */
.motion-story-ready .august-home .immersive-hero{height:720svh;min-height:calc(var(--site-vh,1vh) * 720)}
.august-home .immersive-hero__copy h1{font-size:clamp(23px,2.3vw,34px);line-height:2;letter-spacing:.05em}
.august-home .immersive-hero__narrative-block{font-size:clamp(21px,2.1vw,30px);line-height:2;letter-spacing:.04em}
.august-home .feature-coming-soon{text-align:center;margin:54px 24px 0;font-size:13px;color:#6b6152}
.august-home .august-feature-card h3{font:400 clamp(21px,2vw,28px)/1.65 var(--serif)}
@media(max-width:680px){.august-home .immersive-hero__copy{width:calc(100% - 36px)}.august-home .immersive-hero__copy h1{font-size:18px;letter-spacing:0;line-height:2.1}.august-home .immersive-hero__narrative-block{font-size:17px;letter-spacing:0;line-height:2}.august-home .immersive-hero__narrative{width:calc(100% - 36px)}}

/* author: codex; model: gpt-6-astra; updated: 2026-09-10 */
.august-home .immersive-hero__copy h1{font-size:clamp(30px,3.5vw,50px);line-height:1.65;letter-spacing:.07em}
.august-home .immersive-hero__lead{font-size:16px;line-height:2;margin-top:24px}
.motion-story-ready .august-home .immersive-hero__narrative{overflow:hidden}
.august-home .immersive-hero__narrative-block{will-change:opacity,transform}
@media(max-width:680px){.august-home .immersive-hero__copy h1{font-size:32px;line-height:1.65}.august-home .immersive-hero__lead{font-size:13px;letter-spacing:.035em}.august-home .immersive-hero__narrative-block{font-size:17px;line-height:2}}

/* The lead is a separate first scroll scene, followed by the continuous story. */
.august-home .immersive-hero__subtitle-scene {
  position: absolute; z-index: 4; left: 50%; top: 50%;
  width: min(88vw, 760px); text-align: center; pointer-events: none;
  opacity: 0; transform: translate(-50%, -50%); will-change: opacity, transform;
}
.august-home .immersive-hero__subtitle-scene .immersive-hero__lead {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(21px, 2.1vw, 30px); line-height: 2; letter-spacing: .04em;
  text-shadow: 0 2px 26px rgba(0,0,0,.62);
}
html:not(.motion-story-ready) .august-home .immersive-hero__subtitle-scene {
  position: relative; left: auto; top: auto; width: 100%;
  padding: 60px 24px; opacity: 1; transform: none;
}
@media(max-width:680px) {
  .august-home .immersive-hero__subtitle-scene { width: calc(100% - 36px); }
  .august-home .immersive-hero__subtitle-scene .immersive-hero__lead { font-size: 17px; line-height: 2; letter-spacing: 0; }
}

/* Present the cover and spread at the same page height, without clipping. */
.august-home .august-book__photos {
  display: grid;
  grid-template-columns: 1fr 2.008fr;
  gap: clamp(10px, 1.3vw, 20px);
  align-items: start;
  align-self: center;
  aspect-ratio: auto;
  height: auto;
}
.august-home .august-book__photos figure:first-child,
.august-home .august-book__photos figure:last-child {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  margin: 0;
  overflow: visible;
  transform: none;
  background: transparent;
  box-shadow: 0 8px 20px rgba(61,45,32,.12);
}
.august-home .august-book__photos figure:first-child { aspect-ratio: 1062 / 1500; }
.august-home .august-book__photos figure:last-child { aspect-ratio: 2374 / 1670; }
.august-home .august-book__photos figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
