/*
 * ashli.css — marigold & ink (warmth-forward)
 * Body text and headlines render in saddle-brown, not black, so the *whole*
 * page reads warm instead of "warm accents on cool slate."
 */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/inter-variable.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/caveat-latin.woff2") format("woff2");
}

:root {
  /* — palette — */
  --paper:        #F8EBC9;   /* warm butter-cream background, saturated */
  --paper-deep:   #EFD9A7;   /* deeper warm cream for cards/sections */
  --paper-blush:  #F2DEB6;   /* alternate section tint */
  --type:         #4A372A;   /* WARM brown — primary body text color */
  --type-deep:    #2E2118;   /* deepest text — headlines */
  --type-soft:    #6E5640;   /* secondary copy */
  --type-mute:    #978068;   /* muted copy / footer */
  --marigold:     #D89548;   /* signature color */
  --marigold-deep:#B47533;
  --terracotta:   #C76E4C;
  --terracotta-deep:#A35536;
  --sage:         #A6B59A;
  --sage-deep:    #6F8268;
  --saddle:       #7A4F2C;
  --line:         rgba(74, 55, 42, 0.13);
  --line-warm:    rgba(122, 79, 44, 0.22);

  /* — type — */
  --sans: "Inter Variable", "Inter", -apple-system, BlinkMacSystemFont,
          "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --script: "Caveat", "Brush Script MT", cursive;

  --measure: 38rem;
  --measure-wide: 64rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --easing: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }

html {
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv01", "cv11";
  font-size: 17px;
  line-height: 1.65;
  color: var(--type);                 /* body type is WARM brown by default */
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ────────── type ────────── */

p { margin: 0 0 1em; color: var(--type); }

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0 0 0.6em;
  color: var(--type-deep);            /* headlines are deepest saddle */
}

h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.0rem);
  letter-spacing: -0.018em;
  line-height: 1.2;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

small, .muted {
  color: var(--type-mute);
  font-size: 0.92rem;
}

a {
  color: var(--type-deep);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 0;
  background-image: linear-gradient(var(--marigold), var(--marigold));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 220ms var(--easing), color 200ms var(--easing);
}
a:hover {
  color: var(--marigold-deep);
  background-size: 100% 2px;
}

hr {
  border: 0;
  border-top: 1px solid var(--line-warm);
  margin: 2.5rem 0;
}

.script {
  font-family: var(--script);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--marigold-deep);
  line-height: 1;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--marigold-deep);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

/* ────────── layout primitives ────────── */

.shell {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.shell-wide { max-width: var(--measure-wide); }

.section { padding: clamp(2.4rem, 6vw, 4.5rem) 0; }
.section-tight { padding: clamp(1.4rem, 3vw, 2.2rem) 0; }

.section--blush { background: var(--paper-blush); }
.section--paper-deep { background: var(--paper-deep); }

/* ────────── header ────────── */

.site-header { padding: 1.4rem 0 0.4rem; }

.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--script);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--marigold-deep);
  line-height: 1;
  letter-spacing: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  background: none;
  background-image: none !important;
  background-size: 0 !important;
}
.wordmark sup {
  font-size: 0.32em;
  vertical-align: super;
  color: var(--saddle);
  font-family: var(--sans);
  font-weight: 500;
  margin-left: 0.05em;
  letter-spacing: 0;
}
.wordmark:hover { color: var(--marigold-deep); }

.brand-rule {
  width: 1.6rem;
  height: 2px;
  background: var(--saddle);
  margin: 0.4rem 0 0;
  border: 0;
}

/* ────────── hero (full-width photo on top, type below) ────────── */

.hero-photo {
  width: 100%;
  height: clamp(38vh, 56vw, 62vh);
  min-height: 22rem;
  background: var(--paper-deep);
  position: relative;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}
.hero-photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 35%;
  background: linear-gradient(180deg,
    rgba(74, 55, 42, 0) 0%,
    rgba(74, 55, 42, 0.18) 60%,
    rgba(74, 55, 42, 0.42) 100%);
  pointer-events: none;
}
.hero-photo .photo-caption {
  position: absolute;
  left: clamp(1rem, 4vw, 2.4rem);
  bottom: clamp(0.7rem, 2vw, 1.2rem);
  font-family: var(--script);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--paper);
  text-shadow: 0 1px 8px rgba(46, 33, 24, 0.5);
  pointer-events: none;
  line-height: 1;
  z-index: 2;
}

