/* ===========================================================================
   Transformer Consultancy — Option E
   Content sits in large rounded cards on a tinted ground. The header is a
   flat full-bleed bar rather than a floating pill, so it reads as structure
   rather than as another card.
   =========================================================================== */

:root{
  --page:#17151A;          /* tinted ground behind the cards */
  --card:#211E24;
  --tint:#2B272F;          /* boxes inside a white card */
  --ink:#F3F0EE;
  --muted:#B5AEB2;
  --muted-2:#A39BA0;
  --line:#38323C;
  --accent:#EF6E56;        /* bright red — text accents, rules, icons */
  --accent-deep:#AE3A25;   /* deep red — hero block and buttons, carries white text */
  --dark:#110F13;          /* the dark feature block */
  --danger:#FF9A85;
  --sans:"Archivo","Helvetica Neue",Arial,sans-serif;
  --serif:"Newsreader",Georgia,"Times New Roman",serif;
  --r:22px;
  --gut:clamp(.75rem,1.6vw,1.15rem);
  --pad:clamp(1.6rem,4vw,3.25rem);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--page);color:var(--ink);
  font-family:var(--serif);font-size:1.0625rem;line-height:1.68;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,.sans{font-family:var(--sans)}
p{margin:0 0 1.05em;max-width:66ch}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:var(--accent)}
a:hover{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
img{max-width:100%}
.shell{max-width:1240px;margin:0 auto;padding:0 var(--gut) var(--gut)}

/* ---------------------------------------------------------------- header -- */
/* Flat, full-bleed, square. Deliberately not a floating rounded bar. */
.site-head{position:sticky;top:0;z-index:40;background:#1C1A1F;
  border-bottom:3px solid var(--accent)}
.head-in{max-width:1240px;margin:0 auto;padding:.85rem clamp(1rem,2.4vw,1.9rem);
  display:flex;align-items:center;gap:1.5rem}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;margin-right:auto}
.brand svg{width:32px;height:32px;flex:none}
.brand-name{font-family:var(--sans);font-weight:650;font-size:1rem;letter-spacing:-.015em;line-height:1.1;display:block}
.brand-sub{font-family:var(--sans);font-weight:500;font-size:.62rem;letter-spacing:.12em;
  color:var(--accent);line-height:1.1;display:block;margin-top:3px}
