/*
Theme Name: A2 Advisory
Theme URI: https://a2-advisory.com
Author: A2 Advisory
Description: Bespoke bilingual presentation theme for A² Advisory.
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: a2-advisory
*/

:root {
  --a2-bg: #080d10;
  --a2-bg-soft: #11191d;
  --a2-panel: #1f272c;
  --a2-teal: #0b4f54;
  --a2-teal-bright: #1aa3ab;
  --a2-copper: #a97443;
  --a2-silver: #bfc4c8;
  --a2-white: #f6f8f9;
  --a2-muted: #9da8ad;
  --a2-line: rgba(191, 196, 200, .16);
  --a2-max: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--a2-white);
  background:
    radial-gradient(circle at 82% 10%, rgba(11,79,84,.18), transparent 28rem),
    var(--a2-bg);
  font-family: Inter, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.a2-container { width: 100%; max-width: none; margin-inline: auto; padding-inline: clamp(22px, 4vw, 72px); }
.a2-skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; padding: 10px 16px; background: #fff; color: #000; }
.a2-skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--a2-line);
  background: rgba(8, 13, 16, .88);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 3vw, 48px); }
.brand { display: flex; align-items: center; gap: 13px; min-width: max-content; }
.brand-image-wrap { position: relative; display: block; width: clamp(340px, 29vw, 460px); aspect-ratio: 1815 / 455; overflow: visible; flex: none; }
.brand-image { position: static; width: 100%; max-width: 100%; height: auto; }
.footer-brand-image { width: min(440px, 100%); margin-left: 0; }
.brand-mark { position: relative; width: 49px; height: 56px; flex: none; }
.brand-a {
  position: absolute; left: 11px; top: -4px; z-index: 4;
  font: 700 42px/1 Raleway, Arial, sans-serif;
  color: transparent;
  background: linear-gradient(145deg, #fff 10%, #636b70 46%, #f2f4f5 72%, #70777a);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 3px 3px #000);
}
.brand-two { position: absolute; top: 1px; right: 0; z-index: 5; color: #d38a51; font: 700 15px/1 Raleway, sans-serif; }
.layer { position: absolute; width: 27px; height: 10px; left: 11px; transform: skewY(-20deg) rotate(-1deg); border: 1px solid; }
.layer.one { top: 33px; z-index: 3; background: #07545c; border-color: #27a5ac; }
.layer.two { top: 40px; z-index: 2; background: #7b4629; border-color: #cf8a51; }
.layer.three { top: 47px; z-index: 1; background: #aeb5b9; border-color: #fff; }
.brand-copy strong { display: block; font: 600 21px/1 Raleway, sans-serif; letter-spacing: .17em; }
.brand-copy small { display: block; margin-top: 7px; color: var(--a2-muted); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 1.8vw, 30px); }
.site-nav a { color: #dce1e3; font: 600 12px/1 Raleway, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a:hover, .site-nav a:focus { color: #fff; }
.site-nav .contact-link { padding: 11px 17px; border: 1px solid var(--a2-teal-bright); border-radius: 3px; color: #60c4c9; }
.site-nav .my-area-link { color: #e1a26e; }
.language-switch { display: inline-flex; gap: 7px; color: var(--a2-muted); }
.language-switch .active { color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; color: #fff; width: 44px; height: 44px; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 25px; height: 2px; margin: 6px auto; background: currentColor; transition: .2s; }

.hero { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--a2-line); }
.hero-media { position: absolute; inset: 0 0 0 39%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--a2-bg) 0%, rgba(8,13,16,.85) 18%, transparent 64%), linear-gradient(0deg, var(--a2-bg) 0%, transparent 32%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 110px 0 100px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 21px; color: #56b9bf; font: 600 12px/1 Raleway, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--a2-copper); }
h1, h2, h3 { margin: 0; font-family: Raleway, Arial, sans-serif; line-height: 1.12; }
h1 { max-width: 760px; font-size: clamp(2.8rem, 4.6vw, 4.6rem); font-weight: 600; letter-spacing: -.035em; }
h1 span { color: #34adb4; }
.hero-lead { max-width: 590px; margin: 28px 0 36px; color: #c8ced1; font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 22px; border: 1px solid var(--a2-teal-bright); border-radius: 3px; color: #6ed2d6; background: rgba(11,79,84,.1); font: 600 12px/1 Raleway, sans-serif; letter-spacing: .12em; text-transform: uppercase; transition: .2s; cursor: pointer; }
.button:hover, .button:focus { color: #fff; background: var(--a2-teal); transform: translateY(-2px); }
.button.copper { border-color: var(--a2-copper); color: #e1a26e; background: rgba(169,116,67,.08); }
.trust-strip { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; border-top: 1px solid var(--a2-line); background: rgba(8,13,16,.72); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 20px 24px; border-left: 1px solid var(--a2-line); }
.trust-item:last-child { border-right: 1px solid var(--a2-line); }
.trust-item strong { display: block; color: #fff; font: 600 14px Raleway, sans-serif; }
.trust-item span { color: var(--a2-muted); font-size: 12px; }

.section { padding: 110px 0; }
.section.alt { border-block: 1px solid var(--a2-line); background: linear-gradient(135deg, #0d1417, #101a1e); }
.section-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: end; margin-bottom: 56px; }
.section-heading h2 { font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--a2-muted); }
.accent { color: #39aeb5; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--a2-line); border: 1px solid var(--a2-line); }
.card { position: relative; min-height: 330px; padding: 38px; background: #0c1316; overflow: hidden; }
.card-index { color: var(--a2-copper); font: 600 12px Raleway, sans-serif; letter-spacing: .13em; }
.card h3 { margin-top: 68px; font-size: 1.55rem; }
.card p { color: var(--a2-muted); font-size: 15px; }
.card ul { padding: 0; margin: 24px 0 0; list-style: none; color: #cbd1d3; font-size: 14px; }
.card li { padding: 9px 0; border-top: 1px solid var(--a2-line); }
.card::after { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--a2-teal-bright), var(--a2-copper)); transition: .3s; }
.card:hover::after { width: 100%; }

.feature { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 520px; border: 1px solid var(--a2-line); background: #0c1316; }
.feature + .feature { margin-top: 26px; }
.feature.reverse { grid-template-columns: .92fr 1.08fr; }
.feature.reverse .feature-image { order: 2; }
.feature-image { min-height: 440px; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 76px); }
.feature-copy h3 { margin: 18px 0; font-size: clamp(2rem, 3vw, 3.15rem); }
.feature-copy p { color: var(--a2-muted); }
.feature-copy ul { padding-left: 20px; color: #d1d6d8; }
.feature-copy li::marker { color: var(--a2-copper); }

.industries-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.industry { padding: 32px; border: 1px solid var(--a2-line); background: rgba(255,255,255,.015); }
.industry h3 { font-size: 1.25rem; }
.industry p { margin-bottom: 0; color: var(--a2-muted); font-size: 15px; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: steps; }
.process-step { padding: 34px 28px; border-block: 1px solid var(--a2-line); border-left: 1px solid var(--a2-line); }
.process-step:last-child { border-right: 1px solid var(--a2-line); }
.process-step::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 45px; color: var(--a2-copper); font: 600 12px Raleway, sans-serif; }
.process-step h3 { font-size: 1.1rem; }
.process-step p { color: var(--a2-muted); font-size: 14px; }

.about-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: center; }
.profile-card { position: relative; padding: 48px; border: 1px solid var(--a2-line); background: linear-gradient(145deg, rgba(11,79,84,.22), rgba(169,116,67,.08)); }
.profile-monogram { color: transparent; font: 600 8rem/1 Raleway, sans-serif; background: linear-gradient(145deg, #fff, #616b70, #d0d4d6); -webkit-background-clip: text; background-clip: text; }
.profile-card strong { display: block; margin-top: 25px; font: 600 1.5rem Raleway, sans-serif; }
.profile-card span { color: #69c0c5; }
.about-copy h2 { font-size: clamp(2.4rem, 4vw, 4.3rem); }
.about-copy p { color: var(--a2-muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.value { padding-top: 15px; border-top: 1px solid var(--a2-copper); font-size: 13px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.contact-grid.wp-block-columns { display: flex; align-items: flex-start; }
.contact-grid.wp-block-columns > .wp-block-column { min-width: 0; }
.contact-copy h2 { font-size: clamp(2.5rem, 4vw, 4.2rem); }
.contact-copy p { color: var(--a2-muted); }
.contact-list { margin-top: 34px; }
.contact-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--a2-line); color: #dce2e4; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; color: #c9d0d2; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; border: 1px solid var(--a2-line); border-radius: 2px; outline: 0; padding: 14px; color: #fff; background: #0c1316; }
.field input:focus, .field textarea:focus { border-color: var(--a2-teal-bright); }
.field textarea { min-height: 150px; resize: vertical; }
.hp-field { position: absolute !important; left: -10000px !important; }
.form-message { grid-column: 1/-1; padding: 12px 15px; border: 1px solid var(--a2-line); }
.form-message.success { border-color: #2d8d71; color: #9be1c8; }
.form-message.error { border-color: #9d4a3d; color: #f2aca1; }

.site-footer { border-top: 1px solid var(--a2-line); padding: 54px 0 26px; background: #060a0c; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 50px; }
.footer-grid.wp-block-columns { display: flex; align-items: flex-start; }
.footer-grid.wp-block-columns > .wp-block-column { min-width: 0; }
.footer-grid .wp-block-image.footer-brand-image { margin: 0 0 18px; }
.footer-grid .wp-block-image.footer-brand-image img { width: min(440px, 100%); height: auto; }
.footer-grid h3 { margin-bottom: 18px; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--a2-copper); }
.footer-grid p, .footer-grid a { color: var(--a2-muted); font-size: 14px; }
.footer-grid a { display: block; margin: 8px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--a2-line); color: #717c81; font-size: 12px; }
.footer-bottom.wp-block-columns { align-items: center; margin-bottom: 0; }

.is-style-a2-wide-block { grid-column: span 2; }
.is-style-a2-full-row { grid-column: 1 / -1; width: 100%; }
.is-style-a2-compact-block { min-height: 0 !important; padding: clamp(18px, 2.5vw, 28px) !important; }
.alignwide { width: min(1180px, calc(100% - 40px)); max-width: none; margin-right: auto; margin-left: auto; }
.alignfull { width: 100%; max-width: none; }

.page-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--a2-line);
}
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #080d10 0%, rgba(8,13,16,.82) 42%, rgba(8,13,16,.16) 100%), linear-gradient(0deg, #080d10 0%, transparent 45%);
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-content { position: relative; z-index: 2; max-width: 760px; padding: 110px 0 75px; }
.page-hero h1 { font-size: clamp(3rem, 5vw, 5rem); }
.page-hero p:not(.eyebrow) { max-width: 660px; color: #c8ced1; font-size: 1.15rem; }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.intro-grid h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.intro-copy > p:first-child { margin-top: 0; color: #d9dfe1; font-size: 1.2rem; }
.intro-copy p { color: var(--a2-muted); }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.detail-card { padding: 36px; border: 1px solid var(--a2-line); background: #0c1316; }
.detail-card h3 { margin: 18px 0 12px; font-size: 1.4rem; }
.detail-card p { color: var(--a2-muted); font-size: 15px; }
.detail-card ul { margin: 20px 0 0; padding-left: 19px; color: #cbd1d3; font-size: 14px; }
.detail-card li { margin: 8px 0; }
.page-cta { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding: 44px; border: 1px solid var(--a2-line); background: linear-gradient(125deg, rgba(11,79,84,.27), rgba(169,116,67,.08)); }
.page-cta h2 { max-width: 720px; font-size: clamp(1.8rem, 3vw, 3rem); }
.credentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 40px; background: var(--a2-line); border: 1px solid var(--a2-line); }
.credential { padding: 28px; background: #0c1316; }
.credential strong { display: block; color: var(--a2-copper); font: 600 12px Raleway, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.credential span { display: block; margin-top: 10px; color: #dbe0e2; }

@media (max-width: 1120px) {
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 104px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px clamp(22px, 4vw, 54px); border-bottom: 1px solid var(--a2-line); background: #080d10; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 18px 8px; border-bottom: 1px solid var(--a2-line); }
  .brand-image-wrap { width: clamp(300px, 42vw, 410px); height: auto; }
  .hero-media { left: 22%; opacity: .65; }
  .section-heading, .about-grid, .contact-grid, .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card h3 { margin-top: 34px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .a2-container { width: 100%; padding-inline: 18px; }
  .header-inner { min-height: 86px; padding-inline: 14px; }
  .site-nav { inset: 86px 0 auto; padding-inline: 18px; }
  .brand-image-wrap { width: min(270px, calc(100vw - 92px)); height: auto; margin-left: 0; }
  .hero { min-height: 720px; }
  .hero-media { left: 0; opacity: .42; }
  .hero-media::after { background: linear-gradient(90deg, rgba(8,13,16,.94), rgba(8,13,16,.38)), linear-gradient(0deg, #080d10 0%, transparent 45%); }
  .hero-content { padding-top: 80px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { display: none; }
  .trust-item:first-child { display: block; border-right: 1px solid var(--a2-line); }
  .section { padding: 78px 0; }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-image { order: 0; }
  .feature-image { min-height: 300px; }
  .industries-grid, .process, .values, .contact-form, .footer-grid, .detail-grid, .credentials { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
