/*
Theme Name: Cemil LLC
Theme URI: https://cemilllc.com
Author: Cemil LLC
Author URI: https://cemilllc.com
Description: Custom WordPress theme for Cemil LLC — a Delaware holding company building and operating businesses in textile and finance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: Proprietary
Text Domain: cemilllc
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --navy: #0A2342;
  --navy-2: #0d2a52;
  --white: #FFFFFF;
  --orange: #E67E22;
  --orange-700: #cf6f1c;
  --ink: #0A2342;
  --ink-60: rgba(10,35,66,.60);
  --ink-45: rgba(10,35,66,.45);
  --ink-12: rgba(10,35,66,.12);
  --ink-08: rgba(10,35,66,.08);
  --hair: rgba(10,35,66,.10);
  --bg: #FFFFFF;
  --bg-soft: #F6F5F1;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv11";
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ============================================================
   Logo
   ============================================================ */
.logo {
  display: inline-flex; align-items: baseline; gap: 6px;
  line-height: 1; letter-spacing: -0.02em;
  color: currentColor;
}
.logo .mark { font-weight: 700; font-size: 22px; text-transform: lowercase; }
.logo .suffix { font-weight: 400; font-size: 11px; letter-spacing: .04em; opacity: .45; text-transform: uppercase; }

/* ============================================================
   Layout
   ============================================================ */
.wrap {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 720px) { .wrap { padding: 0 24px; } }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  color: var(--white);
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  color: var(--ink);
  border-bottom-color: var(--hair);
}
.nav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  color: var(--ink);
  border-bottom-color: var(--hair);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.nav-links {
  display: flex; align-items: center; gap: 40px;
  font-size: 13.5px; font-weight: 500; letter-spacing: .01em;
}
.nav-links a { position: relative; padding: 6px 0; opacity: .9; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a.is-active { opacity: 1; font-weight: 600; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.is-active::after { transform: scaleX(1); background: var(--orange); }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 8px; color: currentColor;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: currentColor; transition: transform .3s, opacity .3s;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,.97); color: var(--ink);
    flex-direction: column; gap: 0; padding: 16px 0 24px;
    border-bottom: 1px solid var(--hair);
    backdrop-filter: blur(10px);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 48px; width: 100%; }
  .nav-links a::after { display: none; }
  .lang { padding: 12px 48px; }
}

/* Language switcher */
.lang { display: inline-flex; align-items: center; gap: 10px; padding-left: 14px; }
.lang-opt {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 500; letter-spacing: .02em;
  color: currentColor; opacity: .4; transition: opacity .2s ease;
}
.lang-opt:hover { opacity: .75; }
.lang-opt.active { opacity: 1; font-weight: 700; }
.lang-sep { opacity: .25; font-size: 13px; user-select: none; }

/* ============================================================
   Hero (homepage)
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  padding: 160px 0 96px;
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0) 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0) 85%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.7); font-weight: 500;
  margin-bottom: 48px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.hero h1 {
  font-weight: 800;
  font-size: clamp(48px, 8.2vw, 128px);
  line-height: .96;
  letter-spacing: -0.035em;
  margin: 0 0 36px;
  max-width: 14ch;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--orange); font-weight: 800; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0,240px));
  gap: 0; margin-top: 120px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-meta .cell { padding-right: 24px; }
.hero-meta .k { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 500; margin-bottom: 10px; }
.hero-meta .v { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
@media (max-width: 880px) { .hero-meta { grid-template-columns: repeat(2,1fr); row-gap: 28px; } }

/* ============================================================
   Inner page hero
   ============================================================ */
.page-hero {
  position: relative; background: var(--navy); color: #fff;
  padding: 184px 0 96px; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0) 90%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0) 90%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55); font-weight: 500; margin-bottom: 40px;
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .4; }
.breadcrumb .here { color: var(--orange); }
.page-hero .eyebrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); font-weight: 600; margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.page-hero h1 {
  font-weight: 800; font-size: clamp(40px,6.5vw,92px); line-height: .98;
  letter-spacing: -.035em; margin: 0; max-width: 16ch; text-wrap: balance;
}
.page-hero .lead {
  margin: 32px 0 0; max-width: 54ch; font-size: 18px; line-height: 1.6;
  color: rgba(255,255,255,.72);
}

/* ============================================================
   Section scaffold
   ============================================================ */
