/* about.css (KW-10C): About page, ported from prototypes/about-v2/about.css. Loads after base.css (shared header, tokens, fonts, footer base).
   Geometry, type and spacing are the approved v2 values; only colours are tokenised so the light theme works. */
:root {
  --a-fg:#F0EEE8; --a-muted:#bdc8c5; --a-line:rgba(188,134,107,.32); --a-line-hover:rgba(188,134,107,.6);
  --a-sage:#8FAE9D; --a-copper:#BC866B; --a-copper-line:#BC866B; --a-copper-wash:rgba(188,134,107,.14); --a-eyebrow:#D09C82;
  --a-card:linear-gradient(135deg,rgba(22,66,76,.5),rgba(9,24,32,.88)); --a-card-glow:inset 0 0 40px rgba(18,70,80,.18);
  --a-sep:rgba(143,174,157,.22); --a-pill:rgba(10,26,34,.6); --a-frame:#0f2230; --a-portrait-glow:rgba(70,200,190,.35);
  --a-display:var(--sans);
  --a-ease:cubic-bezier(.22,1,.36,1); --a-gutter:48px; --a-r:20px;
}
:root[data-theme="light"] {
  --a-fg:#1D2733; --a-muted:#4d5b57; --a-line:rgba(143,91,63,.34); --a-line-hover:rgba(143,91,63,.65);
  --a-sage:#416351; --a-copper:#85523A; --a-copper-line:#8F5B3F; --a-copper-wash:rgba(143,91,63,.1); --a-eyebrow:#85523A;
  --a-card:linear-gradient(135deg,rgba(255,255,255,.55),rgba(231,229,223,.9)); --a-card-glow:none;
  --a-sep:rgba(29,39,51,.14); --a-pill:rgba(255,255,255,.55); --a-frame:#dcded6; --a-portrait-glow:rgba(29,39,51,.16);
}
:root[data-theme="dark"] body.about-page { background:radial-gradient(ellipse 70% 38% at 32% 6%,rgba(24,86,98,.5),transparent 70%),radial-gradient(ellipse 45% 30% at 92% 40%,rgba(22,92,96,.22),transparent 70%),linear-gradient(180deg,#14242f 0,#0b1b24 38%,#091821 100%) #0a1a22; }
body.about-page { overflow-x:hidden; }
.defs { position:absolute; width:0; height:0; overflow:hidden; }
.about .wrap-a { width:min(100% - var(--a-gutter)*2,1400px); margin-inline:auto; }
.about :where(ul,figure) { margin:0; padding:0; list-style:none; }
.about .ico { width:22px; height:22px; fill:none; stroke:var(--a-copper); stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.about .ico.big { width:38px; height:38px; stroke-width:1.5; }
.about .idx { color:var(--a-muted); font-weight:400; }
.about { display:block; font-family:var(--sans); }

/* Hero */
.hero { position:relative; min-height:380px; display:flex; align-items:center; }
.lines { position:absolute; inset:0; background:url("/assets/about/lines.svg") right center/cover no-repeat; pointer-events:none; }
:root[data-theme="light"] .lines { opacity:.75; }
.hero-inner { position:relative; z-index:1; padding-block:44px; }
.about .eyebrow { display:block; font:600 16px/1.4 var(--sans); letter-spacing:.02em; text-transform:uppercase; color:var(--a-eyebrow); margin-bottom:26px; }
.about h1 { font:400 clamp(44px,5.3vw,76px)/1.04 var(--a-display); letter-spacing:-.008em; }
.about h1 em { font-style:italic; color:var(--a-copper); }
.more { display:inline-flex; align-items:center; gap:14px; margin-top:44px; min-height:46px; padding:0 24px 0 18px; border:1px solid var(--a-copper-line); border-radius:999px; font-size:16px; transition:background 220ms var(--a-ease),gap 250ms var(--a-ease); }
.more:hover { background:var(--a-copper-wash); gap:20px; }
.portrait { position:absolute; right:0; top:0; bottom:0; width:min(37vw,540px); filter:drop-shadow(0 0 14px var(--a-portrait-glow)); }
.rim,.frame { position:absolute; clip-path:url(#c-portrait); }
.rim { inset:0; background:linear-gradient(120deg,#46c8be 0%,rgba(143,174,157,.8) 45%,var(--a-copper-line) 100%); }
.frame { inset:2px 0 0 3px; background:var(--a-frame); overflow:hidden; }
/* The mask hides the left of the box, so the image is slightly wider than the frame and left-anchored to move the face toward the visible centre. */
.portrait-img { display:block; width:var(--pw,108%); max-width:none; height:100%; margin-left:var(--pl,15%); object-fit:cover; object-position:0% var(--py,23%); }

/* Cards */
.grid { display:grid; grid-template-columns:repeat(12,1fr); gap:16px 14px; position:relative; z-index:2; }
.card { position:relative; overflow:hidden; border:1px solid var(--a-line); border-radius:var(--a-r); padding:26px 30px; background:var(--a-card); box-shadow:var(--a-card-glow); transition:border-color 250ms var(--a-ease); }
.card:hover { border-color:var(--a-line-hover); }
.c-approach,.c-insp { grid-column:span 6; min-height:170px; }
.c-like { grid-column:span 7; }
.c-now { grid-column:span 5; }
.card-head { display:flex; align-items:center; gap:18px; margin-bottom:22px; }
.about h2 { font:600 clamp(14px,1.1vw,16px)/1.3 var(--sans); letter-spacing:.01em; text-transform:uppercase; color:var(--a-copper); }
.dots { display:flex; flex-wrap:wrap; align-items:center; gap:10px 0; max-width:66%; font-size:18px; }
.dots li { white-space:nowrap; display:flex; align-items:center; transition:color 180ms var(--a-ease); }
.dots li:not(:last-child)::after { content:""; width:6px; height:6px; margin-inline:12px; border-radius:50%; background:var(--a-copper); flex:none; }
.dots li:hover { color:var(--a-sage); }
.panel { position:absolute; right:0; top:0; bottom:0; width:36%; height:100%; clip-path:url(#c-panel); object-fit:cover; object-position:center center; }
.likes { display:flex; align-items:stretch; margin-top:6px; }
.likes li { flex:1; display:flex; flex-direction:column; align-items:center; gap:12px; padding:6px 8px; font-size:18px; border-left:1px solid var(--a-sep); transition:color 180ms var(--a-ease); }
.likes li:first-child { border-left:0; }
.likes li:hover { color:var(--a-sage); }
.likes .ico { width:34px; height:34px; stroke-width:1.5; }
.c-now { display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-rows:auto 1fr; column-gap:16px; padding-bottom:30px; }
.c-now .card-head { grid-column:1/-1; }
.cta { position:relative; z-index:1; align-self:center; white-space:nowrap; display:inline-flex; align-items:center; gap:14px; min-height:52px; padding:0 22px 0 14px; border:1px solid var(--a-copper-line); border-radius:999px; background:var(--a-pill); font:500 19px/1 var(--sans); color:var(--a-copper); transition:background 220ms var(--a-ease),gap 250ms var(--a-ease); }
.cta .mark { width:34px; height:32px; overflow:visible; flex:none; }
:root[data-theme="dark"] .mark > path:first-of-type { stroke:rgba(144,156,168,.6); stroke-width:.9px; vector-effect:non-scaling-stroke; paint-order:stroke fill; stroke-linejoin:round; }
.cta:hover { background:var(--a-copper-wash); gap:20px; }
.cta .arrow { width:24px; height:24px; }
.chart { align-self:end; justify-self:stretch; width:100%; height:118px; margin-right:-30px; margin-bottom:-30px; object-fit:cover; object-position:right bottom; opacity:.95; -webkit-mask-image:linear-gradient(90deg,transparent,#000 40%); mask-image:linear-gradient(90deg,transparent,#000 30%); pointer-events:none; }

.contact { display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; margin-top:30px; padding-block:30px 24px; border-top:1px solid var(--a-line); }
.contact h2 { font-size:clamp(16px,1.3vw,19px); }
.mail-wrap { display:flex; align-items:center; gap:20px; flex-wrap:wrap; justify-content:flex-end; }
.mail { display:inline-flex; align-items:center; gap:18px; min-height:54px; padding:0 34px 0 26px; border:1px solid var(--a-copper-line); border-radius:999px; font:400 20px/1 var(--sans); overflow-wrap:anywhere; }
.status { font-size:14px; letter-spacing:.084em; text-transform:uppercase; color:var(--a-muted); }
.status::before { content:""; display:inline-block; width:7px; height:7px; border-radius:50%; border:1px solid var(--a-copper-line); margin-right:10px; }
.social { flex-basis:100%; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; }
.soc { display:inline-grid; place-items:center; width:44px; height:44px; border:1px solid var(--a-copper-line); border-radius:50%; }
.about .soc .ico { width:21px; height:21px; stroke-width:1.5; stroke:var(--a-fg); }

@media (max-width:1100px) {
  :root { --a-gutter:32px; }
  .c-approach,.c-insp,.c-like,.c-now { grid-column:1/-1; }
  .dots { max-width:62%; }
  .hero { min-height:380px; }
  .portrait { width:46vw; }
  .portrait-img { --py:40%; }
  .c-now { min-height:210px; }
}
@media (max-width:720px) {
  :root { --a-gutter:20px; --a-r:18px; }
  .hero { display:block; min-height:0; }
  .hero-inner { padding-block:36px 0; }
  .about h1 { font-size:46px; max-width:none; } .about .eyebrow { margin-bottom:18px; } .more { margin-top:28px; }
  .portrait { position:relative; width:86%; height:300px; margin:22px 0 0 auto; }
  .lines { background-position:70% 20%; opacity:.8; }
  .grid { margin-top:14px; gap:14px; }
  .card { padding:22px 20px; }
  .card-head { gap:14px; margin-bottom:16px; } .about .ico.big { width:32px; height:32px; }
  .dots { max-width:100%; font-size:18px; padding-bottom:116px; }
  .dots::after { content:""; order:1; flex-basis:100%; height:0; }
  .dots li:nth-child(n+4) { order:2; }
  .dots li:nth-child(3)::after { display:none; }
  .panel { top:auto; width:100%; height:104px; clip-path:none; -webkit-mask-image:linear-gradient(180deg,transparent,#000 55%); mask-image:linear-gradient(180deg,transparent,#000 55%); }
  .likes { display:grid; grid-template-columns:repeat(6,1fr); gap:20px 0; }
  .likes li { grid-column:span 2; border-left:0; }
  .likes li:nth-child(4),.likes li:nth-child(5) { grid-column:span 3; }
  .c-now { display:flex; flex-direction:column; align-items:flex-start; gap:0; padding-bottom:20px; }
  .c-now .card-head { margin-bottom:20px; }
  .cta { font-size:18px; }
  .chart { position:relative; width:calc(100% + 40px); margin:18px -20px -20px; height:110px; }
  .contact { margin-top:22px; padding-block:22px 18px; flex-direction:column; align-items:flex-start; }
  .portrait-img { --py:32%; }
  .social { display:grid; grid-template-columns:repeat(5,44px); justify-content:start; gap:8px 12px; }
  .mail-wrap { justify-content:flex-start; } .mail { font-size:19px; padding:0 22px; }
}
@media (forced-colors:active) { .card,.more,.cta,.mail,.soc { border-color:CanvasText; } .rim { background:Highlight; } }
/* Desktop/tablet: keywords stay on one row; English words are longer, so they get a slightly smaller size. */
@media (min-width:721px) { .dots { max-width:none; } :root[data-lang="en"] .dots { font-size:15px; } :root[data-lang="en"] .dots li:not(:last-child)::after { margin-inline:9px; } }

/* Footer: shared base.css styles; About uses the compact variant without the home call-to-action block. */
.about-foot .footer-top { border-top:0; }
.about-foot .footer-bottom nav { flex-wrap:wrap; }