.hero-text {
  padding-top: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: clamp(0.5rem, 2vw, 1rem);
}
.hero-text h1 {
  max-width: 18ch;
}
.hero-text h1 .accent-line {
  display: inline-block;
  position: relative;
  white-space: nowrap;
}
.hero-text h1 .accent-line::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.05em;
  height: 0.34em;
  background: var(--marigold);
  opacity: 0.55;
  z-index: -1;
  border-radius: 2px;
  transform: skewX(-7deg);
}
.hero-text .lede {
  font-size: clamp(1.1rem, 1.6vw, 1.22rem);
  color: var(--type);
  line-height: 1.65;
  margin: 1.4rem 0 2rem;
  max-width: 36rem;
}

/* ────────── buttons ────────── */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 160ms var(--easing),
              background 160ms var(--easing),
              border-color 160ms var(--easing),
              box-shadow 200ms var(--easing),
              color 160ms var(--easing);
  text-decoration: none;
  background-image: none !important;
  background-size: 0 !important;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--marigold);
  color: var(--type-deep);
  box-shadow:
    0 1px 0 rgba(46,33,24,0.06),
    0 12px 24px -12px rgba(180, 117, 51, 0.65);
}
.btn--primary:hover {
  background: var(--marigold-deep);
  color: var(--paper);
  box-shadow:
    0 1px 0 rgba(46,33,24,0.06),
    0 16px 30px -12px rgba(180, 117, 51, 0.75);
}

.btn--ghost {
  background: transparent;
  color: var(--type-deep);
  border-color: var(--saddle);
}
.btn--ghost:hover {
  background: rgba(216, 149, 72, 0.10);
  border-color: var(--marigold-deep);
  color: var(--marigold-deep);
}

a.btn { background-image: none !important; background-size: 0 !important; }

/* ────────── capability list (no icons) ────────── */

.cap-list {
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 2.4rem;
}
@media (max-width: 640px) {
  .cap-list { grid-template-columns: 1fr; gap: 0.6rem; }
}

.cap-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1.02rem;
  color: var(--type);
  line-height: 1.55;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  padding-bottom: 0.55rem;
}
.cap-list li:nth-child(-n+2) { border-top: none; padding-top: 0.3rem; }
@media (max-width: 640px) {
  .cap-list li:nth-child(2) { border-top: 1px solid var(--line); padding-top: 0.85rem; }
}
.cap-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--marigold);
}
.cap-list li:nth-child(-n+2)::before { top: 0.6rem; }
@media (max-width: 640px) {
  .cap-list li:nth-child(2)::before { top: 1.2rem; }
}
.cap-list li b { color: var(--type-deep); font-weight: 700; }

/* ────────── trust pane ────────── */

.trust {
  margin: 0;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.4rem);
  background:
    linear-gradient(180deg, var(--terracotta) 0%, var(--terracotta-deep) 100%);
  color: var(--paper);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}
.trust .eyebrow {
  color: var(--paper);
  opacity: 0.85;
  margin-bottom: 0.7rem;
}
.trust h2 { color: var(--paper); margin: 0 0 0.5rem; }
.trust p, .trust li { color: var(--paper); }
.trust .lede {
  color: rgba(248, 235, 201, 0.86);
  margin: 0 0 1.4rem;
  max-width: 36rem;
  font-size: 1.08rem;
  line-height: 1.6;
}
.trust ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}
.trust li {
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.55;
}
.trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--marigold);
  box-shadow: 0 0 0 3px rgba(216, 149, 72, 0.2);
}

/* ────────── about — text + secondary photo, asymmetric ────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-photo {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text .lineage {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--type-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}
.about-text .lineage strong {
  color: var(--type-deep);
  font-weight: 600;
}

/* ────────── closing ────────── */

.closing { padding: clamp(2.5rem, 6vw, 4rem) 0; }

.signoff-card {
  background: var(--paper-deep);
  border: 1px solid var(--line-warm);
  border-radius: 22px;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  position: relative;
  max-width: 44rem;
}
.signoff-card .quote {
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.32;
  color: var(--type-deep);
  margin: 0 0 1.4rem;
  max-width: 36rem;
}
.signoff-card .sig {
  font-family: var(--script);
  font-size: 2.6rem;
  color: var(--marigold-deep);
  line-height: 1;
  margin: 0.6rem 0 0.2rem;
}
.signoff-card .sig-line {
  font-size: 0.9rem;
  color: var(--type-mute);
  letter-spacing: 0.04em;
}
.signoff-card .corner-mono {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2.6rem;
  height: 2.6rem;
  opacity: 0.95;
}

