/* ==========================================================================
   why-a-portrait.css — "Why a Portrait?" page
   Hinsch Portrait Studio

   Page-specific CSS remains self-contained, following the existing site
   convention. Header/footer chrome is copied from the current light-chrome
   pages rather than recreated from the approved comp.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --color-brown-dark: #3a2f24;
  --color-brown-darker: #241c15;
  --color-olive-brown: #423a2c;
  --color-cream: #ede4d3;
  --color-cream-alt: #f2ead9;
  --color-gold: #a9822f;
  --color-gold-light: #cdb173;
  --color-ivory: #f7f2e7;
  --color-text: #2c2419;
  --color-text-muted: #5a5041;
  --why-paper: #f8f4eb;
  --why-paper-deep: #f1e4c9;
  --why-line: rgba(75, 54, 34, 0.16);

  --font-display: 'Cormorant Garamond', 'EB Garamond', Garamond, Georgia, serif;
  --font-body: 'EB Garamond', Garamond, Georgia, serif;
  --font-label: 'Barlow Condensed', sans-serif;

  --max-width: 1360px;
}

html { scroll-behavior: smooth; }
body { margin: 0; }

.why-page {
  background: var(--why-paper);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.why-page .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.why-page img { max-width: 100%; display: block; height: auto; }
.why-page a { color: inherit; text-decoration: none; }
.why-page :focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }

/* ==========================================================================
   HEADER — current light chrome
   ========================================================================== */

.story-page-header {
  background: var(--color-cream);
  border-bottom: 1px solid rgba(43, 28, 20, 0.15);
  position: relative;
  z-index: 40;
}

.story-page-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 40px;
  gap: 24px;
}

.story-page-header .wordmark-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.story-page-header .wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
}

.story-page-header .wordmark-flourish {
  width: 150px;
  height: 10px;
  color: var(--color-gold);
}

.story-page-header .wordmark-flourish svg { width: 100%; height: 100%; display: block; }
.story-page-header__nav { display: flex; }

.story-page-header__nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.story-page-header__nav a {
  font-family: var(--font-label);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.story-page-header__nav a:hover { color: var(--color-gold); }
.story-page-header__nav li.is-active a { color: var(--color-gold); border-bottom-color: var(--color-gold); }

.story-page-header__menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-text);
  border-radius: 2px;
  width: 42px;
  height: 38px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.story-page-header__menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--color-text); }
