:root {
  --paper: #f6f2eb;
  --paper-2: #fbf9f5;
  --ink: #191918;
  --muted: #6f6a63;
  --line: rgba(25,25,24,.15);
  --dark: #111315;
  --blue: #5d78ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #dedbd5; }
body { margin: 0; color: var(--ink); background: #dedbd5; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.phone-shell { width: min(100%, 430px); margin: 0 auto; min-height: 100vh; background: var(--paper); box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 24px 80px rgba(0,0,0,.12); overflow: hidden; }
.header { position: sticky; top: 0; z-index: 50; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: max(10px, env(safe-area-inset-top)) 16px 10px; background: rgba(246,242,235,.92); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(25,25,24,.08); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 12px; letter-spacing: .19em; }
.brand img { width: 38px; height: 38px; padding: 4px; object-fit: contain; background: white; border-radius: 11px; }
.menu-button { min-width: 70px; height: 40px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; }
.menu { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; padding: 10px 16px 18px; background: rgba(246,242,235,.98); border-bottom: 1px solid var(--line); }
.menu.open { display: grid; }
.menu a { padding: 14px 0; text-decoration: none; font-size: 18px; border-bottom: 1px solid var(--line); }
.menu a:last-child { border-bottom: 0; }
.hero { position: relative; min-height: calc(100svh - 70px); display: flex; align-items: flex-end; overflow: hidden; color: white; }
.hero img, .image-quote img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero img { object-position: 50% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,8,.03) 8%, rgba(6,7,8,.16) 44%, rgba(6,7,8,.88) 100%); }
.hero-copy { position: relative; z-index: 2; padding: 42px 18px max(34px, env(safe-area-inset-bottom)); }
.kicker { margin: 0 0 16px; font-size: 11px; line-height: 1.3; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.kicker.light { color: rgba(255,255,255,.76); }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
h1 { max-width: 370px; font-size: clamp(44px, 13.5vw, 58px); line-height: .97; }
.hero-copy > p:not(.kicker) { margin: 22px 0 26px; max-width: 350px; font-size: 16px; line-height: 1.52; color: rgba(255,255,255,.82); }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 0 18px; border-radius: 999px; text-decoration: none; text-align: center; font-size: 14px; }
.button-light { color: var(--ink); background: white; }
.button-dark { color: white; background: var(--ink); }
.button-outline { border: 1px solid var(--ink); }
.chapter { padding: 78px 18px; background: var(--paper); }
.chapter.compact { padding-top: 66px; padding-bottom: 72px; }
.chapter-number { margin: 0 0 36px; font-family: Georgia, serif; font-size: 13px; color: #9c7650; }
h2 { font-size: clamp(38px, 10.5vw, 48px); line-height: 1.02; }
.intro h2 { font-size: clamp(48px, 13vw, 60px); }
.large-line { margin: 22px 0 28px; font-family: Georgia, serif; font-size: 31px; line-height: 1.12; }
.body-copy { margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.68; }
.full-image { margin: 0; height: 68svh; min-height: 470px; overflow: hidden; }
.full-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.memory-image { height: 56svh; min-height: 390px; }
.memory-image img { object-position: 56% center; }
.tall-image { height: 76svh; min-height: 540px; }
.tall-image img { object-position: 57% center; }
.field-image { height: 62svh; min-height: 430px; }
.field-image img { object-position: center 64%; }
.signature { margin: 34px 0 0; font-family: Georgia, serif; font-size: 26px; }
.image-quote { position: relative; min-height: 80svh; display: flex; align-items: flex-end; overflow: hidden; color: white; }
.image-quote-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,8,.03), rgba(7,9,8,.84) 90%); }
.image-quote-copy { position: relative; z-index: 2; padding: 60px 18px 42px; }
.image-quote-copy h2 { font-size: clamp(42px, 12vw, 56px); line-height: .99; }
.list-blocks { margin-top: 52px; }
.list-blocks article { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.list-blocks article:last-child { border-bottom: 1px solid var(--line); }
.list-blocks span { font-family: Georgia, serif; font-size: 13px; color: #9c7650; }
.list-blocks h3, .process h3 { margin: 18px 0 8px; font-size: 23px; font-weight: 500; }
.list-blocks p, .process li p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.process ol { margin: 48px 0 0; padding: 0; list-style: none; }
.process li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 26px 0 29px; border-top: 1px solid var(--line); }
.process li:last-child { border-bottom: 1px solid var(--line); }
.process li > span { padding-top: 4px; font-family: Georgia, serif; font-size: 13px; color: #9c7650; }
.process h3 { margin-top: 0; }
.dark-chapter { padding: 84px 18px; background: var(--dark); color: white; }
.dark-chapter .chapter-number { color: rgba(255,255,255,.45); }
.dark-chapter h2 { font-size: clamp(41px, 11vw, 53px); }
.privacy-lines { margin-top: 48px; }
.privacy-lines p { margin: 0; padding: 21px 0; border-top: 1px solid rgba(255,255,255,.16); font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.78); }
.privacy-lines p:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.privacy-note { margin: 40px 0 0; font-family: Georgia, serif; font-size: 23px; line-height: 1.34; }
.ending { min-height: 88svh; }
.ending img { object-position: 48% center; }
.contact { padding: 84px 18px 70px; background: var(--paper-2); }
.contact h2 { font-size: clamp(46px, 12vw, 58px); }
.contact-actions { display: grid; gap: 12px; margin-top: 34px; }
.contact-details { display: grid; gap: 10px; margin-top: 30px; }
.contact-details a { width: max-content; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
footer { display: grid; justify-items: start; gap: 14px; padding: 30px 18px max(32px, env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
footer p { margin: 0; color: var(--muted); font-size: 13px; }
@media (min-width: 431px) {
  body { padding: 14px 0; }
  .phone-shell { border-radius: 2px; }
}
@media (max-width: 360px) {
  h1 { font-size: 42px; }
  h2 { font-size: 37px; }
  .brand span { display: none; }
}

.menu-login { color: #8a6542; }
.footer-link { color: var(--ink); text-decoration: none; font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.philosophy-hero { position: relative; min-height: calc(100svh - 70px); display: flex; align-items: flex-end; overflow: hidden; color: white; }
.philosophy-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.philosophy-hero-copy { position: relative; z-index: 2; padding: 42px 18px max(42px, env(safe-area-inset-bottom)); }
.philosophy-hero-copy h1 { max-width: 390px; }
.philosophy-intro .large-line { margin-bottom: 34px; }
.philosophy-field { height: 58svh; min-height: 420px; }
.philosophy-field img { object-position: 50% 65%; }
.poetry-section { padding: 84px 18px; background: #e9e2d8; }
.poem-card { margin-top: 34px; padding: 34px 22px 28px; }
.poem-card-light { background: var(--paper-2); color: var(--ink); }
.poem-card-dark { background: var(--dark); color: white; }
.poem-title { margin: 0 0 28px; font-family: Georgia, serif; font-size: 31px; line-height: 1.08; }
.poem-text { font-family: Georgia, serif; font-size: 18px; line-height: 1.68; }
.poem-text p { margin: 0; }
.poem-author { margin: 30px 0 0; font-size: 13px; letter-spacing: .11em; text-transform: uppercase; opacity: .62; }
.philosophy-ending { min-height: 82svh; }
.philosophy-ending img { object-position: 50% center; }
.philosophy-contact { background: var(--paper-2); }

/* === production responsive layout === */
.hero > img {
  object-position: 50% 58%;
  transform: scale(1.055);
}

@media (min-width: 900px) {
  html, body { background: var(--paper); }
  body { padding: 0; }
  .phone-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    box-shadow: none;
    overflow: visible;
  }
  .header {
    min-height: 82px;
    padding: 14px 48px;
  }
  .brand { font-size: 13px; }
  .brand img { width: 42px; height: 42px; }
  .menu-button { display: none; }
  .menu {
    position: static;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    padding: 0;
    background: transparent;
    border: 0;
  }
  .menu a {
    padding: 0;
    border: 0;
    font-size: 14px;
  }
  .menu-login {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px !important;
    border: 1px solid var(--ink) !important;
    border-radius: 999px;
  }
  .hero {
    min-height: calc(100vh - 82px);
    align-items: center;
  }
  .hero > img {
    object-position: 50% 62%;
    transform: scale(1.03);
  }
  .hero-copy {
    width: min(1180px, calc(100% - 96px));
    margin: 0 auto;
    padding: 90px 0 72px;
  }
  h1 { max-width: 820px; font-size: clamp(72px, 7.6vw, 118px); }
  .hero-copy > p:not(.kicker) { max-width: 660px; font-size: 21px; }
  .button { width: auto; min-width: 230px; padding: 0 28px; }
  .chapter,
  .dark-chapter,
  .contact,
  .poetry-section {
    padding-left: max(48px, calc((100vw - 1180px) / 2));
    padding-right: max(48px, calc((100vw - 1180px) / 2));
  }
  .chapter { padding-top: 120px; padding-bottom: 120px; }
  .chapter.compact { padding-top: 100px; padding-bottom: 110px; }
  h2 { max-width: 900px; font-size: clamp(58px, 5.4vw, 86px); }
  .intro h2 { font-size: clamp(72px, 6.4vw, 102px); }
  .large-line { max-width: 820px; font-size: 48px; }
  .body-copy { max-width: 760px; font-size: 19px; }
  .full-image { height: 78vh; min-height: 620px; }
  .image-quote { min-height: 86vh; }
  .image-quote-copy {
    width: min(1180px, calc(100% - 96px));
    margin: 0 auto;
    padding: 90px 0 72px;
  }
  .image-quote-copy h2 { max-width: 900px; font-size: clamp(62px, 6vw, 94px); }
  .list-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
  .process ol { max-width: 920px; }
  .dark-chapter { padding-top: 130px; padding-bottom: 130px; }
  .dark-chapter h2 { max-width: 980px; font-size: clamp(64px, 5.8vw, 92px); }
  .privacy-lines { max-width: 920px; }
  .contact-actions { display: flex; flex-wrap: wrap; }
  footer {
    grid-template-columns: auto 1fr auto auto auto;
    align-items: center;
    gap: 26px;
    padding: 30px 48px;
  }
  .philosophy-hero { min-height: calc(100vh - 82px); }
  .philosophy-hero-copy {
    width: min(1180px, calc(100% - 96px));
    margin: 0 auto;
    padding: 90px 0 72px;
  }
  .poetry-section { padding-top: 120px; padding-bottom: 130px; }
  .poem-card { max-width: 820px; padding: 56px 60px 48px; }
  .poem-title { font-size: 42px; }
  .poem-text { font-size: 24px; line-height: 1.72; }
}

/* === author, contact form and readable mobile typography === */
.author-section {
  padding: 78px 18px;
  background: #e9e2d8;
}
.author-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 38px;
}
.author-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
}
.author-copy h2 { font-size: clamp(40px, 10.8vw, 50px); }
.contact-form { margin-top: 38px; }
.contact-field { margin-top: 24px; }
.contact-field label {
  display: flex;
  font-family: inherit;
  font-weight: 400;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.35;
}
.contact-field label span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}
.contact-field label .required-mark { color: #9c7650; font-size: inherit; }
.contact-field input,
.contact-field textarea {
  width: 100%;
  font-family: inherit;
  border: 1px solid rgba(25,25,24,.24);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 15px 0;
  font: inherit;
  font-size: 17px;
  line-height: 1.5;
  outline: none;
}
.contact-field textarea { min-height: 150px; resize: vertical; }
.contact-field input:focus,
.contact-field textarea:focus { border-color: var(--ink); }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #8b857d; opacity: 1; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-hint { margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.contact-submit { margin-top: 24px; border: 0; cursor: pointer; font: inherit; }
.contact-submit:disabled { opacity: .55; cursor: wait; }
.contact-status { min-height: 25px; margin: 16px 0 0; font-size: 16px; line-height: 1.45; }
.contact-status.success { color: #316b46; }
.contact-status.error { color: #9a3e35; }
.contact-details p { margin: 0 0 4px; color: var(--muted); font-size: 16px; }

@media (max-width: 899px) {
  .brand { font-size: 13px; }
  .menu-button { font-size: 15px; }
  .kicker { font-size: 13px; }
  .hero-copy > p:not(.kicker) { font-size: 18px; line-height: 1.58; }
  .body-copy { font-size: 18px; line-height: 1.65; }
  .large-line { font-size: 34px; line-height: 1.18; }
  .list-blocks p,
  .process li p { font-size: 17px; line-height: 1.62; }
  .list-blocks h3,
  .process h3 { font-size: 25px; }
  .privacy-lines p { font-size: 18px; line-height: 1.55; }
  .privacy-note { font-size: 26px; }
  .button { min-height: 56px; font-size: 17px; }
  footer p,
  .footer-link { font-size: 15px; }
}

@media (min-width: 900px) {
  .author-section {
    display: grid;
    grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 80px;
    padding: 120px max(48px, calc((100vw - 1180px) / 2));
  }
  .author-photo { margin: 0; }
  .author-copy h2 { font-size: clamp(58px, 4.7vw, 78px); }
  .contact-form { max-width: 760px; }
  .contact-field label { font-size: 18px; }
  .contact-field input,
  .contact-field textarea { font-size: 18px; }
  .contact-submit { width: auto; min-width: 230px; }
}

/* === philosophy story v1 === */
.philosophy-story-hero,
.philosophy-story-image {
  position: relative;
  min-height: calc(100svh - 70px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.philosophy-story-hero > img,
.philosophy-story-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.philosophy-story-hero > img { object-position: 52% center; }
.philosophy-story-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,14,28,.05), rgba(5,14,28,.74));
}
.philosophy-story-hero-copy,
.philosophy-story-image-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 54px 18px max(42px, env(safe-area-inset-bottom));
}
.philosophy-story-hero-copy h1 { max-width: 390px; }
.philosophy-story-hero-copy > p:not(.kicker),
.philosophy-story-image-copy > p:not(.kicker) {
  margin: 22px 0 0;
  max-width: 360px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,.86);
}
.philosophy-story-text {
  padding: 84px 18px;
  background: #fff;
}
.philosophy-story-text h2 {
  color: #132b52;
  font-size: clamp(43px, 11vw, 58px);
}
.philosophy-story-lead {
  margin: 28px 0 0;
  max-width: 760px;
  color: #5e7190;
  font-size: 18px;
  line-height: 1.65;
}
.philosophy-story-image { min-height: 76svh; }
.philosophy-story-water > img { object-position: 55% center; }
.philosophy-story-image-copy h2 {
  max-width: 390px;
  font-size: clamp(43px, 11.5vw, 58px);
}
.philosophy-story-bench {
  display: grid;
  gap: 36px;
  padding: 84px 18px;
  background: #fff;
}
.philosophy-story-bench-copy p {
  margin: 0;
  color: #132b52;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 10.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.philosophy-story-bench img {
  width: 100%;
  border-radius: 22px;
}
.philosophy-story-blossom > img { object-position: 56% center; }
.philosophy-story-button {
  margin-top: 28px;
  width: auto;
  min-width: 0;
  padding: 0 22px;
  color: #132b52;
  background: #fff;
}
@media (min-width: 900px) {
  .philosophy-story-hero { min-height: calc(100vh - 82px); }
  .philosophy-story-hero-copy,
  .philosophy-story-image-copy {
    width: min(1180px, calc(100% - 96px));
    margin: 0 auto;
    padding: 90px 0 72px;
  }
  .philosophy-story-hero-copy h1 {
    max-width: 1040px;
    font-size: clamp(72px, 7.2vw, 112px);
  }
  .philosophy-story-hero-copy > p:not(.kicker),
  .philosophy-story-image-copy > p:not(.kicker) {
    max-width: 760px;
    font-size: 21px;
  }
  .philosophy-story-text {
    padding: 120px max(48px, calc((100vw - 1180px) / 2));
  }
  .philosophy-story-text h2 {
    max-width: 1080px;
    font-size: clamp(64px, 5.8vw, 94px);
  }
  .philosophy-story-lead { font-size: 22px; }
  .philosophy-story-image { min-height: 78vh; }
  .philosophy-story-image-copy h2 {
    max-width: 920px;
    font-size: clamp(64px, 6vw, 94px);
  }
  .philosophy-story-bench {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 74px;
    padding: 120px max(48px, calc((100vw - 1180px) / 2));
  }
  .philosophy-story-bench-copy p {
    font-size: clamp(58px, 5.1vw, 82px);
  }
  .philosophy-story-bench img { border-radius: 28px; }
}
/* === /philosophy story v1 === */

/* === unified public footer v2 === */
.public-footer-simple {
  display: block;
  padding: 30px 18px max(32px, env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.public-footer-simple-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.public-footer-simple p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (min-width: 900px) {
  .public-footer-simple {
    padding: 30px 48px;
  }

  .public-footer-simple-row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 26px;
  }
}

@media (max-width: 899px) {
  .public-footer-simple p {
    font-size: 15px;
  }
}

/* === public page connections v1 === */
.public-page-links {
  border-top: 1px solid var(--line);
}

.public-page-link-actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.public-page-link-actions .button-outline {
  background: transparent;
}

@media (min-width: 900px) {
  .public-page-link-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
  }

  .public-page-link-actions .button {
    min-width: 230px;
  }
}
