/* Advisiva — company homepage · site.v1.css
   From Faruk's reference files (originals/site-20261019: index.html, en/index.html, ADVISIVA_ANASAYFA_TASARIM.md),
   with every inline style moved here and the section 3 tokens as variables; the look is meant to be the same.
   No script, no third-party request: Archivo is served from /_site/fonts/ (the cover's subset files, plus
   archivo-ext.woff2 for the circumflex letters, e.g. "zekâ"; same Archivo 2.001, SIL OFL, OFL.txt). */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+2013-2026, U+2190-2192;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-tr.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+011E-011F, U+0130, U+015E-015F;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+00C2, U+00CE, U+00DB, U+00E2, U+00EE, U+00FB;
}

:root {
  --ink: #142438;
  --paper: #FFFFFF;
  --ecg-base: #FDEDEC;
  --ecg-major: #EFAEA9;
  --ecg-minor: #F8D3D0;
  --tag: #EAD7AE;
  --tag-edge: #C9AE78;
  --red-mark: #E32636;
  --red: #C81E2D;
  --red-hover: #B3172A;
  --yellow: #F2B705;
  --green: #17773F;
  --ink-soft: #D5DAE1;
}

body { margin: 0; background: var(--paper); }
a { color: var(--ink); }
a:hover { color: var(--red-hover); }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 10; }

.page { font-family: "Archivo", system-ui, sans-serif; color: var(--ink); background: var(--paper); }
.wrap { max-width: 1280px; margin: 0 auto; }

/* 1. warning band */
.band { background: var(--ink); color: var(--paper); font-size: 13px; line-height: 20px; padding: 8px 24px; text-align: center; }

