/* Kasie LaFleur — editorial luxe.
   Fashion-magazine energy: high-contrast Didone serif with italic attitude,
   noir + ivory + a whisper of champagne, generous negative space, quiet motion.
   Monochrome brand DNA (KL Acting Studio) — elevated. No build step. */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --noir: #121110;
  --ivory: #f6f1e8;
  --ivory-2: #efe8db;
  --champ: #a9855a;      /* muted champagne gold */
  --champ-lt: #c6a878;
  --muted: #857e72;
  --line: rgba(18,17,16,.14);
  --maxw: 1180px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--noir);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(3rem, 7.5vw, 6rem); line-height: 1.0; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; }
h3 { font-size: 1.45rem; line-height: 1.15; }
h1 em, h2 em, .serif-em { font-style: italic; font-weight: 500; color: var(--champ); }
p { margin: 0 0 1.1rem; }
a { color: inherit; }
strong { font-weight: 600; }
:focus-visible { outline: 1px solid var(--champ); outline-offset: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }

/* ---- Eyebrow / label ---- */
.eyebrow, .kicker { font-family: var(--sans); text-transform: uppercase; letter-spacing: .34em; font-size: .68rem; font-weight: 500; color: var(--champ); margin: 0 0 22px; }

/* ---- Header ---- */
.site-header { background: var(--ivory); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 20px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--noir); text-decoration: none; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: .01em; }
.brand::before { content: ""; width: 26px; height: 26px; background: url("logos/klas-icon-black.svg") center/contain no-repeat; flex: none; }
.brand span { font-style: italic; color: var(--champ); }
.nav { display: flex; gap: 26px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--noir); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 3px; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--champ); border-bottom-color: var(--champ); }

/* ---- Buttons ---- */
.btn { display: inline-block; font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; padding: 15px 34px; text-decoration: none; border: 1px solid var(--noir); transition: background .35s, color .35s, border-color .35s; }
.btn-primary { background: var(--noir); color: var(--ivory); }
.btn-primary:hover { background: transparent; color: var(--noir); }
.btn-ghost { background: transparent; color: var(--noir); }
.btn-ghost:hover { background: var(--noir); color: var(--ivory); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin: 2.2rem 0 0; align-items: center; }

/* ---- Hero (noir, editorial) ---- */
.hero { background: var(--noir); color: var(--ivory); padding: 120px 0 100px; position: relative; overflow: hidden; }
.hero .eyebrow { color: var(--champ-lt); }
.hero::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 380px; height: 380px; background: url("logos/klas-icon-white.svg") center/contain no-repeat; opacity: .06; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; margin-bottom: .35em; }
.hero .lede { font-family: var(--sans); font-weight: 300; font-size: 1.15rem; line-height: 1.7; max-width: 44ch; color: #e7e0d3; }
.hero .lede strong { color: #fff; font-weight: 500; }

/* ---- Sections ---- */
section { padding: 0; }
.section-pad { padding: 92px 0; }
.section-pad--ivory2 { background: var(--ivory-2); }
.section-pad--noir { background: var(--noir); color: var(--ivory); }
.rule { width: 54px; height: 1px; background: var(--champ); margin: 0 0 28px; }
.lead-line { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 400; line-height: 1.32; max-width: 24ch; }
.lead-line strong { font-style: italic; font-weight: 500; color: var(--champ); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.section-head .kicker { margin: 0; }

/* ---- Editorial index (divisions) ---- */
.index-list { border-top: 1px solid var(--line); margin-top: 34px; }
.index-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 26px; align-items: center; padding: 30px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--noir); transition: padding .35s, background .35s; }
.index-item:hover { padding-left: 22px; padding-right: 0; background: linear-gradient(90deg, rgba(169,133,90,.08), transparent 60%); }
.index-num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--champ); }
.index-body h3 { margin: 0 0 4px; }
.index-body p { margin: 0; font-size: .95rem; color: var(--muted); max-width: 60ch; }
.index-body .status { display: inline-block; font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--champ); margin-bottom: 8px; }
.index-arrow { font-family: var(--serif); font-size: 1.6rem; color: var(--noir); transition: transform .35s, color .35s; }
.index-item:hover .index-arrow { transform: translateX(10px); color: var(--champ); }

