:root {
  color-scheme: light;
  --ink: #102e3c;
  --ink-soft: #4d6470;
  --paper: #f7fbfc;
  --white: #fff;
  --line: #dce8eb;
  --cyan: #4fdbff;
  --cyan-wash: #e6faff;
  --cyan-ink: #076b80;
  --navy: #0b2734;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(22px, 5vw, 72px);
  --radius: 18px;
  --shadow: 0 24px 60px rgba(16, 46, 60, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.65; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--cyan-ink); outline-offset: 4px; }
::selection { background: var(--cyan); color: var(--navy); }
.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; inset: 10px auto auto 10px; transform: translateY(-160%); padding: 10px 14px; color: var(--navy); background: var(--cyan); border-radius: 6px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 10; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(16,46,60,.08); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 176px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 34px); margin-left: auto; }
.main-nav a, .footer-main nav a { text-decoration: none; font-size: .91rem; font-weight: 600; color: var(--ink-soft); transition: color 180ms ease; }
.main-nav a:hover, .footer-main nav a:hover { color: var(--cyan-ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 20px; border-radius: 7px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button--header { background: var(--cyan); color: var(--navy); box-shadow: 0 8px 20px rgba(79,219,255,.19); white-space: nowrap; }
.button--header:hover { background: #26c9f2; }

.hero { position: relative; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr); gap: clamp(44px, 7vw, 104px); align-items: center; padding-block: clamp(68px, 8vw, 112px) clamp(56px, 7vw, 96px); }
.hero-copy { padding-block: 12px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--cyan-ink); font-size: .76rem; font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; display: inline-block; flex: 0 0 auto; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-wash); }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); }
.hero h1 { max-width: 620px; margin-bottom: 23px; font-size: clamp(3.05rem, 5.8vw, 5.65rem); font-weight: 800; letter-spacing: -.065em; line-height: .99; }
.hero h1 em { color: var(--cyan-ink); font-style: normal; }
.hero-lead { max-width: 530px; margin-bottom: 30px; color: var(--ink-soft); font-size: clamp(1.08rem, 1.25vw, 1.24rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button--primary { min-height: 54px; padding-inline: 22px; background: var(--cyan-ink); color: var(--white); box-shadow: 0 12px 26px rgba(7,107,128,.17); }
.button--primary:hover { background: var(--navy); box-shadow: 0 14px 30px rgba(7,107,128,.23); }
.button-arrow { display: inline-grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); }
.underlined-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; text-decoration: none; }
.underlined-link span { color: var(--cyan-ink); font-size: 1.1rem; }
.hero-signature { margin: 34px 0 0; color: #637984; font-size: .86rem; }
.hero-signature span { padding-inline: 5px; color: var(--cyan-ink); }
.hero-visual { position: relative; min-width: 0; margin: 0; padding: 0 0 24px 24px; }
.hero-visual::before { position: absolute; z-index: 0; inset: -22px 22px 45px -18px; border: 1px solid #b8ecf6; border-radius: 18px; content: ""; }
.hero-image-frame { position: relative; z-index: 1; height: clamp(370px, 43vw, 530px); overflow: hidden; border-radius: 14px 92px 14px 14px; background: #c4dfe6; box-shadow: var(--shadow); }
.hero-image-frame::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(8,33,45,.18)); content: ""; pointer-events: none; }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 80% center; }
.photo-label { position: absolute; z-index: 2; left: -12px; bottom: 46px; display: flex; align-items: center; gap: 13px; max-width: min(340px, 80%); padding: 15px 18px; border: 1px solid rgba(16,46,60,.08); border-radius: 9px; background: var(--white); box-shadow: 0 14px 32px rgba(16,46,60,.16); }
.photo-label__mark { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: var(--cyan-wash); color: var(--cyan-ink); font-size: 1.7rem; }
.photo-label small, .photo-label strong { display: block; }
.photo-label small { margin-bottom: 2px; color: var(--cyan-ink); font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.photo-label strong { font-family: var(--font-display); font-size: .92rem; line-height: 1.35; }
.hero-visual__number { position: absolute; z-index: 2; top: 20px; right: 20px; color: rgba(255,255,255,.86); font-family: var(--font-display); font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.hero-ribbon { border-top: 1px solid var(--line); background: #f9fcfd; }
.hero-ribbon__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; color: #506a76; font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.hero-ribbon i { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--cyan-ink); }

.section-pad { padding-block: clamp(78px, 9vw, 124px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(240px, .65fr); gap: 50px; align-items: end; margin-bottom: 42px; }
.section-heading h2, .team-intro h2 { max-width: 700px; margin: 0; font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
.section-intro { max-width: 430px; margin: 0 0 4px; color: var(--ink-soft); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: 1fr; gap: 16px; align-items: stretch; }
.service-card { display: flex; height: 100%; min-height: 344px; flex-direction: column; padding: 25px 23px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: box-shadow 200ms ease, border-color 200ms ease; }
.service-card:hover { border-color: #a4eaf7; box-shadow: 0 18px 40px rgba(16,46,60,.09); }
.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 31px; }
.service-number { color: #8299a3; font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.service-icon { display: grid; width: 49px; height: 49px; place-items: center; border-radius: 12px; background: var(--cyan-wash); color: var(--cyan-ink); }
.service-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 12px; font-size: 1.18rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.25; }
.service-card p { margin-bottom: 24px; color: var(--ink-soft); font-size: .9rem; line-height: 1.65; }
.service-card > a { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--cyan-ink); font-size: .85rem; font-weight: 800; text-decoration: none; }
.service-card > a span { font-size: 1rem; }

.studio { background: var(--navy); color: var(--white); }
.studio-grid { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); gap: clamp(48px, 8vw, 112px); align-items: center; }
.studio-photo { position: relative; min-height: 440px; overflow: hidden; border-radius: 12px 70px 12px 12px; background: #194455; }
.studio-photo img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; object-position: 30% center; }
.studio-photo::after { position: absolute; inset: 48% 0 0; background: linear-gradient(0deg, rgba(8,28,38,.75), transparent); content: ""; }
.studio-photo__caption { position: absolute; z-index: 1; left: 24px; bottom: 20px; color: white; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow--light { color: var(--cyan); }
.eyebrow--light .eyebrow-dot { background: var(--cyan); box-shadow: 0 0 0 4px rgba(79,219,255,.14); }
.studio-copy h2 { max-width: 620px; margin-bottom: 19px; font-size: clamp(2.35rem, 4vw, 3.65rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.06; }
.studio-lead { max-width: 620px; margin-bottom: 34px; color: #c2d4db; font-size: 1.02rem; }
.studio-values { border-top: 1px solid rgba(255,255,255,.16); }
.studio-values > div { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.studio-values > div > span { padding-top: 4px; color: var(--cyan); font-family: var(--font-display); font-size: .75rem; font-weight: 800; }
.studio-values h3 { margin-bottom: 3px; font-size: .98rem; font-weight: 800; }
.studio-values p { max-width: 540px; margin: 0; color: #b5cbd4; font-size: .9rem; }

.fieldwork { background: var(--white); }
.section-heading--compact { margin-bottom: 38px; }
.fieldwork-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.fieldwork-card { position: relative; min-height: 310px; margin: 0; overflow: hidden; border-radius: 11px; background: var(--navy); }
.fieldwork-card img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; transition: transform 400ms ease; }
.fieldwork-card:hover img { transform: scale(1.035); }
.fieldwork-card::after { position: absolute; inset: 36% 0 0; background: linear-gradient(0deg, rgba(5,29,40,.9), transparent); content: ""; pointer-events: none; }
.fieldwork-card figcaption { position: absolute; z-index: 1; right: 20px; bottom: 19px; left: 20px; color: var(--white); }
.fieldwork-card figcaption span, .fieldwork-card figcaption strong { display: block; }
.fieldwork-card figcaption span { margin-bottom: 4px; color: var(--cyan); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fieldwork-card figcaption strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.025em; }

.team { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); gap: clamp(44px, 8vw, 110px); align-items: center; }
.team-intro h2 { margin-bottom: 16px; }
.team-intro > p:last-child { max-width: 480px; margin-bottom: 0; color: var(--ink-soft); }
.team-cards { display: grid; gap: 14px; }
.person-card { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: 0 8px 22px rgba(16,46,60,.035); color: inherit; text-decoration: none; transition: border-color 180ms ease, box-shadow 180ms ease; }
.person-card:hover { border-color: #a4eaf7; box-shadow: 0 12px 28px rgba(16,46,60,.08); }
.person-card__initials { display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--cyan); color: var(--navy); font-family: var(--font-display); font-size: .9rem; font-weight: 800; }
.person-card h3 { margin: 0 0 2px; font-size: 1.12rem; letter-spacing: -.025em; }
.person-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.person-card__arrow { margin-left: auto; color: var(--cyan-ink); font-size: 1.15rem; }

.contact { padding-block: clamp(58px, 7.5vw, 92px); background: var(--cyan); color: var(--navy); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.contact .eyebrow { color: #0a6375; }
.contact .eyebrow-dot { background: var(--white); box-shadow: 0 0 0 4px rgba(255,255,255,.33); }
.contact h2 { margin-bottom: 10px; font-size: clamp(2.3rem, 4.3vw, 3.8rem); font-weight: 800; letter-spacing: -.06em; line-height: 1.05; }
.contact-inner > div:first-child > p:last-child { margin: 0; color: #174a5a; }
.contact-actions { display: flex; min-width: 260px; flex-direction: column; align-items: flex-start; gap: 11px; }
.button--contact { min-height: 55px; padding-inline: 23px; background: var(--navy); color: var(--white); }
.button--contact:hover { background: #164759; }
.contact-phone { color: #154758; font-size: .9rem; font-weight: 700; text-decoration: none; }

.site-footer { background: #081f2b; color: #d9e8ed; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 35px; align-items: center; padding-block: 44px 34px; }
.brand--footer { padding: 6px 9px; border-radius: 5px; background: var(--white); }
.brand--footer img { width: 166px; }
.footer-main > p { margin: 0; color: #a9c0c9; font-size: .92rem; }
.footer-main nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px 24px; }
.footer-main nav a { color: #d3e1e6; font-size: .84rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 17px 21px; border-top: 1px solid rgba(255,255,255,.14); color: #9fb5be; font-size: .78rem; }
.footer-bottom span, .footer-bottom a { margin: 0; }
.footer-bottom a { color: inherit; text-decoration: none; }
.whatsapp-float { position: fixed; z-index: 9; right: 24px; bottom: 22px; display: inline-flex; min-height: 54px; align-items: center; gap: 9px; padding: 0 17px; border: 2px solid var(--white); border-radius: 999px; background: #0c805c; color: var(--white); box-shadow: 0 12px 28px rgba(5,36,30,.22); font-size: .86rem; font-weight: 800; text-decoration: none; transition: transform 180ms ease, background-color 180ms ease; }
.whatsapp-float:hover { transform: translateY(-3px); background: #096b4c; }
.whatsapp-float svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1020px) {
  .header-inner { gap: 18px; }
  .main-nav { gap: 17px; }
  .button--header { padding-inline: 14px; font-size: .86rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .service-card { min-height: 300px; }
  .team-grid { grid-template-columns: .85fr 1.15fr; gap: 42px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 138px; }
  .header-inner { min-height: auto; display: grid; grid-template-columns: 1fr auto; gap: 11px 16px; padding-block: 12px; }
  .brand img { width: 152px; }
  .button--header { min-height: 42px; padding-inline: 12px; font-size: .78rem; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
  .main-nav a { font-size: .8rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 43px; padding-top: 61px; padding-bottom: 48px; }
  .hero h1 { max-width: 620px; font-size: clamp(3.1rem, 12vw, 5rem); }
  .hero-visual { width: min(100%, 580px); margin-left: auto; }
  .hero-image-frame { height: min(104vw, 470px); min-height: 340px; border-top-right-radius: 76px; }
  .photo-label { left: -6px; bottom: 35px; }
  .hero-ribbon__inner { min-height: 66px; justify-content: flex-start; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .hero-ribbon__inner::-webkit-scrollbar { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 30px; }
  .section-heading h2, .team-intro h2 { font-size: clamp(2.1rem, 8vw, 3.1rem); }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-card { min-height: 330px; padding: 19px 17px 17px; }
  .service-card__top { margin-bottom: 22px; }
  .service-card h3 { font-size: 1.04rem; }
  .service-card p { font-size: .86rem; }
  .studio-grid { grid-template-columns: 1fr; gap: 42px; }
  .studio-photo, .studio-photo img { min-height: 340px; }
  .fieldwork-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fieldwork-card--large { grid-column: 1 / -1; min-height: 300px; }
  .fieldwork-card--large img { min-height: 300px; }
  .fieldwork-card:not(.fieldwork-card--large), .fieldwork-card:not(.fieldwork-card--large) img { min-height: 235px; }
  .fieldwork-card figcaption { right: 14px; bottom: 14px; left: 14px; }
  .fieldwork-card figcaption strong { font-size: 1rem; }
  .team-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 28px; }
  .contact-actions { min-width: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-main nav { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 460px) {
  :root { --gutter: 20px; }
  .brand img { width: 132px; }
  .button--header { gap: 6px; padding-inline: 10px; font-size: .73rem; }
  .main-nav { gap: 7px; }
  .main-nav a { font-size: .74rem; }
  .hero-grid { padding-top: 48px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-signature { max-width: 280px; }
  .hero-visual { padding-left: 12px; }
  .hero-visual::before { inset: -12px 10px 39px -8px; }
  .hero-image-frame { min-height: 300px; border-top-right-radius: 60px; }
  .photo-label { max-width: 88%; padding: 11px 12px; }
  .photo-label__mark { width: 36px; height: 36px; }
  .photo-label strong { font-size: .82rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card__top { margin-bottom: 16px; }
  .service-card > a { margin-top: 4px; }
  .studio-photo, .studio-photo img { min-height: 290px; }
  .fieldwork-grid { grid-template-columns: 1fr; }
  .fieldwork-card--large { grid-column: auto; }
  .fieldwork-card, .fieldwork-card img, .fieldwork-card--large, .fieldwork-card--large img, .fieldwork-card:not(.fieldwork-card--large), .fieldwork-card:not(.fieldwork-card--large) img { min-height: 250px; }
  .person-card { gap: 13px; padding: 15px; }
  .person-card__initials { width: 50px; height: 50px; }
  .contact h2 { font-size: 2.25rem; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main nav { grid-column: auto; justify-content: flex-start; gap: 12px 18px; }
  .footer-bottom { font-size: .72rem; }
  .whatsapp-float { right: 14px; bottom: 14px; min-height: 48px; padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