section { padding: 140px 0; }
.section-sm { padding: 104px 0; }
.section-head {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; margin-bottom: 80px;
}
.section-num {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-45); font-weight: 500; display: flex; align-items: center; gap: 14px;
}
.section-num::before { content: ""; display: block; width: 32px; height: 1px; background: var(--ink-45); }
.section-title {
  font-weight: 700; font-size: clamp(36px,5.2vw,72px); line-height: 1.02;
  letter-spacing: -0.03em; margin: 24px 0 0; max-width: 18ch; text-wrap: balance;
}
.section-lead { align-self: end; font-size: 18px; line-height: 1.55; color: var(--ink-60); max-width: 52ch; }
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-lead { align-self: auto; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 26px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  border-radius: 0; border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-700); }
.btn-primary .arrow { transition: transform .25s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #0c2c57; }

/* Arrow SVG */
.arrow { flex-shrink: 0; }

/* ============================================================
   Sectors (homepage)
   ============================================================ */
.sectors { background: var(--bg-soft); }
.sector-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1px;
  background: var(--ink-12); border-top: 1px solid var(--ink-12); border-bottom: 1px solid var(--ink-12);
}
.sector {
  background: var(--bg-soft); padding: 48px 40px 56px;
  display: flex; flex-direction: column; min-height: 520px; position: relative;
  transition: background-color .3s ease;
}
.sector:hover { background: #fff; }
.sector .index {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-45); font-weight: 500; margin-bottom: auto;
}
.sector .visual {
  width: 100%; aspect-ratio: 4/3; margin: 32px 0 28px;
  background: var(--ink-08); position: relative; overflow: hidden;
}
.sector .visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sector h3 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 12px; line-height: 1.1; }
.sector p { font-size: 15px; line-height: 1.55; color: var(--ink-60); margin: 0 0 24px; max-width: 34ch; }
.sector .more {
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--orange);
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
}
.sector .more .arrow { transition: transform .25s ease; }
.sector:hover .more .arrow { transform: translateX(4px); }
@media (max-width: 880px) {
  .sector-grid { grid-template-columns: 1fr; }
  .sector { min-height: auto; }
}

/* ============================================================
   Our Story (section on homepage)
   ============================================================ */
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.story-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.story-portrait { position: relative; aspect-ratio: 4/5; background: var(--ink-08); overflow: hidden; }
.story-portrait .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.story-portrait .ph .label { font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 11px; letter-spacing: .12em; color: var(--ink-45); text-transform: uppercase; }
.story-portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-copy h2 { font-weight: 700; font-size: clamp(36px,4.6vw,60px); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 32px; max-width: 18ch; text-wrap: balance; }
.story-copy p { font-size: 17px; line-height: 1.65; color: var(--ink); margin: 0 0 22px; max-width: 50ch; }
.story-copy p.muted { color: var(--ink-60); }
.signature {
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 50ch;
}
.signature .who { font-size: 14px; font-weight: 600; }
.signature .role { font-size: 13px; color: var(--ink-60); }
@media (max-width: 980px) { .story .wrap { grid-template-columns: 1fr; gap: 48px; } }

/* ============================================================
   Our Story page: values + CTA
   ============================================================ */
.values-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1px;
  background: var(--ink-12); border-top: 1px solid var(--ink-12); border-bottom: 1px solid var(--ink-12);
}
.value { background: var(--bg-soft); padding: 48px 40px 56px; display: flex; flex-direction: column; min-height: 300px; }
.value .vnum { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-45); font-weight: 500; margin-bottom: auto; }
.value h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 32px 0 12px; line-height: 1.1; }
.value p { font-size: 16px; line-height: 1.6; color: var(--ink-60); margin: 0; max-width: 30ch; }
@media (max-width: 880px) { .values-grid { grid-template-columns: 1fr; } .value { min-height: auto; } }

.story-cta { background: var(--navy); color: #fff; padding: 112px 0; position: relative; overflow: hidden; }
.story-cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 120px 100%;
  mask-image: linear-gradient(to right, rgba(0,0,0,.35), rgba(0,0,0,0) 60%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.35), rgba(0,0,0,0) 60%);
  pointer-events: none;
}
.story-cta .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.story-cta p { font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.72); margin: 0; max-width: 30ch; }

/* ============================================================
   Newsroom (homepage section)
   ============================================================ */
.news { background: var(--bg-soft); }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; }
.article { display: flex; flex-direction: column; }
.article .thumb { aspect-ratio: 4/3; background: var(--ink-08); position: relative; overflow: hidden; margin-bottom: 24px; }
.article .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.article .thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s ease; }
.article:hover .thumb img, .article:hover .thumb svg { transform: scale(1.03); }
.article .meta {
  display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-45); font-weight: 500; margin-bottom: 14px;
}
.article .meta .tag { color: var(--orange); }
.article h4 { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; margin: 0 0 14px; text-wrap: balance; transition: color .2s ease; }
.article:hover h4 { color: var(--orange); }
.article p { font-size: 15px; line-height: 1.55; color: var(--ink-60); margin: 0; }
.news-foot { margin-top: 72px; display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--ink-12); }
.news-foot a { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.news-foot a .arrow { transition: transform .25s ease; }
.news-foot a:hover .arrow { transform: translateX(4px); }
@media (max-width: 880px) { .news-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   Newsroom page: filter bar + read-more
   ============================================================ */
.filter-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-bottom: 32px; margin-bottom: 56px; border-bottom: 1px solid var(--ink-12);
}
.filter-bar button {
  background: none; border: 0; cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-45); padding: 8px 16px; border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}
