/* ===== IRIA — base tokens ===== */
:root {
  --navy: #0b1d33;
  --navy-2: #12304f;
  --navy-deep: #071526;
  --gold: #c8a96b;
  --gold-soft: #ead9b5;
  --ink: #172536;
  --muted: #5f6e80;
  --line: #e1e6ec;
  --paper: #f5f7f9;
  --white: #ffffff;
  --green: #3f7a63;
  --amber: #a26b12;
  --max: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { margin: 0; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }

/* Placeholder highlighting: makes missing client content obvious during review */
.ph { background: #fff4d6; color: #7a5a14; border-bottom: 1px dashed #c8a96b; padding: 0 4px; font-style: italic; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; font-weight: 600; font-size: .92rem; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; line-height: 1.1; }
.brand-text { display: flex; flex-direction: column; }
.brand-logo { flex: none; width: 38px; height: 38px; }
.brand-mark { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: .08em; color: var(--navy); }
.brand-tag { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: .9rem; font-weight: 500; color: #3c4a5b; }
.nav-links a:hover { color: #9a7a3e; }
.nav-links a.active:not(.nav-cta) { color: #9a7a3e; }
@media (min-width: 701px) {
  .nav-links a.active:not(.nav-cta) { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
}
.nav-links .nav-cta { background: var(--navy); color: var(--white); padding: 10px 18px; }
.nav-links .nav-cta:hover { background: var(--navy-2); color: var(--gold-soft); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-2) 100%); }
.hero::after { content: ""; position: absolute; right: -160px; top: -160px; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(200,169,107,.2); box-shadow: 0 0 0 70px rgba(200,169,107,.035), 0 0 0 140px rgba(200,169,107,.02); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding: 110px 0 120px; max-width: 780px; margin-left: max(20px, calc((100% - var(--max)) / 2)); }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.04; letter-spacing: -.02em; display: flex; flex-wrap: wrap; gap: 0 .3em; margin-bottom: 26px; }
.hero-title .accent { color: var(--gold); }
.hero-copy { font-size: 1.08rem; color: #ccd6e2; max-width: 580px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art { position: absolute; right: 0; bottom: 0; width: min(46%, 600px); height: 100%; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.hero-art svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hero-bars rect { transform-box: fill-box; transform-origin: 50% 100%; animation: bar-grow .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.5s + var(--i) * .07s); }
.hero-line { stroke-dasharray: 1; animation: line-draw 2.2s cubic-bezier(.4,0,.2,1) .6s both; }
.hero-area { animation: fade-in 1.2s ease 1.8s both; }
.hero-dot { animation: fade-in .5s ease 2.7s both; }
.hero-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out 3s infinite; opacity: 0; }
@keyframes bar-grow { from { transform: scaleY(0); } }
@keyframes line-draw { from { stroke-dashoffset: 1; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes pulse { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin: 0; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.12; letter-spacing: -.015em; color: var(--navy); margin-bottom: 16px; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.about-grid p { color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--ink) !important; }
.lead strong { color: var(--navy); }
.founder-card { background: var(--navy); color: var(--white); padding: 34px; display: flex; gap: 22px; align-items: flex-start; position: relative; }
.founder-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 4px; background: var(--gold); }
.founder-avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.founder-role { margin: 0; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.founder-name { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; margin: 4px 0 6px; }
.founder-cred { margin: 0 0 12px; font-size: .88rem; color: var(--gold-soft) !important; }
.founder-bio { margin: 0; font-size: .9rem; color: #c3cedb !important; }
.founder-card .ph { background: rgba(255,244,214,.12); color: #f0dcae; }

/* ===== Services ===== */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card { background: var(--white); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-3px); border-color: #cdb27a; box-shadow: 0 14px 30px rgba(11,29,51,.06); }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.service-num { font-family: var(--serif); font-size: 1.7rem; color: #b08c4d; }
.service-icon { width: 30px; height: 30px; margin-bottom: 14px; fill: none; stroke: #b08c4d; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-card.is-pending .service-icon { stroke: #aeb8c4; }
.service-card.is-pending h3 { color: #3b4b60; }
.service-card h3 { font-size: 1.18rem; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.service-link { margin-top: auto; padding-top: 20px; font-weight: 600; font-size: .88rem; color: #8d6d34; transition: transform .2s, color .2s; }
.service-link:hover { color: var(--navy); transform: translateX(4px); }
.badge { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.badge-live { background: #e5f2ec; color: var(--green); }
.badge-soon { background: #fbf0dc; color: var(--amber); }
.service-card.is-pending { background: #fbfcfd; }
.reg-note { margin-top: auto !important; padding-top: 20px; font-size: .8rem !important; font-style: italic; color: var(--amber) !important; }

/* ===== IRIA steps ===== */
.iria-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: linear-gradient(90deg, var(--gold), rgba(200,169,107,.25)) top / 100% 2px no-repeat; }
.iria-steps li { padding: 34px 26px 10px 0; position: relative; }
.iria-steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--white); }
.iria-steps li + li::before { left: -5px; }
.iria-steps li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.iria-letter { font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--navy); display: block; margin-bottom: 14px; }
.iria-letter.accent { color: var(--gold); }
.iria-steps h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; }
.iria-steps p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ===== Contact ===== */
.contact { background: var(--navy); color: var(--white); }
.contact .section-title { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-intro { color: #c3cedb; margin: 0 0 30px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; font-size: .95rem; color: #dbe3ec; }
.contact-list li > span:first-child { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.contact .ph { background: rgba(255,244,214,.12); color: #f0dcae; }

.contact-form { background: var(--white); color: var(--ink); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .8rem; font-weight: 600; color: #34445a; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid #d5dde6; background: #fbfcfd; color: var(--ink); border-radius: 0; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #b08c4d; box-shadow: 0 0 0 3px rgba(200,169,107,.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0453a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-size: .88rem; min-height: 1.3em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #c0453a; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-deep); color: #a9b6c6; padding: 44px 0 30px; }
.site-footer .brand-mark { color: var(--white); font-size: 1.4rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-tag { margin: 4px 0 0; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: flex; gap: 24px; font-size: .85rem; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-legal { padding-top: 22px; font-size: .78rem; color: #8695a8; }
.footer-legal p { margin: 0 0 10px; max-width: 860px; }
.footer-legal strong { color: #b8c4d2; }
.footer-legal .ph { background: rgba(255,244,214,.08); color: #d8c495; }
.copy { margin-top: 16px !important; }

/* ===== Motion ===== */
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.site-header { transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(11,29,51,.08); }

@keyframes rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
.hero-inner > .eyebrow, .hero-copy, .hero-actions { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-title span { display: inline-block; animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-inner > .eyebrow { animation-delay: .05s; }
.hero-title span:nth-child(1) { animation-delay: .15s; }
.hero-title span:nth-child(2) { animation-delay: .27s; }
.hero-title span:nth-child(3) { animation-delay: .39s; }
.hero-title span:nth-child(4) { animation-delay: .51s; }
.hero-copy { animation-delay: .65s; }
.hero-actions { animation-delay: .78s; }

.reveal { opacity: 0; translate: 0 28px; transition: opacity .7s ease, translate .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-inner > .eyebrow, .hero-copy, .hero-actions, .hero-title span { animation: none; }
  .hero-art * { animation: none !important; }
  .hero-pulse { display: none; }
  .reveal { opacity: 1; translate: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-art { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .iria-steps { grid-template-columns: repeat(2, 1fr); }
  .iria-steps li::before { display: none; }
  .iria-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .iria-steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 32px); }
  .menu-btn { display: block; }
  .nav { height: 66px; }
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid #eef1f4; }
  .nav-links .nav-cta { margin-top: 12px; text-align: center; border: 0; }
  .brand-tag { display: none; }
  .hero-inner { padding: 76px 0 84px; margin-left: 16px; margin-right: 16px; }
  .section { padding: 68px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 26px; }
  .iria-steps { grid-template-columns: 1fr; }
  .iria-steps li, .iria-steps li + li { padding: 26px 0 18px; border-left: 0; }
  .iria-steps li + li { border-top: 1px solid var(--line); }
  .iria-letter { font-size: 3.2rem; }
  .founder-card { flex-direction: column; padding: 28px; }
  .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
