:root {
  color-scheme: light;
  --ink: #142135;
  --muted: #4b5b70;
  --navy: #101c31;
  --blue: #234bd1;
  --blue-dark: #193bb0;
  --pale: #f1f5fa;
  --line: #d8e0eb;
  --white: #fff;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body, figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.09; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #a75300; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min( calc(100% - 3rem), 75rem); margin-inline: auto; }
.skip { position: absolute; inset: .5rem auto auto 1rem; z-index: 10; padding: .75rem; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }

.header { background: var(--white); }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: .65rem; }
.brand { display: inline-flex; gap: .8rem; align-items: center; text-decoration: none; }
.brand img { display: block; flex: none; object-fit: cover; border-radius: .28rem; }
.brand-copy { display: grid; gap: .15rem; line-height: 1.25; }
.brand-name { font-size: 1.45rem; line-height: 1.05; font-weight: 800; letter-spacing: -.045em; }
.brand-fields { color: #244b75; font-weight: 750; font-size: .8125rem; text-transform: uppercase; letter-spacing: .065em; }
.brand-tagline { color: #284562; font-size: .875rem; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; }
nav a { font-size: .95rem; text-decoration: none; font-weight: 650; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; padding: .7rem 1.15rem; border: 1px solid transparent; border-radius: .3rem; font: inherit; font-weight: 700; text-decoration: none; text-align: center; color: var(--white); background: var(--blue); cursor: pointer; }
.button:hover { background: var(--blue-dark); }
.button-small { min-height: 2.75rem; font-size: .9rem; }
.button-outline { border-color: #6581a4; color: #16385f; background: #ffffffd9; }
.button-outline:hover { background: #e3eff9; }

.hero { position: relative; isolation: isolate; display: grid; background: #edf6fd; color: #102c50; }
.hero-visual, .hero-inner { grid-area: 1 / 1; }
.hero-visual { position: relative; z-index: -1; }
.hero-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 11%, #f3faffb5 21%, #f3faffb5 41%, transparent 56%);
}
.hero-inner { width: 100%; min-height: max(25rem, 38.49vw); display: grid; align-items: center; padding: clamp(1.5rem, 3vw, 4rem) 0 clamp(1.5rem, 3vw, 4rem) 17%; }
.hero-text { width: clamp(21rem, 33vw, 47rem); }
.hero-audience, .hero-process { text-transform: uppercase; letter-spacing: .1em; font-size: .875rem; font-weight: 750; }
.hero h1 { font-size: clamp(3.75rem, 6.3vw, 8rem); letter-spacing: -.055em; line-height: .98; }
.hero h1 span { display: block; margin-top: .12em; color: #155b88; font-size: .55em; letter-spacing: -.015em; line-height: 1.04; text-wrap: initial; }
.hero-audience { margin-top: .75rem; color: #244b75; }
.hero-lead { margin-top: .7rem; max-width: 28rem; color: #284562; font-size: clamp(1rem, 1.35vw, 1.25rem); }
.hero-signature, .hero-process { position: absolute; right: clamp(1rem, 3vw, 5rem); color: var(--white); background: #102c50ed; border-radius: .25rem; }
.hero-signature { top: 1.5rem; z-index: 1; padding: .45rem .85rem; font: italic 1.2rem/1.35 Georgia, serif; }
.hero-process { bottom: 1.5rem; padding: .65rem .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.15rem; }
.about { border-bottom: 1px solid var(--line); background: #f8faff; }
.about-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: clamp(1rem, 4vw, 3rem); align-items: start; padding-block: clamp(1.75rem, 4vw, 3rem); }
.about h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
.about-copy { max-width: 46rem; color: var(--muted); }
.about-copy p + p { margin-top: .55rem; }

.section { padding-block: clamp(3.4rem, 7vw, 6.25rem); }
h2 { font-size: clamp(2.15rem, 4.2vw, 3.5rem); letter-spacing: -.055em; }
h3 { font-size: 1.4rem; letter-spacing: -.026em; }
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: 2rem; }
.service { background: var(--pale); border-top: 3px solid var(--blue); border-radius: 0 0 .35rem .35rem; padding: 1.65rem 1.3rem; }
.service p, .project-list article > p:not(.project-meta) { color: var(--muted); margin-top: .85rem; }
.service ul { color: var(--muted); padding-inline-start: 1.15rem; margin: .85rem 0 0; }
.service li + li { margin-top: .45rem; }
.service li::marker { color: var(--blue); }
.projects { background: var(--pale); }
.projects-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.7rem, 5vw, 5rem); margin-top: 2rem; align-items: start; }
.projects figure img { display: block; width: 100%; height: auto; aspect-ratio: 1.16; object-fit: cover; border-radius: .35rem; }
figcaption { color: var(--muted); margin-top: .55rem; font-size: .85rem; }
.project-list article { padding-block: 1.2rem; border-top: 1px solid #c9d5e6; }
.project-list article:first-child { padding-top: 0; border-top: 0; }
.project-list article:last-child { padding-bottom: 0; }
.project-meta { color: var(--blue-dark); font-weight: 750; margin-bottom: .35rem; font-size: .875rem; }

.clients { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.clients h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.client-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 1.35rem 0 0; }
.client-list li { display: flex; flex-direction: column; align-items: center; gap: .85rem; padding: 1rem; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: .35rem; }
.client-list span { overflow-wrap: anywhere; font-weight: 650; font-size: .875rem; }
.client-logo { min-width: 0; display: grid; place-items: center; width: 100%; max-width: 11rem; height: 4.75rem; padding: .35rem; }
.client-logo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }

.contact { background: var(--navy); color: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(2rem, 6vw, 6rem); }
.contact h2 + p { color: #d9e2f1; margin-top: 1.1rem; max-width: 29rem; }
.contact-links { display: grid; justify-items: start; gap: .4rem; margin-top: 1.7rem; font-size: 1.22rem; font-weight: 700; }
address { color: #d9e2f1; margin-top: 2rem; font-style: normal; }
.inquiry { padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); color: var(--ink); border-radius: .4rem; }
.inquiry h3 { font-size: 1.65rem; }
.inquiry h3 + p { color: var(--muted); margin-top: .6rem; }
.inquiry label { display: block; margin: 1rem 0 .28rem; font-weight: 650; }
.inquiry :is(input, select, textarea) { width: 100%; padding: .65rem .75rem; font: inherit; border: 1px solid #8799b0; border-radius: .25rem; color: var(--ink); background-color: #fff; }
.inquiry textarea { display: block; resize: vertical; }
.inquiry button { margin-top: 1rem; }
.status:not(:empty) { margin-top: .8rem; color: var(--muted); }
.footer { border-top: 1px solid #364662; color: #dbe5f4; background: var(--navy); }
.footer-inner { padding-block: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }

@media (max-width: 67rem) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 62rem) {
  .hero { display: block; }
  .hero-visual::after { display: none; }
  .hero-image { position: static; height: auto; }
  .hero-inner { width: min(calc(100% - 3rem), 75rem); min-height: auto; padding: 1.9rem 0 2.35rem; }
  .hero-text { width: 100%; max-width: 34rem; }
  .hero h1 { font-size: clamp(3.35rem, 9vw, 5rem); }
  .hero-signature { top: auto; right: .65rem; bottom: .55rem; font-size: clamp(.75rem, 2vw, 1rem); }
  .hero-process { position: static; margin-top: 1.35rem; padding: 0; color: #244b75; background: none; }
  .actions { margin-top: 1.35rem; }
}
@media (max-width: 50rem) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; }
  .brand { grid-column: 1 / -1; justify-self: start; }
  .brand img { width: 3rem; height: 3rem; }
  .header nav { flex-wrap: wrap; gap: .15rem clamp(.55rem, 2vw, 1.5rem); }
  .header nav a { padding: .3rem 0; font-size: .875rem; }
  .header .button-small { padding-inline: .55rem; font-size: .875rem; white-space: nowrap; }
}
@media (max-width: 45rem) {
  .client-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .about-inner, .projects-layout, .contact-layout { grid-template-columns: 1fr; }
  .projects figure img { aspect-ratio: 1.5; }
}
@media (max-width: 36rem) {
  .services { grid-template-columns: 1fr; }
}