/* ---- Cards (used on division pages) ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 1.6rem 0; }
.card { background: var(--ivory); padding: 30px 26px; transition: background .3s; }
.card:hover { background: var(--ivory-2); }
.card h3 { font-size: 1.2rem; }
.card p { font-size: .93rem; color: var(--muted); margin: 0; }
.card .status { display: inline-block; font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--champ); margin-bottom: 10px; }
.card a.more { font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--champ); }
.card a.more:hover { color: var(--noir); }

/* ---- Timeline ---- */
.timeline { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; }
.timeline th, .timeline td { text-align: left; padding: 14px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.timeline th { font-family: var(--sans); font-size: .64rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); font-weight: 600; }
.timeline td:first-child { font-family: var(--serif); font-style: italic; color: var(--champ); white-space: nowrap; }
.tag { font-family: var(--sans); font-size: .6rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 3px 10px; border: 1px solid var(--line); white-space: nowrap; color: var(--muted); }

/* ---- Pull quote ---- */
blockquote { font-family: var(--serif); font-size: clamp(1.8rem, 4.2vw, 3rem); font-style: italic; font-weight: 400; line-height: 1.24; letter-spacing: -.01em; border: 0; margin: 0; padding: 0; max-width: 20ch; }
blockquote .by { display: block; font-family: var(--sans); font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--champ); margin-top: 22px; }
.section-pad--noir blockquote .by { color: var(--champ-lt); }

/* Long-form content column */
.col { max-width: 680px; }
.col h2 { margin-top: 2.6rem; }
.col h3 { font-size: 1.15rem; margin-top: 1.8rem; }
.col p { color: #38342d; }

/* ---- Footer ---- */
.site-footer { background: var(--noir); color: #b7b0a4; padding: 68px 0 44px; font-size: .88rem; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--champ-lt); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer h4 { font-family: var(--serif); color:#fff; font-size: 1.3rem; font-weight: 500; margin: 0 0 14px; }
.site-footer h4 span { font-style: italic; color: var(--champ); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 9px 0; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.fineprint { color: #7d766b; margin-top: 34px; font-size: .72rem; letter-spacing: .04em; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 14px; top: 14px; background:#fff; color:#000; padding: 8px 14px; z-index: 30; }

/* ---- Quiet motion ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; transition:none; } }

@media (max-width: 720px){
  .site-footer .cols { grid-template-columns: 1fr; }
  .index-item { grid-template-columns: 40px 1fr; }
  .index-arrow { display: none; }
  .hero { padding: 84px 0 64px; }
}

/* ---- Hero with portrait (split) ---- */
.hero-split { padding: 0; }
.hero-split::after { display: none; }
.hero-split .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: stretch; max-width: none; padding: 0; }
.hero-copy { padding: 110px 40px 100px max(30px, calc((100vw - var(--maxw)) / 2 + 30px)); align-self: center; }
.hero-portrait { position: relative; background: var(--ivory-2); }
.hero-figure { margin: 0; width: 100%; height: 100%; overflow: hidden; }
.hero-figure img { display: block; width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: center 28%; filter: grayscale(1) contrast(1.02); }
@media (max-width: 860px){
  .hero-split .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 70px 30px 44px; }
  .hero-figure img { min-height: 360px; object-position: center 12%; }
}

/* ---- About portrait ---- */
.about-portrait { float: right; width: 320px; max-width: 44%; margin: 6px 0 26px 36px; background: var(--ivory-2); }
.about-portrait img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.02); }
@media (max-width: 640px){ .about-portrait { float: none; width: 100%; max-width: 100%; margin: 0 0 22px; } }

/* ---- KLAS appraisal logo on appraisal pages ---- */
.appr-logo { height: 72px; width: auto; display: block; margin: 0 0 24px; }
@media (max-width: 640px){ .appr-logo { height: 58px; } }
