@import url('https://fonts.googleapis.com/css2?family=Murecho:wght@300;600&display=swap');

:root {
  --navy: #293b5f;
  --blue: #47597e;
  --mist: #dbe6fd;
  --gold: #b2ab8c;
  --ink: #17233c;
  --paper: #f7f9ff;
  --line: rgba(41, 59, 95, 0.2);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--mist);
  font-family: "Murecho", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: -60px; background: white; padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(219, 230, 253, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner { height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { width: 132px; height: 88px; object-fit: cover; object-position: center; border-radius: 0; box-shadow: none; }
.site-footer .brand-mark { width: 150px; height: 100px; }
.brand-name { font-size: .95rem; }
.nav-row { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-size: .9rem; font-weight: 600; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--gold); transition: right .2s ease; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.language { display: flex; border: 1px solid var(--navy); }
.language button { border: 0; background: transparent; color: var(--navy); padding: 6px 9px; cursor: pointer; font-size: .78rem; font-weight: 600; }
.language button[aria-pressed="true"] { background: var(--navy); color: white; }
.menu-toggle { display: none; border: 0; background: var(--navy); color: white; width: 44px; height: 44px; cursor: pointer; }

main { min-height: 60vh; overflow: hidden; }
.eyebrow { margin: 0 0 16px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: "✦"; display: inline-block; margin-right: .6rem; color: var(--gold); font-size: 1.15em; }
h1, h2, h3 { font-weight: 600; line-height: 1.1; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 6.8rem); max-width: 980px; margin-bottom: 28px; }
h2 { font-size: clamp(2rem, 4vw, 4rem); margin-bottom: 24px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
p { margin: 0 0 20px; }
.lede { max-width: 720px; font-size: clamp(1.1rem, 2vw, 1.4rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 20px; background: var(--navy); color: white; border: 1px solid var(--navy); font-weight: 600; font-size: .9rem; transition: .2s ease; }
.button:hover { background: var(--blue); transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--navy); }
.button.secondary:hover { background: rgba(255,255,255,.45); }
.arrow { font-size: 1.15em; }

.hero, .page-hero {
  background-image: linear-gradient(rgba(219,230,253,.88), rgba(219,230,253,.94)), url('https://images.unsplash.com/photo-1776448611495-ae2f69ae521e?q=80&w=1332&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero { padding: clamp(72px, 11vw, 150px) 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr); gap: 64px; align-items: end; }
.hero-copy { position: relative; z-index: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-visual { min-height: 570px; position: relative; }
.hero-visual img { width: 86%; height: 480px; object-fit: cover; margin-left: auto; filter: saturate(.72) contrast(1.06); }
.hero-note { position: absolute; left: 0; bottom: 0; width: 88%; background: rgba(41,59,95,.97); color: white; padding: 30px; }
.hero-note strong { display: block; color: var(--gold); font-size: 1.75rem; font-weight: 600; line-height: 1.1; margin-bottom: 10px; }
.signal-line { width: 110px; height: 3px; background: var(--gold); margin: 24px 0 0; }

.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-tight { padding: 70px 0; }
.section-dark { background: var(--navy); color: white; }
.section-paper { background: rgba(255,255,255,.55); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.section-head > :last-child { max-width: 510px; }
.kicker { font-weight: 600; color: var(--gold); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--mist); padding: 36px; min-height: 270px; display: flex; flex-direction: column; }
.card-number { color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: .12em; margin-bottom: 38px; }
.card-number::before { content: "✦"; margin-right: .55rem; font-size: 1.15em; }
.card p { margin-top: auto; }
.dark-card { background: #31466c; color: white; }
.visual-list { display: grid; gap: 24px; }
.visual-row { display: grid; grid-template-columns: minmax(280px, .85fr) 1.15fr; min-height: 310px; background: rgba(255,255,255,.55); border: 1px solid var(--line); }
.visual-row:nth-child(even) .visual-row-image { order: 2; }
.visual-row-image { min-height: 310px; }
.visual-row-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.04); }
.visual-row-copy { padding: clamp(30px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.visual-row-copy p { max-width: 630px; }
.image-band { display: grid; grid-template-columns: 1.6fr .8fr .8fr; min-height: 430px; }
.image-band img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; filter: saturate(.7); }
.image-band img:nth-child(2) { border-inline: 6px solid var(--mist); }
.quote-block { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; align-items: start; }
.quote-block blockquote { margin: 0; font-size: clamp(1.7rem, 3vw, 3rem); line-height: 1.25; font-weight: 600; }

.page-hero { padding: clamp(70px, 10vw, 130px) 0 64px; position: relative; isolation: isolate; }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero::after { pointer-events: none; }
body[data-page="about"] .page-hero::after,
body[data-page="contact"] .page-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 4%;
  right: 2%;
  bottom: 4%;
  width: min(46%, 620px);
  background: url('images/teamwere-logo.png') center right / contain no-repeat;
  opacity: .11;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 34%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 34%, transparent 78%);
}
.page-hero .lede { margin-left: auto; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 64px; align-items: center; }
.page-hero-grid .lede { margin-left: 0; }
.page-hero-image { min-height: 460px; position: relative; }
.page-hero-image img { width: 100%; height: 460px; object-fit: cover; filter: saturate(.68) contrast(1.05); }
.page-hero-image::after { content: ""; position: absolute; inset: auto -16px -16px auto; width: 42%; height: 42%; border-right: 3px solid var(--gold); border-bottom: 3px solid var(--gold); pointer-events: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; height: 560px; object-fit: cover; filter: saturate(.72); }
.split-media::before { content: ""; position: absolute; z-index: 1; width: 90px; height: 90px; top: -18px; left: -18px; border-left: 3px solid var(--gold); border-top: 3px solid var(--gold); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principle { border-top: 3px solid var(--gold); padding: 24px 0; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: process; }
.timeline article { counter-increment: process; border-top: 1px solid rgba(255,255,255,.35); padding-top: 22px; }
.timeline article::before { content: "✦  0" counter(process); color: var(--gold); font-weight: 600; font-size: .8rem; letter-spacing: .12em; }

.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.package { background: rgba(255,255,255,.55); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; min-height: 460px; position: relative; }
.package.featured { background: var(--navy); color: white; transform: translateY(-12px); }
.package-tag { position: absolute; top: 0; right: 0; background: var(--gold); color: var(--ink); font-size: .72rem; font-weight: 600; letter-spacing: .08em; padding: 8px 12px; text-transform: uppercase; }
.price { font-size: 2.15rem; font-weight: 600; letter-spacing: -.04em; margin: 15px 0 25px; }
.package ul { padding: 0; margin: 18px 0 30px; list-style: none; }
.package li { padding: 8px 0 8px 22px; position: relative; border-bottom: 1px solid var(--line); }
.package li::before { content: "✦"; position: absolute; left: 0; top: .7rem; color: var(--gold); font-size: .72rem; font-weight: 600; }
.package .button { margin-top: auto; width: 100%; }
.package.featured .button { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.currency-note { margin-top: 28px; font-size: .86rem; color: var(--blue); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.contact-panel { background: var(--navy); color: white; padding: clamp(34px, 6vw, 70px); }
.contact-list { margin: 40px 0 0; display: grid; gap: 0; }
.contact-item { display: grid; grid-template-columns: 110px 1fr; gap: 18px; border-top: 1px solid rgba(255,255,255,.25); padding: 22px 0; }
.contact-item span { color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.contact-item a:hover { text-decoration: underline; }
.contact-image img { width: 100%; height: 100%; min-height: 580px; object-fit: cover; filter: saturate(.7); }

.legal { max-width: 850px; }
.legal h2 { font-size: 1.7rem; margin: 48px 0 14px; }
.legal h2::before { content: "✦"; margin-right: .6rem; color: var(--gold); font-size: .72em; vertical-align: .12em; }
.legal h3 { font-size: 1.1rem; margin: 30px 0 8px; }
.legal ul { padding-left: 22px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin: 32px 0; font-size: .9rem; }

.site-footer { background: var(--ink); color: white; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 60px; }
.footer-brand .brand { margin-bottom: 22px; }
.footer-title { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; margin-bottom: 18px; }
.footer-title::before { content: "✦"; margin-right: .5rem; }
.footer-links { display: grid; gap: 9px; }
.footer-links a:hover { color: var(--gold); }
.footer-contact { font-style: normal; }
.footer-contact a { display: block; margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.15); margin-top: 50px; padding-top: 24px; font-size: .8rem; color: rgba(255,255,255,.72); }
.footer-legal { display: flex; gap: 22px; }

.reveal { animation: rise .65s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-row { position: absolute; z-index: 100; top: 100%; left: 0; right: 0; width: 100%; height: calc(100dvh - 118px); background-color: #293b5f !important; background-image: none !important; color: white; opacity: 1; padding: 36px 20px; display: none; flex-direction: column; align-items: stretch; box-shadow: 0 18px 40px rgba(23,35,60,.4); backdrop-filter: none; overflow-y: auto; }
  .menu-open .nav-row { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { font-size: 1.5rem; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.2); color: white; }
  .nav-links a::after { background: var(--gold); }
  .nav-row .language { border-color: var(--gold); }
  .nav-row .language button { color: white; }
  .nav-row .language button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
  .language { align-self: flex-start; }
  .hero-grid, .split, .contact-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 470px; }
  .hero-visual img { height: 400px; }
  .grid-3, .package-grid { grid-template-columns: repeat(2, 1fr); }
  .image-band { grid-template-columns: 1fr 1fr; }
  .image-band img:first-child { grid-column: 1 / -1; height: 360px; }
  .image-band img:nth-child(2) { border-left: 0; border-top: 6px solid var(--mist); }
  .image-band img:nth-child(3) { border-top: 6px solid var(--mist); }
  .quote-block { grid-template-columns: 1fr; gap: 25px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { height: 92px; }
  .brand-mark { width: 96px; height: 64px; }
  .site-footer .brand-mark { width: 126px; height: 84px; }
  .nav-row { height: calc(100dvh - 92px); }
  body[data-page="about"] .page-hero::after,
  body[data-page="contact"] .page-hero::after { width: 64%; right: -8%; opacity: .08; }
  h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .hero { padding-top: 58px; }
  .hero-grid { gap: 40px; }
  .hero-visual { min-height: 400px; }
  .hero-visual img { width: 92%; height: 330px; }
  .hero-note { width: 88%; padding: 22px; }
  .section-head { display: block; }
  .grid-3, .package-grid, .principles, .timeline, .footer-grid { grid-template-columns: 1fr; }
  .visual-row { grid-template-columns: 1fr; }
  .visual-row:nth-child(even) .visual-row-image { order: 0; }
  .visual-row-image { min-height: 240px; }
  .page-hero-image, .page-hero-image img { min-height: 330px; height: 330px; }
  .package.featured { transform: none; }
  .image-band { grid-template-columns: 1fr; }
  .image-band img:first-child { grid-column: auto; }
  .image-band img { min-height: 300px; height: 300px !important; border: 0 !important; border-top: 5px solid var(--mist) !important; }
  .split-media img { height: 420px; }
  .contact-item { grid-template-columns: 1fr; gap: 4px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .footer-legal { flex-direction: column; gap: 8px; }
}

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