/*
 * Homepage editorial layout — independently authored for Mariko.
 * The immersive hero and its slideshow retain their existing motion.
 */
.august-home {
  --ink: #282624;
  --brown: #645344;
  --red: #645344;
  --sage: #766758;
  --yellow: #d8cfc4;
  --line: rgba(40,38,36,.18);
  --editorial-space: clamp(88px,11vw,160px);
  --editorial-gutter: clamp(24px,8vw,120px);
  color: var(--ink);
}
.august-home > section:not(.immersive-hero) { scroll-margin-top: 100px; }
.august-home .section-number { color: var(--ink); font-weight: 500; letter-spacing: .18em; }
.august-home .text-link { color: var(--ink); font-size: 11px; letter-spacing: .12em; }
.august-home .text-link .arrow { color: var(--brown); }

/* Book: open, asymmetric spread instead of a stack of boxed panels. */
.august-book {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.08fr);
  column-gap: clamp(48px,8vw,124px);
  row-gap: 32px;
  min-height: 0;
  padding: var(--editorial-space) var(--editorial-gutter);
  background: #fff;
  border: 0;
  align-items: center;
}
.august-book__index { grid-column: 1; position: static; display: flex; align-items: baseline; gap: 15px; writing-mode: horizontal-tb; padding: 0; }
.august-book__index strong { font-size: 13px; font-weight: 400; }
.august-book__index span { font-size: 10px; letter-spacing: .2em; writing-mode: horizontal-tb; }
.august-book__photos { grid-column: 2; grid-row: 1 / 3; position: relative; top: auto; width: 100%; height: auto; aspect-ratio: 1 / 1.1; margin: 0; }
.august-book__photos figure:first-child { left: 10%; top: 0; width: 62%; transform: rotate(-3deg); box-shadow: 0 9px 22px rgba(61,45,32,.14); }
.august-book__photos figure:last-child { right: 0; bottom: 0; width: 71%; height: 36%; transform: rotate(3deg); }
.august-book__copy { grid-column: 1; grid-row: 2; display: block; position: static; min-height: 0; margin: 0; padding: 0; }
.august-book__title { writing-mode: horizontal-tb; font-size: clamp(30px,3vw,44px); line-height: 1.8; letter-spacing: .08em; }
.august-book__body { max-width: 430px; margin-top: 38px; font-size: 14px; line-height: 2.2; }
.august-book__body p + p { margin-top: 22px; }

