:root {
  --ultramar: #303d45;
  --deep: #102f3b;
  --stone: #d9dcd3;
  --verm: #cd5426;
  --neutral: #f7f7f2;
  --ink: #173542;
  --white: #ffffff;
  --line: rgba(23, 53, 66, .17);
  --light-line: rgba(247, 247, 242, .2);
  --pad: clamp(1.2rem, 4.8vw, 5.5rem);
  --content: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--neutral); color: var(--ink); font-family: "Inter", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
em { color: var(--verm); font-family: inherit; font-style: normal; }
section { position: relative; }
.skip-link { position: fixed; top: 0; left: 1rem; z-index: 1000; transform: translateY(-120%); padding: .75rem 1rem; background: var(--neutral); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.section-pad { padding: clamp(5.5rem, 11vw, 9rem) var(--pad); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
::selection { background: var(--verm); color: var(--neutral); }
:focus-visible { outline: 2px solid var(--verm); outline-offset: 5px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; min-height: 72px; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 0 var(--pad); color: var(--neutral); transition: background .3s, color .3s, min-height .3s; }
.site-header.scrolled { min-height: 64px; background: rgba(247,247,242,.94); color: var(--ink); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand-logo { position: relative; width: 7.7rem; height: 2.2rem; }
.brand-logo img { position: absolute; top: 50%; left: 0; width: 100%; transform: translateY(-50%); transition: opacity .25s; }
.brand-logo-dark { opacity: 0; }
.site-header.scrolled .brand-logo-light { opacity: 0; }
.site-header.scrolled .brand-logo-dark { opacity: 1; }
.desktop-nav, .header-cta { display: none; }
.menu-toggle { display: grid; gap: 7px; place-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: currentColor; }
.menu-toggle span { width: 24px; height: 1px; background: currentColor; transition: transform .25s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; inset: 64px 0 auto; padding: 2rem var(--pad) 3rem; background: var(--neutral); color: var(--ink); border-bottom: 1px solid var(--line); flex-direction: column; gap: 1.4rem; font-family: "DM Serif Display", Georgia, serif; font-size: 1.55rem; }
.mobile-nav.open { display: flex; }

.hero { min-height: max(850px, 100svh); display: flex; align-items: center; overflow: hidden; background: var(--deep); color: var(--neutral); }
.hero-media { position: absolute; inset: 0; margin: 0; }
.hero-media img { height: 100%; object-fit: cover; object-position: 67% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(16,47,59,.98) 0%, rgba(16,47,59,.9) 54%, rgba(16,47,59,.42) 100%), linear-gradient(0deg, rgba(16,47,59,.85), transparent 45%); }
.hero-copy { position: relative; z-index: 2; width: 100%; max-width: 850px; padding: 7.6rem var(--pad) 10.5rem; }
.eyebrow, .section-tag { margin: 0 0 1.6rem; font-size: .67rem; font-weight: 700; letter-spacing: .16em; line-height: 1.55; text-transform: uppercase; }
.eyebrow { display: flex; gap: .75rem; align-items: center; color: #ef6a37; }
.eyebrow::before { content: ""; width: .48rem; height: .48rem; flex: 0 0 auto; border-radius: 50%; background: #ef6a37; box-shadow: 0 0 0 .35rem rgba(239,106,55,.12); }
.hero h1, h2, h3 { text-wrap: balance; }
.hero h1 { margin: 0; max-width: 12ch; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(3rem, 12.5vw, 5.8rem); font-weight: 400; letter-spacing: -.035em; line-height: .94; }
.hero h1 em { display: block; margin-top: .12em; color: #ef6a37; }
.hero-lead { max-width: 56ch; margin: 1.8rem 0 .75rem; font-size: clamp(1.05rem, 2.3vw, 1.3rem); font-weight: 500; line-height: 1.55; }
.hero-detail { max-width: 62ch; margin: 0 0 1.8rem; color: rgba(247,247,242,.68); font-size: .9rem; line-height: 1.7; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.3rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.4rem; min-height: 52px; padding: .9rem 1.15rem; border: 1px solid currentColor; font-size: .68rem; font-weight: 700; letter-spacing: .085em; text-transform: uppercase; transition: transform .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-2px); }
.button-accent { border-color: var(--verm); background: var(--verm); color: var(--neutral); }
.button-accent:hover { background: #b9471e; }
.text-link { padding-bottom: .32rem; border-bottom: 1px solid rgba(247,247,242,.5); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hero-rail { position: absolute; z-index: 2; inset: auto 0 0; display: flex; overflow-x: auto; background: rgba(16,47,59,.86); border-top: 1px solid rgba(247,247,242,.22); backdrop-filter: blur(10px); scrollbar-width: none; }
.hero-rail span { min-width: 15rem; flex: 1 0 auto; padding: 1.15rem var(--pad); border-right: 1px solid rgba(247,247,242,.18); font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }

.section-intro, .focus-heading { width: min(100%, var(--content)); margin: 0 auto; }
.section-tag { display: flex; align-items: center; gap: .65rem; color: var(--verm); }
.section-tag::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
.section-tag-light { color: #ef6a37; }
.section-intro h2, .focus-heading h2, .diagnosis h2, .method h2, .technology h2, .about h2, .contact h2 { margin: 0; max-width: 16ch; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2.6rem, 8.5vw, 5.6rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.01; }
.section-summary { max-width: 55ch; margin: 1.6rem 0 0; color: rgba(23,53,66,.68); line-height: 1.7; }

.problem { background: var(--neutral); }
.problem-layout { width: min(100%, var(--content)); margin: 4.5rem auto 0; display: grid; gap: 3rem; }
.problem-copy { max-width: 42rem; }
.problem-copy p { margin: 0 0 1.25rem; color: rgba(23,53,66,.72); font-size: 1rem; line-height: 1.78; }
.problem-copy .lead-copy { color: var(--ink); font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.8rem, 5.5vw, 2.8rem); line-height: 1.15; }
.problem-copy strong { color: var(--ink); font-weight: 600; }
.market-signals { border-top: 1px solid var(--line); }
.market-signals p { display: grid; grid-template-columns: 3rem 1fr; align-items: center; margin: 0; padding: 1.25rem 0; border-bottom: 1px solid var(--line); font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.4rem, 4.8vw, 2rem); }
.market-signals span { color: var(--verm); font-family: "Inter", sans-serif; font-size: .65rem; font-weight: 700; }
.problem-close { width: min(100%, var(--content)); margin: 4.5rem auto 0; padding: 1.6rem; background: var(--ultramar); color: var(--neutral); font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.45rem, 4.7vw, 2.25rem); line-height: 1.25; }

.focus { overflow: hidden; background: var(--deep); color: var(--neutral); }
.focus::after { content: ""; position: absolute; right: -11rem; bottom: -11rem; width: 28rem; height: 28rem; border: 1px solid rgba(239,106,55,.16); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(239,106,55,.025), 0 0 0 10rem rgba(239,106,55,.015); }
.focus-heading { position: relative; z-index: 1; }
.focus-heading h2 { max-width: 15ch; }
.focus-heading h2 em, .method h2 em, .contact h2 em { color: #ef6a37; }
.focus-grid { position: relative; z-index: 1; width: min(100%, var(--content)); margin: 4.5rem auto 0; display: grid; gap: 1rem; }
.focus-card { min-height: 470px; display: flex; flex-direction: column; padding: 1.7rem; }
.focus-card-accent { background: var(--verm); }
.focus-card-stone { background: var(--stone); color: var(--ink); }
.card-number { align-self: flex-end; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border: 1px solid currentColor; border-radius: 50%; font-size: .65rem; }
.card-label { margin: auto 0 1rem; font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.focus-card h3 { margin: 0 0 1.5rem; max-width: 17ch; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2rem, 6.5vw, 3.35rem); font-weight: 400; line-height: 1.06; }
.focus-card > p:last-child { margin: 0; max-width: 46ch; color: rgba(247,247,242,.75); line-height: 1.7; }
.focus-card-stone > p:last-child { color: rgba(23,53,66,.72); }

.services { background: var(--neutral); }
.service-list { width: min(100%, var(--content)); margin: 4.5rem auto 0; border-top: 1px solid var(--line); }
.service-panel { display: grid; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.service-head { display: flex; align-items: center; gap: 1rem; }
.service-head span { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border: 1px solid var(--verm); border-radius: 50%; color: var(--verm); font-size: .65rem; font-weight: 700; }
.service-head p { margin: 0; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.service-body h3 { margin: 0 0 1.3rem; max-width: 22ch; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 400; line-height: 1.08; }
.service-body > p { max-width: 61ch; margin: 0 0 1.8rem; color: rgba(23,53,66,.7); line-height: 1.72; }
.service-body ul { display: grid; gap: .75rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.service-body li { position: relative; padding-left: 1.1rem; font-size: .86rem; line-height: 1.55; }
.service-body li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .35rem; height: .35rem; border-radius: 50%; background: var(--verm); }
.service-result { max-width: 48rem; padding: 1.15rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-result small { display: block; margin-bottom: .5rem; color: var(--verm); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.service-result strong { font-family: "DM Serif Display", Georgia, serif; font-size: 1.2rem; font-weight: 400; line-height: 1.4; }
.service-link { display: inline-flex; justify-content: space-between; gap: 1.5rem; margin-top: 1.5rem; padding-bottom: .45rem; border-bottom: 1px solid var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.service-link span { color: var(--verm); }

.diagnosis { display: grid; gap: 3.5rem; background: var(--stone); }
.diagnosis-media { min-height: 430px; overflow: hidden; }
.diagnosis-media img { height: 100%; object-fit: cover; }
.diagnosis h2 { max-width: 12ch; }
.diagnosis-intro { max-width: 55ch; margin: 1.5rem 0 2.5rem; color: rgba(23,53,66,.72); line-height: 1.7; }
.journey-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(23,53,66,.25); }
.journey-list li { display: grid; grid-template-columns: 2.8rem 1fr; gap: .8rem; padding: 1.15rem 0; border-bottom: 1px solid rgba(23,53,66,.25); }
.journey-list span { padding-top: .2rem; color: var(--verm); font-size: .65rem; font-weight: 700; }
.journey-list h3 { margin: 0 0 .4rem; font-family: "DM Serif Display", Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.journey-list p { margin: 0; color: rgba(23,53,66,.68); font-size: .85rem; line-height: 1.55; }

.method { display: grid; gap: 4rem; overflow: hidden; background: var(--deep); color: var(--neutral); }
.method-heading > p:last-child { max-width: 55ch; margin: 1.8rem 0 0; color: rgba(247,247,242,.65); line-height: 1.7; }
.method-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--light-line); }
.method-steps li { display: grid; grid-template-columns: 2.8rem 1fr; gap: .8rem; padding: 1.5rem 0; border-bottom: 1px solid var(--light-line); }
.method-steps span { color: #ef6a37; font-size: .65rem; font-weight: 700; }
.method-steps h3 { margin: 0 0 .4rem; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.55rem, 5.5vw, 2.2rem); font-weight: 400; }
.method-steps p { margin: 0; color: rgba(247,247,242,.62); font-size: .86rem; line-height: 1.6; }

.technology { display: grid; gap: 4rem; background: var(--stone); }
.technology h2 { max-width: 13ch; }
.technology-copy > p:not(.section-tag) { max-width: 58ch; margin: 1.6rem 0 2rem; color: rgba(23,53,66,.72); line-height: 1.7; }
.button-dark { background: var(--ultramar); color: var(--neutral); }
.button-dark:hover { background: var(--deep); }
.technology-list { border-top: 1px solid rgba(23,53,66,.3); }
.technology-list p { position: relative; margin: 0; padding: 1.2rem 2.8rem 1.2rem 0; border-bottom: 1px solid rgba(23,53,66,.3); font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.4rem, 5vw, 2rem); }
.technology-list p::after { content: "+"; position: absolute; right: 0; color: var(--verm); }

.start { background: var(--neutral); }
.start-list { width: min(100%, var(--content)); margin: 4.5rem auto 0; border-top: 1px solid var(--line); }
.start-row { position: relative; display: grid; grid-template-columns: 2.8rem 1fr; gap: .75rem; padding: 1.5rem 2.8rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.start-row::after { content: "↗"; position: absolute; right: 0; top: 1.55rem; color: var(--verm); }
.start-row > span { color: var(--verm); font-size: .65rem; font-weight: 700; }
.start-row h3 { margin: 0; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.45rem, 5vw, 2.15rem); font-weight: 400; line-height: 1.15; }
.start-row p { grid-column: 2; margin: .3rem 0 0; color: rgba(23,53,66,.65); font-size: .84rem; line-height: 1.55; }

.about { display: grid; gap: 3.5rem; background: var(--white); }
.about-media { min-height: 520px; overflow: hidden; }
.about-media img { height: 100%; object-fit: cover; object-position: center 54%; }
.about h2 { max-width: 12ch; }
.about-copy > p:not(.section-tag) { max-width: 58ch; margin: 1.25rem 0 0; color: rgba(23,53,66,.72); line-height: 1.72; }
.about-copy > p:first-of-type:not(.section-tag) { color: var(--ink); font-family: "DM Serif Display", Georgia, serif; font-size: 1.35rem; }

.contact { overflow: hidden; padding: clamp(6rem, 12vw, 10rem) var(--pad); background: var(--ultramar); color: var(--neutral); }
.contact::after { content: ""; position: absolute; right: -8rem; bottom: -10rem; width: 27rem; height: 27rem; border: 1px solid rgba(239,106,55,.22); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(239,106,55,.025), 0 0 0 10rem rgba(239,106,55,.015); }
.contact-copy { position: relative; z-index: 1; width: min(100%, var(--content)); margin: 0 auto; }
.contact h2 { max-width: 15ch; }
.contact-copy > p:not(.eyebrow) { max-width: 50ch; margin: 1.8rem 0; color: rgba(247,247,242,.72); font-size: 1rem; line-height: 1.7; }

.site-footer { padding: clamp(4.5rem, 8vw, 7rem) var(--pad) 2rem; border-top: 4px solid var(--verm); background: var(--deep); color: var(--neutral); }
.footer-main, .footer-bottom { width: min(100%, var(--content)); margin: 0 auto; }
.footer-main { display: grid; gap: 4rem; }
.footer-brand a { display: block; width: clamp(11rem, 28vw, 18rem); }
.footer-brand p { margin: 2rem 0 0; padding-left: 1.1rem; border-left: 3px solid var(--verm); font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.5rem, 4.2vw, 2.2rem); line-height: 1.25; }
.footer-nav { display: grid; }
.footer-nav > p { margin: 0 0 1rem; color: #ef6a37; font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.footer-nav a { padding: .8rem 0; border-bottom: 1px solid var(--light-line); font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.footer-nav .footer-cta { margin-top: 1rem; padding: 1rem; border: 1px solid rgba(247,247,242,.35); text-align: center; }
.footer-bottom { display: flex; flex-direction: column; gap: .7rem; margin-top: 4rem; padding-top: 1.3rem; border-top: 1px solid var(--light-line); color: rgba(247,247,242,.5); font-size: .62rem; letter-spacing: .08em; line-height: 1.6; text-transform: uppercase; }
.footer-bottom p { margin: 0; }

@media (min-width: 700px) {
  .hero-copy { padding-bottom: 8.5rem; }
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-rail span { min-width: 0; text-align: center; }
  .problem-layout { grid-template-columns: 1fr 1fr; align-items: start; }
  .focus-grid { grid-template-columns: 1fr 1fr; }
  .service-body ul { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .diagnosis-media { min-height: 620px; }
  .start-row { grid-template-columns: 3rem 1.25fr .75fr; align-items: center; }
  .start-row p { grid-column: auto; margin: 0; }
  .footer-main { grid-template-columns: 1.35fr .65fr; }
  .footer-nav { justify-self: end; width: min(100%, 19rem); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 1000px) {
  .site-header { min-height: 86px; grid-template-columns: 1fr auto 1fr; }
  .site-header.scrolled { min-height: 72px; }
  .brand-logo { width: 9.3rem; height: 2.7rem; }
  .menu-toggle, .mobile-nav { display: none !important; }
  .desktop-nav { display: flex; gap: 2.1rem; padding: .75rem 1.7rem; border: 1px solid rgba(247,247,242,.34); border-radius: 100px; font-size: .67rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
  .site-header.scrolled .desktop-nav { border-color: rgba(23,53,66,.22); }
  .desktop-nav a { transition: color .2s; }
  .desktop-nav a:hover { color: #ef6a37; }
  .header-cta { display: inline-flex; justify-self: end; align-items: center; gap: 1rem; padding: .8rem 1rem; border: 1px solid currentColor; font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .header-cta span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #ef6a37; color: var(--deep); }
  .hero { min-height: max(900px, 100svh); }
  .hero::before { background: linear-gradient(90deg, rgba(16,47,59,.98) 0%, rgba(16,47,59,.84) 43%, rgba(16,47,59,.14) 76%), linear-gradient(0deg, rgba(16,47,59,.8), transparent 38%); }
  .hero-copy { max-width: 820px; padding-top: 10.5rem; }
  .hero h1 { font-size: clamp(4.6rem, 6.4vw, 6.6rem); }
  .section-intro h2, .focus-heading h2, .diagnosis h2, .method h2, .technology h2, .about h2, .contact h2 { font-size: clamp(4rem, 5.3vw, 6rem); }
  .focus-card { min-height: 590px; padding: 2.7rem; }
  .service-panel { grid-template-columns: .55fr 1.45fr; gap: 5vw; padding: 4rem 0; }
  .service-head { align-items: flex-start; }
  .diagnosis { grid-template-columns: .9fr 1.1fr; gap: 7vw; align-items: start; }
  .diagnosis-media { position: sticky; top: 6rem; height: calc(100svh - 8rem); min-height: 660px; }
  .method { grid-template-columns: .88fr 1.12fr; gap: 7vw; align-items: start; }
  .method-heading { position: sticky; top: 7rem; }
  .method-steps li { padding: 2rem 0; }
  .technology { grid-template-columns: 1.1fr .9fr; gap: 7vw; align-items: start; }
  .technology-list { margin-top: 4.5rem; }
  .about { grid-template-columns: .82fr 1.18fr; gap: 7vw; align-items: center; }
  .about-media { min-height: 760px; }
}

@media (min-width: 1000px) and (max-width: 1230px) {
  .desktop-nav { gap: 1.2rem; padding-inline: 1.2rem; }
  .header-cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: grid !important; }
  .desktop-nav { display: none; }
  .mobile-nav.open { display: flex !important; top: 72px; }
}

@media (hover: hover) {
  .service-panel { transition: padding-left .3s, background .3s; }
  .service-panel:hover { padding-left: 1rem; background: rgba(217,220,211,.26); }
  .service-link:hover, .text-link:hover { color: var(--verm); border-color: var(--verm); }
  .start-row { transition: padding-left .3s, background .3s; }
  .start-row:hover { padding-left: 1rem; background: rgba(217,220,211,.28); }
  .footer-nav a:hover { color: #ef6a37; }
  .footer-nav .footer-cta:hover { background: var(--neutral); color: var(--deep); }
}

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