.story-page-header__mobile-nav { display: none; background: var(--color-cream); border-top: 1px solid rgba(43, 28, 20, 0.15); }
.story-page-header__mobile-nav.is-open { display: block; }
.story-page-header__mobile-nav ul { list-style: none; margin: 0; padding: 8px 24px 20px; display: flex; flex-direction: column; }
.story-page-header__mobile-nav a { display: block; padding: 12px 0; font-family: var(--font-label); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text); border-bottom: 1px solid rgba(43, 28, 20, 0.08); }
.story-page-header__mobile-nav li.is-active a { color: var(--color-gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  font-family: var(--font-label);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 31px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn--gold { background: var(--color-gold); color: var(--color-ivory); border-color: var(--color-gold); }
.btn--gold:hover { background: var(--color-gold-light); border-color: var(--color-gold-light); color: var(--color-brown-darker); }

.why-ornament { width: 88px; height: auto; object-fit: contain; }

/* ==========================================================================
   HERO
   ========================================================================== */

.why-hero {
  position: relative;
  min-height: 500px;
  border-bottom: 1px solid var(--why-line);
  isolation: isolate;
}

.why-hero__pastiche {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  height: 100%;
  width: min(19vw, 260px);
  object-fit: cover;
  object-position: left center;
  opacity: 0.72;
  pointer-events: none;
}

.why-hero__inner {
  max-width: 1390px;
  margin: 0 auto;
  min-height: 500px;
  padding: 20px 36px 20px clamp(130px, 12vw, 190px);
  display: grid;
  grid-template-columns: minmax(300px, 36%) minmax(520px, 64%);
  align-items: center;
  gap: 18px;
}

.why-hero__copy { text-align: center; max-width: 500px; justify-self: center; padding: 26px 0; }
.why-hero__title { margin: 0; font-family: var(--font-display); font-size: clamp(3.15rem, 5vw, 5.15rem); line-height: 0.98; font-weight: 500; letter-spacing: -0.025em; }
.why-hero__ornament { margin: 20px auto 20px; }
.why-hero__thesis { margin: 0 auto 22px; font-family: var(--font-body); font-size: 1.14rem; line-height: 1.45; font-weight: 500; }
.why-hero__thesis em { color: #aa6e22; font-size: 1.23rem; }
.why-hero__body { margin: 0 auto 28px; max-width: 38ch; font-family: var(--font-body); font-size: 1rem; line-height: 1.55; }
.why-hero__art { margin: 0; align-self: stretch; display: flex; align-items: center; }
.why-hero__art img { width: 100%; height: auto; max-height: 540px; object-fit: contain; filter: drop-shadow(0 7px 8px rgba(44, 31, 20, 0.22)); }

/* ==========================================================================
   CAMERA vs PORTRAIT
   ========================================================================== */

.why-transform { border-bottom: 1px solid var(--why-line); padding: 16px 0 0; overflow: hidden; }
.why-transform__inner { max-width: 1390px; margin: 0 auto; padding: 0 26px; min-height: 415px; display: grid; grid-template-columns: minmax(235px, 28%) minmax(390px, 44%) minmax(235px, 28%); align-items: center; gap: 24px; }
.why-transform figure { margin: 0; display: flex; justify-content: center; align-items: center; }
.why-transform__source img { width: min(100%, 330px); transform: rotate(-3.7deg); filter: drop-shadow(0 8px 8px rgba(52, 36, 24, 0.26)); }
.why-transform__portrait img { width: min(100%, 370px); transform: rotate(4.1deg); box-shadow: 0 9px 12px rgba(52, 36, 24, 0.24); }
.why-transform__story { align-self: center; text-align: center; min-width: 0; }
.why-transform__title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.25rem, 3.3vw, 3.35rem); line-height: 0.95; letter-spacing: -0.02em; }
.why-transform__arrow { color: #b86e00; width: 92%; max-width: 500px; height: 85px; display: block; margin: 10px auto 0; overflow: visible; }
.why-transform__comparisons { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.why-compare h3 { margin: 0 0 13px; font-family: var(--font-label); font-size: 1.03rem; letter-spacing: 0.075em; text-transform: uppercase; font-weight: 600; }
.why-compare ul { list-style: none; margin: 0; padding: 0; }
.why-compare li { position: relative; padding: 0 0 19px; margin: 0 0 6px; font-family: var(--font-body); font-size: 0.92rem; line-height: 1.2; white-space: nowrap; }
.why-compare li::after { content: ''; position: absolute; width: 38px; height: 1px; background: var(--color-gold); left: 50%; bottom: 9px; transform: translateX(-50%); opacity: 0.8; }
.why-compare li:last-child { padding-bottom: 0; margin-bottom: 0; }
.why-compare li:last-child::after { display: none; }

/* ==========================================================================
   FOUR EXAMPLES
   ========================================================================== */

.why-examples { padding: 34px 0 28px; }
.why-examples__header { text-align: center; margin-bottom: 27px; }
.why-examples__header h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2.25rem, 3.2vw, 3rem); line-height: 0.95; font-weight: 500; text-transform: uppercase; letter-spacing: -0.01em; }
.why-examples__header .why-ornament { margin: 15px auto 0; width: 86px; }
.why-examples__grid { max-width: 1390px; margin: 0 auto; padding: 0 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.why-example { min-width: 0; }
.why-example__header { min-height: 58px; text-align: center; margin-bottom: 9px; }
.why-example__header h3 { margin: 0 0 1px; font-family: var(--font-label); font-size: 0.96rem; text-transform: uppercase; letter-spacing: 0.055em; font-weight: 600; }
.why-example__header h3 span { margin-right: 5px; }
.why-example__header p { margin: 0; font-family: var(--font-body); font-size: 0.91rem; line-height: 1.15; }
.why-example__art { width: 100%; background: #fff; overflow: hidden; }
.why-example__art img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.why-example__labels { margin: 8px 4px 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; font-family: var(--font-label); font-size: 0.77rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.why-example__labels span:first-child { text-align: left; }
.why-example__labels span:last-child { text-align: right; }
.why-example__flow { position: relative; width: 46px; height: 12px; display: block; }
.why-example__flow::before { content: ''; position: absolute; left: 0; right: 3px; top: 5px; border-top: 1.5px solid #8c7855; }
.why-example__flow::after { content: ''; position: absolute; right: 2px; top: 2px; width: 7px; height: 7px; border-top: 1.5px solid #8c7855; border-right: 1.5px solid #8c7855; transform: rotate(45deg); }

/* ==========================================================================
   PULL QUOTE
   ========================================================================== */

.why-quote { max-width: 850px; margin: 0 auto; padding: 12px 95px 25px; position: relative; text-align: center; }
.why-quote blockquote { margin: 0; }
.why-quote blockquote p { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 400; }
.why-quote blockquote p:first-child { font-size: clamp(1.65rem, 2.65vw, 2.3rem); line-height: 1.1; }
.why-quote blockquote p:nth-child(2) { margin-top: 2px; color: #a87520; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.05; }
.why-quote__mark { position: absolute; top: 4px; color: #af812d; font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; }
.why-quote__mark--left { left: 22px; }
.why-quote__mark--right { right: 22px; }
.why-quote .why-ornament { margin: 13px auto 0; width: 75px; }

/* ==========================================================================
   CLOSING CTA
   ========================================================================== */

.why-closing { position: relative; min-height: 300px; background: #f3e5c6; overflow: hidden; border-top: 1px solid rgba(103, 78, 43, 0.08); }
.why-closing__landscape { position: absolute; inset: 0 auto 0 0; width: 66%; overflow: hidden; pointer-events: none; }
.why-closing__landscape img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
/* Softly cross-fade the supplied landscape into the CTA parchment so the
   image edge never reads as a hard vertical seam on wide screens. */
.why-closing__landscape::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(120px, 13vw, 230px);
  background: linear-gradient(
    to right,
    rgba(243, 229, 198, 0) 0%,
    rgba(243, 229, 198, 0.18) 28%,
    rgba(243, 229, 198, 0.58) 68%,
    #f3e5c6 100%
  );
}
.why-closing__content { position: relative; z-index: 1; max-width: 1390px; min-height: 300px; margin: 0 auto; padding: 30px 40px 28px 43%; display: grid; grid-template-columns: 1fr 145px; align-items: center; gap: 24px; }
.why-closing__copy { text-align: center; }
.why-closing__copy h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 3.25vw, 3rem); line-height: 1.05; color: #71542b; }
.why-closing__copy .why-ornament { margin: 10px auto 9px; width: 78px; }
.why-closing__copy p { margin: 0 auto 18px; max-width: 52ch; font-family: var(--font-body); font-size: 1rem; line-height: 1.35; }
.why-closing__seal { width: 128px; height: auto; justify-self: center; }

/* ==========================================================================
   FOOTER — current light chrome
   ========================================================================== */

.story-footer { background: var(--color-brown-darker); color: var(--color-ivory); padding: 60px 0 0; }
.story-footer__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding-bottom: 40px; }
.story-footer__brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--color-gold-light); letter-spacing: 0.03em; margin: 0 0 8px; }
.story-footer__brand-line { font-family: var(--font-body); font-style: italic; font-size: 0.95rem; color: rgba(247, 242, 231, 0.78); margin: 0; max-width: 30ch; }
.story-footer__monogram { display: flex; justify-content: center; }
.story-footer__monogram img { width: 90px; height: 90px; object-fit: contain; }
.story-footer__connect { text-align: right; }
.story-footer__connect-label { display: block; font-family: var(--font-label); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 242, 231, 0.65); margin-bottom: 14px; }
.story-footer__connect-icons { display: flex; gap: 12px; justify-content: flex-end; }
.story-footer__connect-icons a { width: 38px; height: 38px; border: 1px solid var(--color-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-gold-light); transition: background 0.2s ease, color 0.2s ease; }
.story-footer__connect-icons a:hover { background: var(--color-gold); color: var(--color-brown-darker); }
.story-footer__connect-icons svg { width: 16px; height: 16px; }
.story-footer__divider { border: none; border-top: 1px solid rgba(247, 242, 231, 0.15); margin: 0; }
.story-footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 0; font-family: var(--font-body); font-size: 0.85rem; color: rgba(247, 242, 231, 0.6); }
.story-footer__bottom p { margin: 0; }
.story-footer__legal-links { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.story-footer__legal-links a:hover { color: var(--color-gold-light); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1900px) {
  .story-page-header__nav { display: none; }
  .story-page-header__menu-toggle { display: flex; }
  .why-hero__inner { grid-template-columns: minmax(280px, 38%) minmax(480px, 62%); padding-left: 145px; }
  .why-transform__inner { gap: 14px; }
  .why-example__header h3 { font-size: 0.9rem; }
}

@media (max-width: 1080px) {
  .why-hero { min-height: 0; }
  .why-hero__pastiche { width: 170px; opacity: 0.5; }
  .why-hero__inner { min-height: 0; padding: 42px 40px 34px 115px; grid-template-columns: 1fr 1.45fr; gap: 12px; }
  .why-hero__title { font-size: clamp(2.8rem, 5.8vw, 4.2rem); }
  .why-hero__art img { max-height: 440px; }

  .why-transform { padding-top: 30px; }
  .why-transform__inner { padding: 0 32px 26px; grid-template-columns: minmax(190px, 26%) 1fr minmax(190px, 26%); min-height: 365px; }
  .why-transform__title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
  .why-transform__arrow { height: 64px; }
  .why-compare h3 { font-size: 0.88rem; }
  .why-compare li { font-size: 0.78rem; white-space: normal; }

  .why-examples__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 850px; gap: 30px 24px; padding: 0 28px; }
  .why-example__header { min-height: 48px; }
  .why-example__header h3 { font-size: 1rem; }
  .why-example__header p { font-size: 0.94rem; }
  .why-example__labels { font-size: 0.82rem; }

  .why-closing__landscape { width: 62%; }
  .why-closing__content { padding-left: 42%; grid-template-columns: 1fr 115px; }
  .why-closing__seal { width: 100px; }
}

@media (max-width: 820px) {
  .why-hero__pastiche { width: 145px; opacity: 0.4; }
  .why-hero__inner { padding: 34px 28px 34px 75px; grid-template-columns: 1fr; }
  .why-hero__copy { max-width: 560px; padding-bottom: 0; }
  .why-hero__art { justify-content: center; }
  .why-hero__art img { width: min(100%, 720px); max-height: none; }

  .why-transform__inner { padding: 14px 40px 40px; display: flex; flex-direction: column; gap: 24px; }
  .why-transform__story { order: 1; width: min(100%, 620px); }
  .why-transform__source { order: 2; }
  .why-transform__source img { width: min(76vw, 360px); transform: rotate(-2.5deg); }
  .why-transform__story .why-transform__arrow { transform: rotate(90deg); width: 150px; height: 84px; margin: 0 auto -2px; }
  .why-transform__comparisons { margin-top: 3px; }
  .why-transform__portrait { order: 3; }
  .why-transform__portrait img { width: min(78vw, 430px); transform: rotate(2.4deg); }

  .why-closing { min-height: 0; padding-top: 220px; }
  .why-closing__landscape { top: 0; width: 100%; height: 250px; }
  .why-closing__landscape::after { display: none; }
  .why-closing__content { min-height: 0; padding: 30px 36px 34px; grid-template-columns: 1fr auto; }
}

@media (max-width: 720px) {
  .why-page .container { padding: 0 24px; }
  .story-page-header .header-inner { padding: 18px 20px; }
  .story-page-header .wordmark { font-size: 1.25rem; }
  .story-page-header .wordmark-flourish { width: 110px; }

  .why-hero__pastiche { width: 120px; opacity: 0.32; }
  .why-hero__inner { padding: 30px 22px 30px 44px; }
  .why-hero__title { font-size: clamp(2.75rem, 11vw, 3.75rem); }
  .why-hero__thesis { font-size: 1.05rem; }
  .why-hero__body { font-size: 0.96rem; }

  .why-transform__inner { padding: 10px 24px 38px; }
  .why-transform__title { font-size: clamp(2rem, 8.8vw, 2.75rem); }
  .why-transform__comparisons { gap: 18px; }
  .why-compare h3 { font-size: 0.82rem; }
  .why-compare li { font-size: 0.8rem; }

  .why-examples { padding-top: 28px; }
  .why-examples__header h2 { font-size: clamp(2rem, 8.5vw, 2.65rem); }
  .why-examples__grid { grid-template-columns: 1fr; max-width: 520px; gap: 34px; padding: 0 24px; }
  .why-example__header { min-height: 0; }
  .why-example__header h3 { font-size: 1.03rem; }
  .why-example__header p { font-size: 0.96rem; }
  .why-example__labels { margin-top: 9px; font-size: 0.88rem; }

  .why-quote { padding: 16px 58px 30px; }
  .why-quote__mark { font-size: 3.2rem; }
  .why-quote__mark--left { left: 15px; }
  .why-quote__mark--right { right: 15px; }

  .why-closing { padding-top: 185px; }
  .why-closing__landscape { height: 215px; }
  .why-closing__content { padding: 30px 24px 36px; grid-template-columns: 1fr; gap: 18px; }
  .why-closing__seal { width: 100px; }
  .why-closing__copy h2 { font-size: clamp(1.85rem, 8vw, 2.55rem); }

  .story-footer__top { grid-template-columns: 1fr; text-align: center; }
  .story-footer__brand-line { max-width: 34ch; margin: 0 auto; }
  .story-footer__connect { text-align: center; }
  .story-footer__connect-icons { justify-content: center; }
  .story-footer__bottom { justify-content: center; text-align: center; }
}

@media (max-width: 470px) {
  .why-hero__pastiche { display: none; }
  .why-hero__inner { padding: 30px 18px 24px; }
  .why-hero__copy { padding-top: 0; }
  .why-hero__title { font-size: clamp(2.7rem, 13vw, 3.4rem); }
  .why-hero__thesis br { display: none; }
  .why-hero__art img { width: 108%; max-width: 108%; margin-left: -4%; }

  .why-transform__inner { padding-left: 18px; padding-right: 18px; }
  .why-transform__story { display: contents; }
  .why-transform__title { order: 1; text-align: center; }
  .why-transform__source { order: 2; }
  .why-transform__arrow { order: 3; transform: rotate(90deg) !important; width: 118px !important; height: 68px !important; }
  .why-transform__comparisons { order: 4; grid-template-columns: 1fr; width: 100%; max-width: 330px; margin: 0 auto; gap: 24px; }
  .why-transform__portrait { order: 5; margin-top: 4px !important; }
  .why-compare h3 { font-size: 0.93rem; }
  .why-compare li { font-size: 0.88rem; }

  .why-quote { padding: 10px 38px 26px; }
  .why-quote__mark { font-size: 2.8rem; }
  .why-quote blockquote p:first-child { font-size: 1.55rem; }
  .why-quote blockquote p:nth-child(2) { font-size: 2rem; }

  .why-closing { padding-top: 150px; }
  .why-closing__landscape { height: 180px; }
  .why-closing__copy p { font-size: 0.96rem; }
  .why-closing .btn { width: 100%; }
}

@media (max-width: 380px) {
  .story-page-header .wordmark { font-size: 1.05rem; }
  .story-page-header .wordmark-flourish { display: none; }
  .story-page-header .header-inner { padding: 16px 14px; gap: 12px; }
  .why-example__labels { font-size: 0.8rem; }
}