/* Profile: preserve the supplied image/outline, free the biography from the card. */
.august-profile { min-height: 0; padding: 40px var(--editorial-gutter) var(--editorial-space); background: #fff; border: 0; }
.august-profile::before, .august-profile::after { display: none; }
.august-profile__inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); align-items: center; gap: clamp(44px,8vw,120px); width: min(1200px,100%); }
.august-profile__photo { width: 100%; height: clamp(460px,47vw,660px); box-shadow: none; }
.august-profile__copy { width: 100%; margin: 110px 0 0; padding: 0 0 0 36px; border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; background: transparent; }
.august-profile__role { color: var(--ink); font-size: 14px; margin-top: 42px; }
.august-profile h2 { font-size: clamp(32px,3.3vw,47px); margin-top: 12px; }
.august-profile__text { font-size: 14px; line-height: 2.2; margin-top: 28px; }
.august-profile__note { color: #66615b; }
.august-profile__social { font-size: 10px; letter-spacing: .09em; }

/* Two parallel entrances: recipe discovery and commissioned work. */
.home-services { padding: 0 var(--editorial-gutter) var(--editorial-space); background: #fff; }
.home-services > .section-number { margin-bottom: 44px; }
.home-services__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(32px,5vw,80px); }
.home-service { display: flex; flex-direction: column; min-width: 0; padding-left: clamp(24px,3vw,44px); border-left: 1px solid var(--line); }
.home-service__photo { width: 200px; max-width: 75%; aspect-ratio: 2 / 3; margin: 0 0 36px; overflow: hidden; }
.home-service__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.home-service__label { font-size: 12px; letter-spacing: .14em; margin-bottom: 22px; color: var(--brown); }
.home-service h2 { font-family: var(--serif); font-size: clamp(22px,2.3vw,34px); font-weight: 400; line-height: 1.85; letter-spacing: .02em; margin: 0 0 28px; }
.home-service h2 span { display: block; }
.home-service__audience { font-size: 12px; line-height: 1.9; margin-bottom: 16px; }
.home-service__description { font-size: 14px; line-height: 2.2; margin-bottom: 44px; max-width: 440px; }
.home-service__link { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: auto; padding-block: 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.home-service__link span:last-child { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; transition: transform .25s ease; }
.home-service__link:hover span:last-child { transform: translateX(4px); }

/* Collaboration-style gallery, using only the existing partner identities. */
.home-partners { padding: 80px 0 var(--editorial-space); border-top: 1px solid var(--line); background: #fff; }
.home-partners__heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; padding-inline: var(--editorial-gutter); margin-bottom: 50px; }
.home-partners__heading h2 { margin-top: 24px; font-family: var(--serif); font-size: clamp(26px,3vw,43px); font-weight: 400; }
.home-partners__heading > p { font-size: 11px; line-height: 2; color: #625d57; }
.home-partners__heading > p span { display: inline-block; margin-top: 8px; }
.home-partners__rail { display: flex; gap: 32px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--editorial-gutter); padding: 0 var(--editorial-gutter) 24px; scrollbar-width: thin; scrollbar-color: #b8ab9d #f4f1ed; }
.home-partner { flex: 0 0 31%; min-width: 250px; scroll-snap-align: start; }
.home-partner__image { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #f5f3f0; border-radius: 3px; }
.home-partner__image img { width: 65%; height: 42%; object-fit: contain; }
.home-partner > p { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: 13px; line-height: 1.8; }
.home-partner > p span { flex-shrink: 0; }
.home-service__link:focus-visible, .home-partner:focus-visible, .home-partners__rail:focus-visible { outline: 2px solid var(--brown); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) {
  .home-service__photo img, .home-service__link span:last-child { transition: none; }
}

/* Editorial stories retain a horizontal swipe on small screens. */
.august-features { padding: 80px 0 var(--editorial-space); border-top: 1px solid var(--line); }
.august-features .section-heading { width: 100%; padding-inline: var(--editorial-gutter); margin-bottom: 60px; align-items: end; }
.august-features .section-heading h2 { font-size: clamp(28px,3vw,43px); line-height: 1.7; }
.august-features__grid { width: 100%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(24px,3vw,44px); padding: 0 var(--editorial-gutter); overflow: visible; }
.august-feature-card { min-width: 0; }
.august-feature-card:nth-child(2) { margin-top: 65px; }
.august-feature-card:nth-child(3) { margin-top: 130px; }
.august-feature-card__image { aspect-ratio: 4 / 5; border-radius: 2px; }
.august-feature-card__copy { padding-top: 25px; }
.august-feature-card__meta { color: var(--brown); }
.august-feature-card__excerpt { color: #625d57; }
.august-features__more { border-radius: 0; border-width: 0 0 1px; margin-top: 68px; color: var(--ink); padding-inline: 0; }
.august-features__more:hover { color: var(--brown); background: transparent; }
.august-home .contact { background: #fff; padding: var(--editorial-space) var(--editorial-gutter); }
.august-home .contact h2 { font-size: clamp(34px,4vw,56px); }
.august-home .contact-script { color: #b8ab9d; opacity: .6; }
.august-home .contact-button { border-color: var(--brown); color: var(--ink); }
.august-home .contact-button:hover { background: var(--brown); color: #fff; }

@media (max-width: 980px) {
  .august-home { --editorial-gutter: 40px; }
  .august-book { column-gap: 40px; }
  .august-book__photos { aspect-ratio: .8; }
  .august-profile__inner { gap: 40px; }
  .august-profile__copy { padding-left: 24px; margin-top: 60px; }
  .august-profile__photo { height: 520px; }
  .august-features .section-heading { gap: 36px; }
}
@media (max-width: 680px) {
  .home-services__grid { grid-template-columns: minmax(0,1fr); gap: 64px; }
  .home-service h2 { font-size: clamp(22px,6.1vw,32px); }
  .home-service__photo { width: 180px; }
  .home-service__description { margin-bottom: 24px; }
  .home-partners__heading { display: block; margin-bottom: 32px; }
  .home-partners__heading > p { margin-top: 24px; }
  .home-partners__rail { gap: 20px; }
  .home-partner { flex-basis: 76vw; min-width: 0; }
  .august-home { --editorial-gutter: 24px; --editorial-space: 88px; }
  .august-book { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .august-book__index { order: 0; }
  .august-book__photos { order: 1; width: 92%; margin-left: auto; aspect-ratio: 1; }
  .august-book__copy { order: 2; }
  .august-book__title { font-size: 30px; }
  .august-book__body { margin-top: 24px; }
  .august-profile { padding-top: 8px; }
  .august-profile__inner { display: block; }
  .august-profile__photo { width: 90%; height: 440px; }
  .august-profile__copy { width: 92%; margin: 44px 0 0 auto; padding: 0 0 0 24px; }
  .august-profile__role { margin-top: 30px; }
  .august-profile__text { font-size: 14px; }
  .august-features { padding-top: 64px; }
  .august-features .section-heading { display: block; margin-bottom: 36px; }
  .august-features .section-heading > p { margin-top: 24px; }
  .august-features__grid { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 20px; }
  .august-feature-card { flex: 0 0 76vw; }
  .august-feature-card:nth-child(2), .august-feature-card:nth-child(3) { margin-top: 0; }
  .august-feature-card__excerpt { display: block; }
  .august-features__more { margin-top: 32px; }
}