/* 2. header */
.head { background: var(--paper); border-bottom: 2px solid var(--ink); }
.head .wrap { padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand-name { font-size: 21px; font-weight: 800; font-stretch: 125%; letter-spacing: -0.01em; }
.menu { display: flex; flex-wrap: wrap; gap: 4px 28px; flex-grow: 1; font-size: 16px; font-weight: 600; }
.menu a { text-decoration: none; padding: 10px 0; display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; }
.langs { display: flex; gap: 2px; font-size: 15px; font-weight: 700; }
.langs a { font-weight: 700; padding: 9px 12px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink); text-decoration: none; }
.langs a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* 3. hero: ECG paper */
.hero { position: relative; overflow: hidden; background-color: var(--ecg-base);
  background-image: linear-gradient(var(--ecg-major) 1px, transparent 1px), linear-gradient(90deg, var(--ecg-major) 1px, transparent 1px),
    linear-gradient(var(--ecg-minor) 1px, transparent 1px), linear-gradient(90deg, var(--ecg-minor) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px; border-bottom: 2px solid var(--ink); }
.hero .wrap { position: relative; z-index: 1; padding: clamp(56px, 8vw, 112px) 24px clamp(150px, 16vw, 230px);
  display: flex; flex-direction: column; gap: 28px; }
.hero h1 { margin: 0; max-width: 15ch; font-size: clamp(44px, 8.4vw, 124px); line-height: 0.94; font-weight: 900; font-stretch: 125%; letter-spacing: -0.035em; }
.lede { margin: 0; max-width: 56ch; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; font-weight: 450; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { text-decoration: none; color: var(--paper); font-size: 17px; font-weight: 700; padding: 16px 24px; min-height: 52px; box-sizing: border-box;
  display: inline-flex; align-items: center; }
.btn:hover { color: var(--paper); }
.btn-ink { background: var(--ink); box-shadow: 4px 4px 0 var(--red); }
.btn-red { background: var(--red); box-shadow: 4px 4px 0 var(--ink); }
.hero-ecg { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: clamp(120px, 14vw, 220px); }
.trace { stroke-dasharray: 3200; stroke-dashoffset: 3200; animation: draw 2.6s cubic-bezier(.4, 0, .2, 1) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* 3a. EM-IDEA line and Faruk Danış in the hero (Faruk, TEK BELGE 11 Nov 2026 A9 / 3D, msg 103): modest, paper boxes on
   the ECG grid, only the tokens; no logo, no title before the name. */
.event, .person { max-width: 62ch; background: var(--paper); box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; }
.event { border-left: 6px solid var(--red); padding: 14px 20px 15px; }
.event p, .person p { margin: 0; }
.event-kicker { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--red); letter-spacing: 0.02em; }
.event-title { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.3; font-weight: 750; font-stretch: 108%; }
.event-sub { font-size: 16px; line-height: 1.45; }
.event-note { font-size: 14px; line-height: 1.45; }
.person { border: 2px solid var(--ink); padding: 14px 20px 15px; }
.person-text { font-size: 16px; line-height: 1.5; }
.person-name { font-weight: 800; font-stretch: 108%; }
.person-note { font-size: 13px; line-height: 1.45; }
/* 3b. "Deneyin" / "Try it" in the EM-IDEA box (Faruk msg 627, 19 Nov 2026): the hero's red button, to the visit page. */
.event-try { align-self: flex-start; margin-top: 8px; font-size: 18px; font-weight: 800; font-stretch: 112%; gap: 10px; }
.event-try::after { content: "\2192"; content: "\2192" / ""; font-weight: 700; }

/* 4. products: two hanging tags */
.products { background: var(--paper); }
.products .wrap { padding: 72px 24px 96px; display: flex; flex-direction: column; gap: 8px; }
.h2 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; font-weight: 850; font-stretch: 112%; letter-spacing: -0.02em; }
.products .h2 { margin: 0 0 8px; }
.rail { height: 3px; background: var(--ink); margin-top: 18px; }
.cards { display: flex; flex-wrap: wrap; gap: 40px 56px; padding: 0 clamp(0px, 3vw, 40px); }
.card { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.string { width: 2px; height: 56px; background: var(--ink); }
.string-long { height: 88px; }
.tag { display: block; text-decoration: none; color: var(--ink); transform: rotate(var(--r, 0deg)); transform-origin: 50% 0;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  width: 100%; max-width: 520px; background: var(--tag); clip-path: polygon(14% 0, 86% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
  box-shadow: inset 0 0 0 2px var(--tag-edge); }
a.tag:hover, a.tag:focus-visible { transform: rotate(0deg) translateY(-4px); color: var(--ink); }
.tag-cm { --r: -2.2deg; }
.tag-triavo { --r: 1.8deg; }
.hole-row { display: flex; justify-content: center; padding-top: 18px; }
.hole { width: 22px; height: 22px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 5px var(--tag-edge); }
.tag-body { padding: 26px 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.tag-triavo .tag-body { padding-bottom: 24px; }
.kicker { margin: 0; font-size: 15px; font-weight: 600; }
.tag h3 { margin: 0; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; font-weight: 900; font-stretch: 118%; letter-spacing: -0.025em; }
.tag-text { margin: 0; font-size: 17px; line-height: 1.55; }
.tag-more { margin: 6px 0 0; font-size: 15px; line-height: 1.6; }
.tag-foot { background: var(--ink); color: var(--paper); padding: 18px 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.tag-cta { font-size: 18px; font-weight: 800; font-stretch: 112%; }
.tag-note { margin: 0; padding: 12px 32px 16px; font-size: 13px; line-height: 1.5; }
.strip { height: 40px; border-top: 2px dashed var(--tag); display: flex; align-items: center; gap: 10px; padding: 0 32px;
  color: var(--paper); font-size: 14px; font-weight: 700; }
.strip-black { background: var(--ink); }
.strip-red { background: var(--red); }
.strip-yellow { background: var(--yellow); color: var(--ink); }
.strip-green { background: var(--green); }
.tag-end { padding: 16px 32px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* 5. approach */
.approach { background: var(--paper); border-top: 2px solid var(--ink); }
.approach .wrap { padding: 72px 24px 88px; display: flex; flex-wrap: wrap; gap: 40px 64px; }
.approach .h2 { flex: 1 1 300px; max-width: 11ch; }
.points { flex: 2 1 560px; min-width: 0; display: flex; flex-wrap: wrap; gap: 32px 40px; }
.point { flex: 1 1 240px; min-width: 0; border-top: 6px solid var(--ink); padding-top: 18px; }
.point-red { border-top-color: var(--red); }
.point-yellow { border-top-color: var(--yellow); }
.point h3 { margin: 0 0 8px; font-size: 21px; font-weight: 800; font-stretch: 108%; }
.point p { margin: 0; font-size: 16px; line-height: 1.6; }

/* 6. contact */
.contact { background: var(--ink); color: var(--paper); }
.contact .wrap { padding: 80px 24px 88px; display: flex; flex-direction: column; gap: 18px; }
.contact h2 { margin: 0; font-size: 18px; font-weight: 600; color: var(--ink-soft); }
.mail { color: var(--paper); font-size: clamp(22px, 6.4vw, 96px); line-height: 1; font-weight: 900; font-stretch: 125%; letter-spacing: -0.03em;
  text-decoration-thickness: 4px; text-underline-offset: 10px; overflow-wrap: break-word; }
.mail:hover { color: var(--paper); }
.contact a:focus-visible { outline-color: var(--paper); }

/* 7. footer */
.foot { background: var(--paper); border-top: 2px solid var(--ink); }
.foot .wrap { padding: 28px 24px; display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; font-size: 14px; }
.legal { display: flex; flex-wrap: wrap; gap: 0 24px; }
.legal a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }  /* touch targets >= 44 px (TASARIM section 5) */

@media (prefers-reduced-motion: reduce) {
  .trace { animation: none; stroke-dashoffset: 0; }
  .tag, a.tag:hover { transition: none; transform: none; }
}
