@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --brand: oklch(0.35 0.11 140);
  --brand-strong: oklch(0.27 0.085 140);
  --brand-deep: oklch(0.20 0.055 140);
  --brand-light: oklch(0.94 0.035 140);
  --highlight: oklch(0.88 0.18 105);
  --highlight-soft: oklch(0.95 0.10 105);
  --background: oklch(1 0 0);
  --surface: oklch(0.965 0.006 140);
  --ink: oklch(0.16 0.02 140);
  --muted: oklch(0.42 0.025 140);
  --line: oklch(0.88 0.012 140);
  --white: oklch(1 0 0);
  --black: oklch(0.08 0 0);
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', Arial, sans-serif;
  --content: 1240px;
  --radius: 14px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --z-header: 20;
  --z-menu: 30;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img {
  display: block;
  max-width: 100%;
}

a { color: inherit; }

button, input, textarea, select { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 4px;
}

::selection {
  background: var(--highlight);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: .7rem 1rem;
  background: var(--highlight);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s var(--ease-out);
}

.skip-link:focus { transform: translateY(0); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(3.6rem, 9vw, 6rem); }
h2 { font-size: clamp(2.7rem, 6vw, 4.8rem); }
h3 { font-size: clamp(1.7rem, 3vw, 2.35rem); }

p { text-wrap: pretty; }

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.section--compact { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--surface { background: var(--surface); }
.section--brand { background: var(--brand); color: var(--white); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading h2 { max-width: 11ch; margin-bottom: 0; }
.section-heading p { max-width: 46ch; margin-bottom: .4rem; color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-link { display: inline-flex; align-items: center; text-decoration: none; }
.brand-link img { width: clamp(170px, 20vw, 255px); height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.5vw, 2.25rem);
}

.site-nav > a:not(.button) {
  position: relative;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav > a:not(.button)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.5rem;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out);
}

.site-nav > a:hover::after,
.site-nav > a[aria-current='page']::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: var(--brand);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .25s var(--ease-out), opacity .2s ease;
}

.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-7px) rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 48px;
  padding: .8rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--highlight);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease-out), background .25s ease;
}

.button:hover { transform: translateY(-2px); background: var(--highlight-soft); }
.button--dark { background: var(--brand-deep); color: var(--white); }
.button--dark:hover { background: var(--brand-strong); }
.button--outline { border: 1px solid currentColor; background: transparent; color: var(--white); }
.button--outline:hover { background: var(--white); color: var(--ink); }
.button__arrow { font-size: 1.2em; transition: transform .25s var(--ease-out); }
.button:hover .button__arrow { transform: translateX(4px); }

.hero {
  position: relative;
  min-height: min(860px, calc(100svh - 82px));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--brand-deep);
  color: var(--white);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, oklch(0.08 0 0 / .88) 0%, oklch(0.08 0 0 / .58) 48%, oklch(0.08 0 0 / .14) 100%);
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.04);
  animation: hero-settle 1.2s var(--ease-out) both;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .5fr);
  align-items: end;
  gap: clamp(2rem, 8vw, 8rem);
  padding-block: clamp(4rem, 9vw, 8rem);
}

.hero__main { max-width: 790px; }

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
  font-size: .82rem;
  font-weight: 800;
}

.hero__tag::before {
  content: '';
  width: 42px;
  height: 8px;
  background: var(--highlight);
}

.hero h1 { margin-bottom: 1.35rem; max-width: 10ch; }
.hero__lead { max-width: 58ch; margin-bottom: 2rem; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__aside {
  padding-top: 1.4rem;
  border-top: 8px solid var(--highlight);
}

.hero__aside strong {
  display: block;
  margin-bottom: .55rem;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.hero__aside p { margin-bottom: 0; color: oklch(0.9 0.008 140); }

@keyframes hero-settle {
  from { transform: scale(1.035); filter: saturate(.75); }
  to { transform: scale(1); filter: saturate(.82) contrast(1.04); }
}

.trust-strip { background: var(--highlight); color: var(--ink); }
.trust-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 1.35rem clamp(1rem, 3vw, 2rem); border-right: 1px solid oklch(0.64 0.12 105); font-weight: 800; text-align: center; }
.trust-item:last-child { border-right: 0; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--brand-deep);
  color: var(--white);
  text-decoration: none;
  isolation: isolate;
}