.filter-bar button:hover { color: var(--ink); }
.filter-bar button.active { color: #fff; background: var(--navy); }
.filter-bar .count { margin-left: auto; font-size: 12px; letter-spacing: .04em; color: var(--ink-45); text-transform: none; font-weight: 500; }
.article .read-more {
  margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--orange);
  display: inline-flex; align-items: center; gap: 8px;
}
.article .read-more .arrow { transition: transform .25s ease; }
.article:hover .read-more .arrow { transform: translateX(4px); }
.article.hide { display: none; }
.news-page-foot {
  margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--ink-12);
  font-size: 14px; color: var(--ink-60);
}
.news-page-foot a { color: var(--ink); text-transform: none; border-bottom: 1px solid rgba(10,35,66,.2); padding-bottom: 1px; transition: color .2s,border-color .2s; }
.news-page-foot a:hover { color: var(--orange); border-color: var(--orange); }

/* ============================================================
   Connect (newsletter — navy band)
   ============================================================ */
.connect { background: var(--navy); color: #fff; padding: 128px 0; position: relative; overflow: hidden; }
.connect::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 120px 100%;
  mask-image: linear-gradient(to right, rgba(0,0,0,.35), rgba(0,0,0,0) 60%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.35), rgba(0,0,0,0) 60%);
  pointer-events: none;
}
.connect .wrap { position: relative; z-index: 1; }
.connect-col {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 640px; margin: 0 auto;
}
.connect-col h2 {
  font-weight: 700; font-size: clamp(28px,3.2vw,40px); line-height: 1.08;
  letter-spacing: -.03em; margin: 0 0 16px; max-width: 18ch; text-wrap: balance;
}
.connect-col p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.7); margin: 0 0 36px; max-width: 46ch; }

/* Newsletter form */
.news-signup { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 480px; align-items: center; }
.news-signup .row { display: flex; gap: 0; border-bottom: 1.5px solid rgba(255,255,255,.28); transition: border-color .2s; width: 100%; }
.news-signup .row:focus-within { border-bottom-color: var(--orange); }
.news-signup input {
  flex: 1; font-family: inherit; font-size: 16px; color: #fff;
  background: transparent; border: 0; outline: none; padding: 16px 2px;
}
.news-signup input::placeholder { color: rgba(255,255,255,.45); }
.news-signup button {
  background: none; border: 0; cursor: pointer; color: #fff;
  display: inline-flex; align-items: center; gap: 10px; padding: 0 4px 0 20px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
.news-signup button .arrow { transition: transform .25s ease; }
.news-signup button:hover .arrow { transform: translateX(4px); }
.news-signup .consent { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; text-align: center; }
.news-signup .consent a { color: rgba(255,255,255,.7); text-decoration: underline; }
.news-signup.done .row, .news-signup.done .consent { display: none; }
.news-signup .ok { display: none; font-size: 15px; color: #fff; padding: 16px 0; }
.news-signup.done .ok { display: block; }

/* ============================================================
   Footer
   ============================================================ */
footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 48px 0 40px; border-top: 1px solid rgba(255,255,255,.08); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-grid .col h5 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: rgba(255,255,255,.45); margin: 0 0 18px; }
.foot-grid .col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid .col a { font-size: 14px; color: rgba(255,255,255,.8); transition: color .2s ease; }
.foot-grid .col a:hover { color: #fff; }
.foot-brand .logo { color: #fff; margin-bottom: 18px; }
.foot-brand p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.55); max-width: 36ch; margin: 0; }
.foot-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.45); gap: 24px; flex-wrap: wrap; }
.foot-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-bottom .legal a { color: rgba(255,255,255,.45); transition: color .2s; }
.foot-bottom .legal a:hover { color: rgba(255,255,255,.8); }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Forms
   ============================================================ */
.form { display: flex; flex-direction: column; gap: 26px; }
.form-body { display: flex; flex-direction: column; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-60);
}
.field .req { color: var(--orange); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 0; border-bottom: 1.5px solid var(--ink-12);
  padding: 14px 2px; border-radius: 0; outline: none; width: 100%;
  transition: border-color .2s ease;
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-45); }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--orange); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 680px) { .form-row { grid-template-columns: 1fr; } }
.form-actions { display: flex; align-items: center; gap: 20px; margin-top: 8px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--ink-45); line-height: 1.5; }
.form-note a { color: var(--ink); }
.form-success {
  display: none; padding: 20px 22px; background: rgba(230,126,34,.10);
  border-left: 3px solid var(--orange); font-size: 15px; color: var(--ink);
}
.form-error {
  display: none; padding: 20px 22px; background: rgba(220,38,38,.07);
  border-left: 3px solid #dc2626; font-size: 15px; color: var(--ink);
}
.form.sent .form-success { display: block; }
.form.sent .form-body { display: none; }
.form.error .form-error { display: block; }

