/* Peachline: recipe R4 Cream Ledger, shifted to peach/terracotta. Warm, letter-like. */

:root {
  --cream: #F8F4F1;
  --cream-2: #F1E9E3;      /* "your week now" column, notice bar */
  --peach: #F8E5D9;        /* "with us" column, apply section */
  --paper: #FFFDFB;        /* the letter */
  --ink: #2E1F1A;          /* 14:1 on cream */
  --ink-2: #4A3A33;
  --muted: #6E5F58;        /* 5.4:1 on cream */
  --line: #E6D6CC;
  --accent: #B04A28;       /* terracotta: 5.0:1 on cream, white text on it 5.4:1 */
  --accent-press: #973D20;
  --accent-soft: #E9A07F;  /* decorative only (line peach) */
  --leaf: #4E7559;         /* sage, 4.8:1 on cream */

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 20px;
  --gutter: clamp(16px, 5vw, 32px);
  --max: 1200px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-variation-settings: 'SOFT' 100; font-weight: 650; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

.label { font: 700 13px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--accent); color: #fff;
  font: 700 16px/1 var(--body); text-decoration: none;
  cursor: pointer; user-select: none; touch-action: manipulation;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.btn:active { transform: scale(.97); background: var(--accent-press); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.link-arrow {
  display: inline-flex; align-items: center; min-height: 44px; gap: 8px;
  font-weight: 700; color: var(--ink); text-decoration: none; touch-action: manipulation;
}
.link-arrow span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link-arrow::after { content: '→'; color: var(--accent); transition: transform 160ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-press); }
  .link-arrow:hover::after { transform: translateX(3px); }
  .nav a:hover { text-decoration-color: var(--accent); }
  .foot a:hover { color: var(--accent); }
}

/* Notice bar */
.notice { background: var(--ink); color: #F6EDE7; font-size: 14px; line-height: 1.5; }
.notice__row { padding-top: 10px; padding-bottom: 10px; }
.notice b { color: #fff; }
.notice a { color: #F4B89C; font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.hide-sm { display: none; }
.label .hide-sm { display: inline; }
@media (max-width: 480px) { .label .hide-sm { display: none; } }
@media (min-width: 760px) { .hide-sm { display: inline; } .notice__row { text-align: center; } }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 650 24px/1 var(--display); font-variation-settings: 'SOFT' 100; letter-spacing: -.02em; color: var(--ink); }
.mark__peach { width: 30px; height: 30px; color: var(--accent); }
.top__end { display: flex; align-items: center; gap: 8px; }
.top__menu {
  min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--ink); font: 700 15px/1 var(--body); cursor: pointer;
  touch-action: manipulation; user-select: none; transition: transform 160ms var(--ease-out);
}
.top__menu:active { transform: scale(.97); }

.nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: flex; flex-direction: column;
  padding: 8px var(--gutter) 20px;
  background: var(--cream); border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px -18px rgba(46, 31, 26, .25);
  opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
}
.top.is-open .nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.nav a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 22px/1.2 var(--display); font-variation-settings: 'SOFT' 100; }
.nav a:last-child { border-bottom: 0; }

@media (min-width: 1024px) {
  .top__row { min-height: 76px; }
  .top__menu { display: none; }
  .nav {
    position: static; flex-direction: row; gap: 30px; padding: 0; margin-left: auto; margin-right: 12px;
    background: none; border: 0; box-shadow: none; opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  }
  .nav a { padding: 8px 0; border: 0; font: 600 15px/1 var(--body); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-decoration-color 160ms var(--ease-out); }
}

/* Hero */
.hero { padding: 48px 0 64px; }
.hero__grid { display: grid; gap: 40px; }
.hero h1 { margin-top: 16px; font-size: clamp(2.5rem, 10.5vw, 4.6rem); line-height: 1.04; max-width: 15ch; }
.hero__sub { margin-top: 20px; max-width: 34em; font-size: 18px; color: var(--ink-2); }
.hero__cta { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; }
.hero__cta .link-arrow { align-self: flex-start; }
.chips { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.3; color: var(--ink-2);
}
.chips b { color: var(--accent); font-weight: 800; }
.hero__art { display: none; }

@media (min-width: 640px) {
  .hero__cta { flex-direction: row; align-items: center; gap: 24px; }
  .hero__cta .link-arrow { align-self: auto; }
}
@media (min-width: 1024px) {
  .hero { padding: 80px 0 104px; }
  .hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 48px; }
  .hero__art { display: block; }
  .hero__peach {
    width: 100%; max-width: 400px; margin-left: auto;
    fill: none; stroke: var(--accent-soft); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  }
  .hero__peach path:nth-child(3) { stroke: var(--leaf); opacity: .7; }
  .hero__peach path:nth-child(4) { stroke: var(--leaf); opacity: .7; }
}
@media (min-width: 1440px) { .hero h1 { font-size: 5rem; } }