.service-card:nth-child(1),
.service-card:nth-child(8) { grid-column: span 2; }

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 22%, oklch(0.08 0 0 / .86) 100%);
}

.service-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.04);
  transition: transform .55s var(--ease-out), filter .4s ease;
}

.service-card:hover img { transform: scale(1.045); filter: saturate(.96) contrast(1.05); }

.service-card__content {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
}

.service-card h3 { margin-bottom: .35rem; }
.service-card p { max-width: 44ch; margin: 0; color: oklch(0.9 0.008 140); font-size: .93rem; }
.service-card__arrow { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--highlight); color: var(--ink); font-size: 1.3rem; transition: transform .3s var(--ease-out); }
.service-card:hover .service-card__arrow { transform: translate(3px, -3px); }

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .8fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
}

.split-feature__media { position: relative; }
.split-feature__media::after { content: ''; position: absolute; width: 38%; height: 22%; right: -1.25rem; bottom: -1.25rem; z-index: -1; background: var(--highlight); }
.split-feature__media img { width: 100%; min-height: 560px; border-radius: var(--radius); object-fit: cover; }
.split-feature__media img { filter: saturate(.82) contrast(1.04); }
.split-feature__copy h2 { max-width: 10ch; margin-bottom: 1.5rem; }
.split-feature__copy > p { max-width: 58ch; color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.check-list li { display: flex; gap: .85rem; padding-block: .85rem; border-bottom: 1px solid var(--line); font-weight: 700; }
.check-list li::before { content: '✓'; color: var(--brand); font-weight: 900; }

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: oklch(0.47 0.07 140);
}

.process__step { min-height: 280px; padding: clamp(2rem, 4vw, 3.5rem); background: var(--brand); }
.process__step strong { display: block; margin-bottom: 2rem; color: var(--highlight); font-family: var(--font-display); font-size: 3.5rem; line-height: 1; }
.process__step h3 { margin-bottom: .8rem; }
.process__step p { margin-bottom: 0; color: oklch(0.9 0.015 140); }

.contact-band {
  position: relative;
  overflow: hidden;
  background: var(--brand-deep);
  color: var(--white);
}

.contact-band::after { content: 'HIRC'; position: absolute; right: -1rem; bottom: -3.5rem; color: oklch(1 0 0 / .045); font-family: var(--font-display); font-weight: 800; font-size: clamp(10rem, 25vw, 24rem); line-height: .7; pointer-events: none; }
.contact-band__inner { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.contact-band h2 { max-width: 9ch; margin-bottom: 0; }
.contact-band__actions { display: flex; flex-wrap: wrap; justify-content: end; gap: .9rem; }

.page-hero {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--brand-deep);
  color: var(--white);
  isolation: isolate;
}

.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, oklch(0.08 0 0 / .86), oklch(0.08 0 0 / .25)); }
.page-hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero img { filter: saturate(.82) contrast(1.04); }
.page-hero__content { padding-block: clamp(4rem, 8vw, 7rem); }
.page-hero h1 { max-width: 10ch; margin-bottom: 1rem; }
.page-hero p { max-width: 58ch; margin-bottom: 0; font-size: 1.15rem; }

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  min-height: 650px;
  background: var(--brand-deep);
  color: var(--white);
}

.service-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 8vw, 7rem) max(1rem, calc((100vw - var(--content)) / 2)); padding-right: clamp(2rem, 7vw, 7rem); }
.service-hero__back { width: fit-content; margin-bottom: 2.5rem; color: var(--highlight); font-weight: 800; text-decoration: none; }
.service-hero h1 { max-width: 8ch; margin-bottom: 1.4rem; }
.service-hero__copy p { max-width: 50ch; margin-bottom: 2rem; color: oklch(0.9 0.015 140); font-size: 1.08rem; }
.service-hero__media { min-height: 520px; }
.service-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.service-hero__media img { filter: saturate(.82) contrast(1.04); }

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr);
  gap: clamp(3rem, 9vw, 8rem);
  align-items: start;
}