.nav{display:flex;gap:1.4rem;font-family:var(--sans);font-size:.87rem;font-weight:500}
.nav a{text-decoration:none;color:var(--muted)}
.nav a:hover,.nav a.is-current{color:var(--ink)}
.nav a.is-current{text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:7px;text-decoration-thickness:2px}
.head-cta{font-family:var(--sans);font-size:.85rem;font-weight:600;text-decoration:none;
  background:var(--accent-deep);color:#FFFFFF;padding:.55rem 1.1rem;border-radius:4px}
.head-cta:hover{background:#962F1D;color:#FFFFFF}
@media(max-width:900px){.nav{display:none}}

/* ----------------------------------------------------------------- cards -- */
.card{background:var(--card);border-radius:var(--r);padding:var(--pad);margin-top:var(--gut)}
.card-accent{background:var(--accent-deep);color:#FFFFFF}
.card-dark{background:var(--dark);color:var(--ink);border:1px solid var(--line)}
.card-dark h2,.card-dark h3{color:var(--ink)}
.card-accent h1,.card-accent h2{color:#FFFFFF}
.card-dark p{color:var(--muted)}
.card-dark a{color:var(--ink)}
.card-accent a{color:#FFFFFF}

/* ------------------------------------------------------------------ hero -- */
.hero{text-align:center;padding-top:clamp(3rem,7vw,5.5rem);padding-bottom:clamp(3rem,7vw,5.5rem)}
.hero h1{font-size:clamp(1.95rem,4.4vw,3.15rem);font-weight:700;letter-spacing:-.028em;
  line-height:1.08;margin:0 auto 1.15rem;max-width:20ch;text-transform:uppercase}
.hero p{color:#FFE1D9;max-width:64ch;margin:0 auto 2rem;font-size:clamp(1rem,1.5vw,1.14rem)}
.hero-btn{display:inline-block;font-family:var(--sans);font-size:.95rem;font-weight:600;
  background:#17151A;color:#F3F0EE;text-decoration:none;padding:.8rem 2rem;border-radius:4px}
.hero-btn:hover{background:#2A2A30;color:#F2F0EC}
.creds{display:flex;flex-wrap:wrap;justify-content:center;margin:2.2rem 0 0;padding:0;list-style:none;
  font-family:var(--sans);font-size:.76rem;font-weight:600;letter-spacing:.08em;color:#EEDCD0}
.creds li{padding:0 .9rem;border-left:1px solid rgba(255,255,255,.28)}
.creds li:first-child{border-left:0}

/* -------------------------------------------------------------- headings -- */
h2{font-size:clamp(1.6rem,3.1vw,2.3rem);font-weight:700;letter-spacing:-.024em;line-height:1.12;margin:0 0 .85rem}
.sec-lede{color:var(--muted);max-width:62ch;margin:0 0 2.2rem}
.card-dark .sec-lede{color:var(--muted)}

/* --------------------------------------------------------------- feature -- */
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:1rem;margin-top:.5rem}
.feature{background:var(--tint);border-radius:12px;padding:1.4rem 1.35rem}
.feature svg{width:22px;height:22px;stroke:var(--accent);fill:none;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round;display:block;margin-bottom:1.5rem}
.feature h3{font-family:var(--sans);font-size:.79rem;font-weight:700;letter-spacing:.03em;
  text-transform:uppercase;line-height:1.35;margin:0 0 .5rem}
.feature p{font-size:.92rem;color:var(--muted);margin:0}
.card-dark .feature{background:rgba(255,255,255,.07)}
.card-dark .feature svg{stroke:var(--accent)}
.card-dark .feature p{color:var(--muted)}

/* ------------------------------------------------------------------ pair -- */
.pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:clamp(1.5rem,4vw,3rem)}

/* --------------------------------------------------------------- figures -- */
.figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:0 1.8rem;
  list-style:none;margin:2.4rem 0 0;padding:0;font-family:var(--sans);font-size:.82rem;
  line-height:1.45;color:var(--muted-2)}
.figures li{padding:1rem 0 0;border-top:2px solid var(--accent)}
.fig{display:block;font-size:1.5rem;font-weight:700;letter-spacing:-.025em;color:var(--ink);margin-bottom:.28rem}

/* ----------------------------------------------------------------- roles -- */
.role{display:grid;grid-template-columns:9rem minmax(0,1fr);gap:0 2.4rem;padding:1.9rem 0;border-top:1px solid var(--line)}
.role:last-of-type{border-bottom:1px solid var(--line)}
.role-years{font-family:var(--sans);font-size:.83rem;font-weight:700;color:var(--accent);
  letter-spacing:.02em;text-transform:uppercase;padding-top:.4rem}
.role-years span{display:block;color:var(--muted-2);font-weight:500;text-transform:none;margin-top:.2rem}
.role h3{font-size:1.24rem;font-weight:700;letter-spacing:-.018em;margin:0 0 .1rem}
.role-org{font-family:var(--sans);font-size:.85rem;color:var(--muted-2);margin:0 0 .85rem}
.role ul{margin:0;padding-left:1.05rem;max-width:66ch}
.role li{margin-bottom:.5rem;color:var(--muted)}
.role li::marker{color:var(--accent)}
@media(max-width:640px){.role{grid-template-columns:1fr;gap:.5rem}.role-years{padding-top:0}.role-years span{display:inline;margin-left:.5rem}}

/* -------------------------------------------------------------- coaching -- */
.offer{list-style:none;margin:0;padding:0}
.offer li{padding:1.1rem 0;border-top:1px solid rgba(255,255,255,.18)}
.offer li:last-child{border-bottom:1px solid rgba(255,255,255,.18)}
.offer h3{font-family:var(--sans);font-size:.79rem;font-weight:700;letter-spacing:.03em;
  text-transform:uppercase;margin:0 0 .3rem}
.offer p{margin:0;font-size:.94rem}

/* ---------------------------------------------------------------- pofile -- */
.about-top{margin-bottom:.4rem}
.portrait{width:132px;aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:var(--tint);flex:none}
.portrait img{width:100%;height:100%;object-fit:cover;display:block}


/* ------------------------------------------------------------------ form -- */
.contact-cols{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:clamp(1.5rem,4vw,3rem);align-items:start}
@media(max-width:860px){.contact-cols{grid-template-columns:1fr}}
.form{max-width:34rem}
.field{margin-bottom:1.05rem}
.field label{display:block;font-family:var(--sans);font-size:.78rem;font-weight:700;
  letter-spacing:.04em;text-transform:uppercase;margin-bottom:.38rem}
.field .opt{font-weight:400;text-transform:none;letter-spacing:0;color:var(--muted-2)}
.field input,.field select,.field textarea{width:100%;font-family:var(--sans);font-size:.93rem;
  color:var(--ink);padding:.68rem .8rem;background:var(--tint);border:1px solid var(--line);
  border-radius:8px;appearance:none}
.field select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B5AEB2' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .8rem center;background-size:11px;padding-right:2.2rem}
.field textarea{min-height:8.5rem;resize:vertical;line-height:1.55}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent);outline:none}
.field-2{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}
@media(max-width:560px){.field-2{grid-template-columns:1fr}}
.consent{display:flex;gap:.65rem;align-items:flex-start;margin:1.25rem 0 1.35rem;
  font-family:var(--sans);font-size:.81rem;color:var(--muted);line-height:1.5}
.consent input{width:1.05rem;height:1.05rem;margin:.15rem 0 0;flex:none;accent-color:var(--accent)}
.consent label{max-width:44ch}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form button{font-family:var(--sans);font-size:.92rem;font-weight:600;padding:.78rem 1.7rem;
  background:var(--accent-deep);color:#FFFFFF;border:0;border-radius:4px;cursor:pointer}
.form button:hover{background:#962F1D}
.form button[disabled]{opacity:.5;cursor:progress}
.form-note{font-family:var(--sans);font-size:.81rem;color:var(--muted-2);margin:1rem 0 0;max-width:44ch}
.form-msg{font-family:var(--sans);font-size:.89rem;line-height:1.5;margin:1.05rem 0 0;padding:.85rem 1rem;
  border-left:3px solid var(--accent);background:var(--tint);display:none}
.form-msg.is-shown{display:block}
.form-msg.is-error{border-left-color:var(--danger);color:#FFD9CF;background:var(--tint)}

.facts{margin:0;font-family:var(--sans);font-size:.9rem;background:var(--tint);
  border-radius:12px;padding:1.5rem}
.facts dt{font-weight:700;font-size:.76rem;letter-spacing:.04em;text-transform:uppercase;margin-top:1.15rem}
.facts dt:first-child{margin-top:0}
.facts dd{margin:.25rem 0 0;color:var(--muted)}

/* ---------------------------------------------------------------- footer -- */
.site-foot{max-width:1240px;margin:0 auto;padding:1.6rem clamp(1rem,2.4vw,1.9rem) 2.2rem;
  font-family:var(--sans);font-size:.81rem;color:var(--muted-2);
  display:flex;flex-wrap:wrap;gap:.9rem;justify-content:space-between;align-items:center}

/* ------------------------------------------------------------- text page -- */
.textpage{max-width:78ch}
.textpage h1{font-size:clamp(1.85rem,4vw,2.45rem);font-weight:700;letter-spacing:-.028em;margin:0 0 .5rem}
.textpage h2{font-size:1.1rem;margin-top:2.1rem}
.textpage .lede{font-family:var(--sans);font-size:.85rem;color:var(--muted-2);margin-bottom:2.1rem}
.textpage p{color:var(--muted)}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ---------- anchor offset ----------
   The sticky header sits over the top of the page, so a jump to #skills would
   otherwise land the heading behind it. This reserves that height on every
   anchor target. */
section[id],[id].role,[id].tl-item{scroll-margin-top:calc(70px + 1.25rem)}

/* ---------- certification logos (hero) ----------
   Every logo was trimmed and fitted onto an identical canvas, so the tiles
   match exactly regardless of each logo's native shape. */
.cert-logos{display:flex;flex-wrap:wrap;gap:.6rem;list-style:none;margin:2.3rem 0 0;padding:0}
.cert-logos li{width:168px;height:64px;background:#fff;border:1px solid rgba(255,255,255,.12);
  border-radius:8px;overflow:hidden;flex:none}
.cert-logos img{width:100%;height:100%;object-fit:contain;display:block}
@media(max-width:420px){.cert-logos li{width:calc(50% - .3rem);height:auto;aspect-ratio:168/64}}

/* ---------- partner logo inside a skills box ---------- */
.logo-chip{display:inline-block;background:#fff;border-radius:6px;padding:3px 6px;
  margin:.15rem 0 .85rem;line-height:0;border:1px solid rgba(0,0,0,.06)}
.logo-chip img{height:44px;width:auto;display:block}
.hero .cert-logos{justify-content:center;margin-top:.4rem}

/* ---------- logo box: animated GIF ----------
   worked-with-logos.gif cycles twelve logos, three seconds each. Shown on a white
   chip so the logos keep their true colours on every palette. */
.logo-gif{height:72px;background:#fff;border-radius:8px;border:1px solid rgba(0,0,0,.06);
  margin:.1rem 0 .9rem;overflow:hidden}
.logo-gif img{width:100%;height:100%;object-fit:contain;display:block}

/* ---------- first screen ----------
   The first screen is the window height minus the header. The hero keeps 80% of it and
   is centred, with 10% of space above and 10% below. Its bottom margin collapses with the
   next card's top margin, so the About card begins exactly at the bottom edge of the
   window: nothing of it shows on the opening screen, on any screen height. */
.hero{min-height:calc((100vh - 68px) * .8);min-height:calc((100lvh - 68px) * .8);
  margin-top:calc((100vh - 68px) * .1);margin-top:calc((100lvh - 68px) * .1);
  margin-bottom:calc((100vh - 68px) * .1);margin-bottom:calc((100lvh - 68px) * .1);
  display:flex;flex-direction:column;justify-content:center;align-items:center}

/* ---------- About: photo beside the paragraphs ---------- */
.about-body{display:grid;grid-template-columns:132px minmax(0,1fr) minmax(0,1fr);
  gap:clamp(1.5rem,3vw,2.6rem);align-items:start}
@media(max-width:960px){
  .about-body{grid-template-columns:1fr}
}

/* ---------- attachment field ---------- */
.field input[type=file]{padding:.5rem .6rem;cursor:pointer;font-size:.86rem}
.field input[type=file]::file-selector-button{font-family:var(--sans);font-size:.8rem;font-weight:600;
  border:0;border-radius:4px;padding:.45rem .9rem;margin-right:.85rem;cursor:pointer;
  background:var(--line);color:var(--ink, var(--text))}
.field-hint{font-family:var(--sans);font-size:.78rem;color:var(--muted-2);margin:.35rem 0 0;max-width:none}