/* ────────── footer ────────── */

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line-warm);
  color: var(--type-mute);
  font-size: 0.92rem;
}
.site-footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
}
.site-footer a { color: var(--type-mute); }
.site-footer a:hover { color: var(--type-deep); }
.site-footer .mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--saddle);
  font-weight: 500;
  font-family: var(--script);
  font-size: 1.2rem;
}

/* ────────── form ────────── */

.form {
  display: grid;
  gap: 1.1rem;
  max-width: 32rem;
  margin: 1.5rem 0;
}
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--type-deep);
}
.field .hint {
  font-size: 0.85rem;
  color: var(--type-mute);
  font-weight: 400;
}
.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 1rem;
  color: var(--type-deep);
  background: var(--paper);
  border: 1px solid var(--line-warm);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 160ms var(--easing),
              box-shadow 160ms var(--easing),
              background 160ms var(--easing);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--marigold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(216, 149, 72, 0.22);
}
.field textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.55;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.form-status {
  font-size: 0.95rem;
  color: var(--type-mute);
  min-height: 1.2em;
}
.form-status.is-error { color: var(--terracotta-deep); }
.form-status.is-ok { color: var(--sage-deep); }

/* ────────── welcome / sandbox ────────── */

.welcome-card {
  background: var(--paper-deep);
  border: 1px solid var(--line-warm);
  border-radius: 22px;
  padding: clamp(1.6rem, 4vw, 2.2rem);
  margin: 1.5rem 0;
  position: relative;
}
.welcome-card .corner-mono {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  opacity: 0.95;
}
.welcome-card .from-ashli {
  font-size: 1.08rem;
  color: var(--type);
  margin: 0 0 0.5rem;
  line-height: 1.55;
  max-width: 32rem;
}
.welcome-card .sig {
  font-family: var(--script);
  font-size: 2rem;
  color: var(--marigold-deep);
  line-height: 1;
  margin: 0.5rem 0 0;
}
.position {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  background: var(--marigold);
  color: var(--type-deep);
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.6rem 0 0.2rem;
}
.position strong { font-weight: 700; }
.sandbox-reply {
  margin-top: 1.2rem;
  padding: 1.2rem 1.3rem;
  background: var(--paper-deep);
  border-left: 4px solid var(--marigold);
  border-radius: 8px;
  white-space: pre-wrap;
  line-height: 1.6;
  color: var(--type);
  font-size: 1.02rem;
}
.sandbox-reply .sig {
  font-family: var(--script);
  font-size: 1.6rem;
  color: var(--marigold-deep);
  display: inline-block;
  margin-top: 0.6rem;
}

/* ────────── policy ────────── */

.policy-section { margin: 2.4rem 0; }
.policy-section h2 { margin-bottom: 0.4rem; color: var(--type-deep); }
.policy-section h2::before {
  content: "";
  display: inline-block;
  width: 1.2rem;
  height: 2px;
  background: var(--marigold);
  vertical-align: middle;
  margin-right: 0.7rem;
  transform: translateY(-3px);
}
.policy-section .summary {
  color: var(--type-soft);
  margin-bottom: 1rem;
  max-width: 32rem;
  font-size: 1.02rem;
  line-height: 1.55;
}
.policy-section dl {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr;
  gap: 0.8rem 1.6rem;
  margin: 0;
  padding: 1.1rem 1.3rem;
  background: var(--paper-deep);
  border-radius: 14px;
  border: 1px solid var(--line-warm);
}
.policy-section dt { font-weight: 600; color: var(--type-deep); }
.policy-section dd { margin: 0; color: var(--type); }
@media (max-width: 540px) {
  .policy-section dl { grid-template-columns: 1fr; gap: 0.2rem 0; }
  .policy-section dt { margin-top: 0.6rem; }
}

/* ────────── coming-soon ────────── */

.coming-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--gutter);
}
.coming-card { text-align: center; max-width: 30rem; }
.coming-card .wordmark { display: inline-block; margin-bottom: 1.2rem; }
.coming-card .mono { width: 4.5rem; height: 4.5rem; margin: 0 auto 0.6rem; display: block; }
.coming-card p {
  color: var(--type-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ────────── /picks page ────────── */

.picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.6rem;
  margin: 2rem 0;
}
.pick {
  background: var(--paper-deep);
  border: 1px solid var(--line-warm);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pick img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.pick .meta { padding: 1rem 1.2rem 1.2rem; }
.pick .meta h3 { margin: 0 0 0.4rem; font-size: 1rem; color: var(--type-deep); }
.pick .meta p { margin: 0 0 0.4rem; font-size: 0.92rem; color: var(--type-soft); line-height: 1.5; }
.pick .meta a { font-size: 0.88rem; }

/* ────────── reduced motion ────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
}