/* Dark form variant */
.form-dark .field input, .form-dark .field textarea, .form-dark .field select {
  background: transparent; color: #fff; border-bottom-color: rgba(255,255,255,.22);
}
.form-dark .field label { color: rgba(255,255,255,.6); }
.form-dark .field input::placeholder, .form-dark .field textarea::placeholder { color: rgba(255,255,255,.4); }
.form-dark .field input:focus, .form-dark .field textarea:focus { border-bottom-color: var(--orange); }

/* ============================================================
   Contact page layout
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 96px; align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }
.info-block { margin-bottom: 44px; }
.info-block:last-child { margin-bottom: 0; }
.info-block h3 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-45); font-weight: 600; margin: 0 0 18px; }
.info-office { padding: 20px 0; border-top: 1px solid var(--hair); }
.info-office:last-child { border-bottom: 1px solid var(--hair); }
.info-office .city { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 4px; }
.info-office .addr { font-size: 15px; color: var(--ink-60); line-height: 1.5; margin: 0; }
.info-email a { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); transition: color .2s; }
.info-email a:hover { color: var(--orange); }

/* ============================================================
   Sector page components
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-copy h2 { font-weight: 700; font-size: clamp(32px,4.2vw,54px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 28px; max-width: 16ch; text-wrap: balance; }
.split-copy p { font-size: 17px; line-height: 1.65; color: var(--ink-60); margin: 0 0 20px; max-width: 52ch; }
.split-copy p strong { color: var(--ink); font-weight: 600; }
.split-media { aspect-ratio: 5/4; background: var(--ink-08); position: relative; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.split-media .ph-label { position: absolute; left: 20px; bottom: 18px; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 11px; letter-spacing: .1em; color: var(--ink-45); text-transform: uppercase; }
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.rev .split-media { order: 0; }
}

/* Spec table */
.spec { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--ink-12); border: 1px solid var(--ink-12); }
.spec .row { background: var(--bg); padding: 22px 28px; display: flex; justify-content: space-between; gap: 24px; align-items: baseline; }
.spec .row .label { font-size: 14px; color: var(--ink-60); }
.spec .row .val { font-size: 15px; font-weight: 600; text-align: right; }
@media (max-width: 680px) { .spec { grid-template-columns: 1fr; } }

/* Finance tools */
.tools-empty {
  border: 1px solid var(--ink-12); background: var(--bg);
  padding: 72px 40px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.tools-empty .te-icon { font-size: 40px; line-height: 1; }
.tools-empty p { font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin: 0; }
.tools-empty p a { color: var(--orange); border-bottom: 1px solid rgba(230,126,34,.4); padding-bottom: 1px; transition: border-color .2s; }
.tools-empty p a:hover { border-color: var(--orange); }

/* ============================================================
   Single article
   ============================================================ */
.article-body {
  max-width: 720px; margin: 0 auto;
  font-size: 18px; line-height: 1.75; color: var(--ink);
}
.article-body h2, .article-body h3 { font-weight: 700; letter-spacing: -.02em; margin: 48px 0 20px; }
.article-body h2 { font-size: clamp(26px,3.4vw,38px); }
.article-body h3 { font-size: clamp(22px,2.6vw,28px); }
.article-body p { margin: 0 0 26px; }
.article-body img { width: 100%; height: auto; margin: 40px 0; }
.article-body a { color: var(--orange); text-decoration: underline; }
.article-body blockquote {
  margin: 40px 0; padding: 28px 36px; background: var(--bg-soft);
  border-left: 3px solid var(--orange); font-style: italic;
}
.article-back { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-45); margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--ink-12); transition: color .2s; }
.article-back:hover { color: var(--ink); }
.article-back svg { transform: rotate(180deg); transition: transform .25s ease; }
.article-back:hover svg { transform: rotate(180deg) translateX(4px); }

/* ============================================================
   Legal page
   ============================================================ */
.legal-body {
  max-width: 800px;
  font-size: 17px; line-height: 1.7; color: var(--ink);
}
.legal-body h2 { font-size: clamp(22px,2.8vw,30px); font-weight: 700; letter-spacing: -.02em; margin: 48px 0 16px; }
.legal-body h3 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.legal-body p { margin: 0 0 22px; }
.legal-body ul, .legal-body ol { margin: 0 0 22px; padding-left: 24px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--orange); text-decoration: underline; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