.service-detail__copy h2 { max-width: 12ch; }
.service-detail__copy p { max-width: 68ch; color: var(--muted); font-size: 1.05rem; }
.service-detail__panel { position: sticky; top: 110px; padding: 2rem; border-radius: var(--radius); background: var(--surface); }
.service-detail__panel h3 { margin-bottom: 1.2rem; }
.service-detail__panel ul { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.service-detail__panel li { position: relative; padding: .7rem 0 .7rem 1.7rem; border-bottom: 1px solid var(--line); }
.service-detail__panel li::before { content: ''; position: absolute; left: 0; top: 1.25rem; width: 10px; height: 10px; background: var(--highlight); }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.related-card { display: grid; grid-template-rows: 210px auto; overflow: hidden; border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; }
.related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-out); }
.related-card img { filter: saturate(.82) contrast(1.04); }
.related-card:hover img { transform: scale(1.04); }
.related-card__copy { padding: 1.3rem; }
.related-card h3 { margin: 0; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(3rem, 9vw, 8rem); align-items: start; }
.contact-details h2 { max-width: 10ch; }
.contact-details > p { color: var(--muted); }
.contact-link { display: block; padding-block: 1.15rem; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-link:hover { color: var(--brand); }

.contact-form { padding: clamp(1.5rem, 5vw, 3.5rem); border-radius: var(--radius); background: var(--brand-deep); color: var(--white); }
.contact-form h2 { margin-bottom: .8rem; }
.contact-form > p { color: oklch(0.88 0.015 140); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .45rem; margin-bottom: 1rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid oklch(0.52 0.04 140); border-radius: 8px; background: var(--white); color: var(--ink); padding: .9rem 1rem; }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: oklch(0.42 0.02 140); }

.site-footer { background: var(--black); color: var(--white); }
.site-footer__main { display: grid; grid-template-columns: 1.2fr .65fr .9fr; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(3.5rem, 7vw, 6rem); }
.site-footer__brand img { width: min(310px, 100%); margin-bottom: 1.5rem; }
.site-footer__brand p { max-width: 38ch; color: oklch(0.73 0.008 140); }
.site-footer h3 { margin-bottom: 1rem; font-size: 1.35rem; }
.footer-links { display: grid; gap: .65rem; }
.footer-links a { color: oklch(0.78 0.008 140); text-decoration: none; }
.footer-links a:hover { color: var(--highlight); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 2rem; padding-block: 1.25rem; border-top: 1px solid oklch(0.25 0 0); color: oklch(0.65 0 0); font-size: .83rem; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 82px 0 auto; z-index: var(--z-menu); display: grid; gap: 0; padding: 1rem; background: var(--white); border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .35s var(--ease-out); }
  .menu-open .site-nav { transform: translateY(0); }
  .site-nav > a { padding: 1rem; }
  .site-nav > a:not(.button)::after { display: none; }
  .site-nav .button { margin-top: .5rem; }
  .hero__content, .split-feature, .service-detail, .contact-layout { grid-template-columns: 1fr; }
  .hero__content { gap: 3rem; }
  .hero__aside { max-width: 420px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(1), .service-card:nth-child(8) { grid-column: span 1; }
  .split-feature__media img { min-height: 430px; }
  .process { grid-template-columns: 1fr; }
  .contact-band__inner { align-items: start; flex-direction: column; }
  .contact-band__actions { justify-content: start; }
  .service-hero { grid-template-columns: 1fr; }
  .service-hero__copy { padding: 4.5rem max(1rem, calc((100vw - var(--content)) / 2)); }
  .service-hero__media { min-height: 480px; }
  .service-detail__panel { position: static; }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  h1 { font-size: clamp(3.3rem, 17vw, 5rem); }
  .site-header__inner { min-height: 72px; }
  .site-nav { inset-block-start: 72px; }
  .brand-link img { width: 175px; }
  .hero { min-height: calc(100svh - 72px); }
  .hero::after { background: linear-gradient(0deg, oklch(0.08 0 0 / .9), oklch(0.08 0 0 / .22)); }
  .hero__content { padding-block: 3.5rem; }
  .hero__aside { display: none; }
  .trust-strip__inner { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n + 2) { border-bottom: 1px solid oklch(0.64 0.12 105); }
  .section-heading { align-items: start; flex-direction: column; }
  .service-grid, .related-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; }
  .split-feature__media img { min-height: 350px; }
  .contact-band__actions { width: 100%; }
  .contact-band__actions .button { width: 100%; }
  .service-hero__media { min-height: 380px; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__bottom { align-items: start; flex-direction: column; gap: .5rem; }
}

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