/* One entrance on load, nothing on scroll */
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.enter { animation: enter 600ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }

/* Section heads */
section { scroll-margin-top: 76px; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2 { margin-top: 12px; font-size: clamp(2rem, 8vw, 3.2rem); }
.section-head > p:last-child:not(.label) { margin-top: 16px; color: var(--ink-2); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Before / after */
.week { padding: 64px 0; border-top: 1px solid var(--line); }
.compare { display: grid; gap: 16px; }
.compare__col { border-radius: var(--radius); padding: 24px 22px 10px; }
.compare__col--now { background: var(--cream-2); }
.compare__col--us { background: var(--peach); }
.compare h3 { font-size: 24px; padding-bottom: 14px; border-bottom: 1px solid rgba(46, 31, 26, .14); }
.compare__col--us h3 { color: var(--accent); }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { position: relative; padding: 14px 0 14px 26px; border-bottom: 1px solid rgba(46, 31, 26, .1); }
.compare li:last-child { border-bottom: 0; }
.compare li::before { position: absolute; left: 2px; top: 14px; font-weight: 800; }
.compare__col--now li { color: var(--ink-2); }
.compare__col--now li::before { content: '–'; color: var(--muted); }
.compare__col--us li::before { content: '✓'; color: var(--leaf); }

@media (min-width: 760px) {
  .compare { grid-template-columns: 1fr 1fr; grid-template-rows: auto repeat(6, auto); gap: 0 20px; }
  .compare__col { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; padding: 28px 30px 12px; }
  .compare ul { display: contents; }
}
@media (min-width: 1024px) {
  .week { padding: 104px 0; }
  .week .section-head { margin-bottom: 48px; }
  .compare { gap: 0 28px; }
  .compare__col { padding: 32px 40px 14px; }
  .compare li { font-size: 18px; padding-top: 18px; padding-bottom: 18px; }
  .compare li::before { top: 18px; }
}

/* Letter */
.letter { padding: 64px 0 72px; background: var(--cream-2); }
.sheet {
  position: relative; max-width: 720px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  padding: 36px 22px 40px;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(46, 31, 26, .35);
  font-family: var(--display); font-variation-settings: 'SOFT' 100, 'opsz' 14; font-weight: 400;
  font-size: 18.5px; line-height: 1.72; color: var(--ink);
}
.sheet p + p { margin-top: 1.05em; }
.sheet__dear { font-size: 1.2em; font-weight: 600; }
.sheet__sign { margin-top: 1.6em !important; }
.sheet__sign span { font-weight: 600; color: var(--accent); }
.sheet__stamp { position: absolute; right: 20px; top: 22px; width: 40px; height: 40px; color: var(--accent); transform: rotate(10deg); opacity: .9; }
@media (min-width: 760px) {
  .sheet { padding: 64px 72px 68px; font-size: 19.5px; }
  .sheet__stamp { right: 40px; top: 40px; width: 54px; height: 54px; }
}
@media (min-width: 1024px) { .letter { padding: 104px 0 112px; } .letter .section-head { margin-bottom: 48px; } }

/* Services: two-column list */
.services { padding: 64px 0; }
.svc { margin: 0; display: grid; border-top: 2px solid var(--ink); }
.svc > div { padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.svc dt { font: 650 22px/1.2 var(--display); font-variation-settings: 'SOFT' 100; letter-spacing: -.01em; }
.svc dd { margin: 8px 0 0; color: var(--ink-2); max-width: 36em; }
@media (min-width: 760px) {
  .svc { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}
@media (min-width: 1024px) {
  .services { padding: 104px 0; }
  .svc { column-gap: 80px; }
  .svc > div { padding: 28px 0 30px; }
  .svc dt { font-size: 26px; }
}

/* FAQ, always open */
.faq { padding: 64px 0; border-top: 1px solid var(--line); }
.qa { display: grid; gap: 0; }
.qa > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.qa > div:first-child { padding-top: 0; }
.qa h3 { font-size: 21px; letter-spacing: -.01em; }
.qa p { margin-top: 8px; color: var(--ink-2); }
@media (min-width: 760px) {
  .qa { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .qa > div:nth-child(2) { padding-top: 0; }
}
@media (min-width: 1024px) {
  .faq { padding: 104px 0; }
  .qa { column-gap: 80px; }
  .qa > div { padding: 28px 0; }
}

/* Apply */
.apply { padding: 64px 0 72px; background: var(--peach); }
.apply__grid { display: grid; gap: 32px; }
.apply__intro h2 { margin-top: 12px; font-size: clamp(2rem, 8vw, 3.2rem); }
.apply__intro > p:not(.label) { margin-top: 14px; color: var(--ink-2); }
.next { list-style: none; counter-reset: n; margin: 28px 0 0; padding: 0; }
.next li { counter-increment: n; position: relative; padding: 0 0 18px 44px; color: var(--ink-2); }
.next li::before {
  content: counter(n); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--accent);
  display: grid; place-items: center; font: 600 15px/1 var(--display); color: var(--accent);
}
.next b { color: var(--ink); }
.apply__wa { margin-top: 8px; }

.form { background: var(--paper); border-radius: var(--radius); padding: 24px 20px; border: 1px solid var(--line); }
.form__grid { display: grid; gap: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 15px; }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid #D9C6BA; border-radius: 12px; background: #fff; color: var(--ink);
  font: 400 16px/1.4 var(--body);
  transition: border-color 160ms var(--ease-out);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232E1F1A' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176, 74, 40, .15); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field input::placeholder { color: #9A8A82; }
.tel { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }

.checks { display: grid; gap: 10px; margin-top: 20px; }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; cursor: pointer; font-size: 15.5px; line-height: 1.45; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.check.is-invalid span { color: #B3261E; }
.check a { color: var(--accent); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form__error { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #FBE9E6; color: #8C1D16; font-weight: 600; font-size: 15px; }
.form__submit { margin-top: 20px; display: grid; gap: 12px; }
.form__submit .btn { width: 100%; }
.form__submit p { font-size: 14px; color: var(--muted); }
.form__done { text-align: center; padding: 32px 8px; outline: none; }
.form__done svg { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--accent); }
.form__done h3 { font-size: 28px; }
.form__done p { margin-top: 10px; color: var(--ink-2); }
.form.is-sent > :not(.form__done) { display: none; }
.form.is-sent .form__done { animation: enter 400ms var(--ease-out) both; }

@media (min-width: 640px) {
  .form { padding: 32px; }
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
  .form__submit { grid-template-columns: auto 1fr; align-items: center; gap: 20px; }
  .form__submit .btn { width: auto; }
}
@media (min-width: 1024px) {
  .apply { padding: 104px 0 112px; }
  .apply__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .apply__intro { position: sticky; top: 108px; }
  .form { padding: 40px; }
}
@media (min-width: 1440px) { .apply__grid { gap: 96px; } }

/* Footer */
.foot { padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); background: var(--ink); color: #E9DDD6; }
.foot .mark { color: #fff; }
.foot .mark__peach { color: #E9845F; }
.foot__top { display: grid; gap: 36px; }
.foot__brand p { margin-top: 12px; color: #CDBDB4; max-width: 28em; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.foot__cols > div:first-child { grid-column: 1 / -1; }
.foot__cols h2 { font: 700 12px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #B9A79D; margin-bottom: 8px; }
.foot__cols a { display: block; padding: 6px 0; text-decoration: none; overflow-wrap: anywhere; transition: color 160ms var(--ease-out); }
.foot__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; line-height: 1.6; color: #B9A79D; max-width: 72em; }
@media (min-width: 760px) { .foot__cols { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 64px; } .foot__cols > div:first-child { grid-column: auto; } }
@media (min-width: 1024px) {
  .foot { padding-top: 80px; }
  .foot__top { grid-template-columns: 1fr auto; align-items: start; }
}

/* Legal pages + 404 */
.legal { padding: 48px 0 80px; }
.legal__body { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); }
.legal h2 { margin: 36px 0 10px; font-size: 24px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--accent); }
.updated { margin-top: 10px; font-size: 14px; color: var(--muted) !important; }
.lost { min-height: 100svh; display: grid; place-content: center; justify-items: start; gap: 20px; padding: 40px var(--gutter); max-width: 640px; margin: 0 auto; }
.lost svg { width: 56px; height: 56px; color: var(--accent); }
.lost h1 { font-size: clamp(2.4rem, 9vw, 4rem); }
.lost p { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @keyframes enter { from { opacity: 0; } to { opacity: 1; } }
  .nav { transform: none !important; }
  .link-arrow::after { transition: none; }
}
