:root {
  --ink: #111111;
  --muted: #444444;
  --soft-muted: #767676;
  --line: #e8e8e8;
  --paper: #ffffff;
  --aqua: #4fc9d9;
  --aqua-ink: #08262c;
  --display: 'Newsreader', Georgia, serif;
  --body: 'Manrope', Helvetica, sans-serif;
  --site-header-height: 70px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--site-header-height); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }

.container { width: min(1240px, 100%); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.site-header { position: sticky; z-index: 60; top: 0; background: rgb(255 255 255 / .88); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--site-header-height); }
.brand { display: inline-flex; align-items: baseline; gap: 9px; font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.brand i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--aqua); }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.desktop-nav > a:not(.button) { color: #444; }
.desktop-nav > a:not(.button):hover { color: var(--ink); }
.button { display: inline-block; border: 0; border-radius: 999px; padding: 17px 34px; background: var(--aqua); color: var(--aqua-ink); font-size: 15.5px; font-weight: 800; text-align: center; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { background: var(--ink); color: white; transform: translateY(-1px); }
.button-small { padding: 11px 20px; font-size: 12px; letter-spacing: .06em; }
.menu-button, .mobile-nav { display: none; }

.calculator-section { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); background: white; }
.calculator-section::before, .calculator-section::after { position: absolute; z-index: -1; inset: 0; content: ''; pointer-events: none; }
.calculator-section::before { background: radial-gradient(circle at 16% 12%, rgb(79 201 217 / .12), transparent 28%), radial-gradient(circle at 83% 72%, rgb(79 201 217 / .08), transparent 30%), repeating-linear-gradient(118deg, rgb(17 17 17 / .065) 0 1px, transparent 1px 58px), repeating-linear-gradient(28deg, rgb(79 201 217 / .13) 0 1px, transparent 1px 132px), linear-gradient(118deg, #ffffff 0%, #f8fcfc 52%, #ffffff 100%); background-position: 0 0, 0 0, 0 0, 0 0, 0 0; clip-path: inset(0); transition: background-position 1.1s cubic-bezier(.22,.85,.3,1), filter .8s ease; }
.calculator-section::after { background: linear-gradient(105deg, rgb(255 255 255 / .28) 0%, transparent 48%, rgb(255 255 255 / .38) 100%); transition: background .7s ease; }
.calculator-intro { position: relative; width: min(780px, 100%); margin: 0 auto; padding: clamp(44px, 6vw, 86px) clamp(16px, 4vw, 40px) 0; color: var(--ink); text-align: center; }
.eyebrow, .section-label { margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow { margin-bottom: 22px; color: var(--soft-muted); transition: color .35s ease, letter-spacing .5s ease; }
.eyebrow span { padding-inline: 10px; }
.calculator-intro h1 { max-width: 26ch; margin: 0 auto; font-family: var(--display); font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 500; line-height: 1.04; letter-spacing: -.026em; text-wrap: balance; }
.calculator-intro h1 em { font-style: italic; }
.calculator-intro > p:last-child { max-width: 58ch; margin: 20px auto 0; color: var(--muted); font-size: clamp(.98rem, 1.9vw, 1.08rem); text-wrap: pretty; }

/* The engine is imported intact from the supplied archive; these values make it match the page design. */
#rk-calculator { position: relative; z-index: 1; max-width: 940px; margin: clamp(28px, 4vw, 48px) auto clamp(40px, 6vw, 80px); padding: clamp(20px, 3vw, 34px) clamp(16px, 3vw, 34px) clamp(28px, 4vw, 44px) !important; border: 1px solid var(--line); background: #fafafa !important; transition: box-shadow .55s ease, transform .55s cubic-bezier(.22,.85,.3,1); }
#rk-calculator .rk-shell { max-width: none; }
#rk-calculator .rk-tile, #rk-calculator .rk-breakdown { background: #fff; }
#rk-calculator .rk-panel { top: calc(var(--site-header-height) + 10px); border: 0 !important; background: #0a0a0a !important; color: #fff !important; box-shadow: none !important; }
#calculator-start { scroll-margin-top: 270px; }
#rk-calculator .rk-panel-label, #rk-calculator .rk-meter-label, #rk-calculator .rk-stat-label { color: rgb(255 255 255 / .6) !important; }
#rk-calculator .rk-panel-note { color: rgb(255 255 255 / .7) !important; }
#rk-calculator .rk-price .rk-dash { color: var(--aqua) !important; }
#rk-calculator .rk-meter-track { background: rgb(255 255 255 / .18) !important; }
#rk-calculator .rk-stats { border-top-color: rgb(255 255 255 / .16) !important; }
#rk-calculator .rk-cta { border: 0 !important; background: #0a0a0a !important; color: #fff !important; }
#rk-calculator .rk-cta-fine { color: rgb(255 255 255 / .58) !important; }

@media (hover: hover) {
  .calculator-section:hover::before { background-position: 0 0, 0 0, 24px -12px, -18px 10px, 0 0; filter: saturate(1.13) brightness(.99); }
  .calculator-section:hover::after { background: linear-gradient(105deg, transparent 0%, rgb(79 201 217 / .07) 48%, transparent 100%); }
  .calculator-section:hover .eyebrow { color: var(--aqua); letter-spacing: .27em; }
  .calculator-section:hover .calculator-intro h1 { text-shadow: 0 10px 34px rgb(12 56 64 / .12); }
  .calculator-section:hover #rk-calculator { box-shadow: 0 22px 52px rgb(0 18 20 / .18); transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .calculator-section::before, .calculator-section::after, .eyebrow, #rk-calculator { transition: none; }
}

@media (max-width: 640px) {
  #rk-calculator .rk-panel { top: calc(var(--site-header-height) + 8px); margin-bottom: 18px; }
  #rk-calculator .rk-panel-note { -webkit-line-clamp: 2; }
  #rk-calculator .rk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  #rk-calculator .rk-stat-label { font-size: 9px; letter-spacing: .08em; }
  #calculator-start { scroll-margin-top: 260px; }
}

.section { border-bottom: 1px solid var(--line); background: white; }
.section > .container { padding-top: clamp(52px, 7vw, 96px); padding-bottom: clamp(52px, 7vw, 96px); }
.section-intro > .container { padding-top: clamp(36px, 6vw, 78px); padding-bottom: clamp(46px, 7vw, 88px); }
.intro-grid, .two-column, .about-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 5vw, 70px); align-items: center; }
.section-label { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; color: var(--ink); }
.section-label span { color: var(--aqua); font-family: var(--display); font-size: 14px; letter-spacing: normal; }
h2 { margin: 0 0 18px; font-family: var(--display); font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 500; line-height: 1.06; letter-spacing: -.022em; text-wrap: balance; }
.intro-grid h2 { max-width: 25ch; font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: 22px; }
.section p { color: var(--muted); text-wrap: pretty; }
.intro-grid .lead { max-width: 48ch; margin: 0 0 30px; font-size: clamp(1.02rem, 2.1vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-bottom: 40px; }
.text-link { width: fit-content; border-bottom: 1px solid var(--aqua); padding-bottom: 3px; font-size: 15px; font-weight: 700; }
.text-link:hover { border-color: var(--ink); }
.caps { font-size: 13px; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-block: 1px solid var(--line); background: var(--line); }
.stats-grid > div { padding: 18px 0 18px 18px; background: white; }
.stats-grid > div:first-child { padding-left: 0; }
.stats-grid strong { display: block; margin-bottom: 8px; font-family: var(--display); font-size: 1.6rem; font-weight: 500; line-height: 1; }
.stats-grid span { display: block; color: var(--soft-muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; line-height: 1.45; text-transform: uppercase; }
.intro-image { position: relative; }
.intro-image > img { width: 100%; height: clamp(320px, 48vw, 580px); border-radius: 2px; object-fit: cover; }
.intro-image aside { position: absolute; right: -10px; bottom: -18px; max-width: 262px; padding: 18px 22px; border: 1px solid var(--line); background: white; box-shadow: 0 18px 40px rgb(0 0 0 / .1); }
.intro-image aside strong { display: block; margin-bottom: 8px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.intro-image aside span { display: block; font-size: 14px; line-height: 1.5; }

.section-heading { margin-bottom: 38px; }
.section-heading-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-heading h2 { max-width: 30ch; margin-bottom: 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.project { min-width: 0; margin: 0; overflow: hidden; }
.project-image { overflow: hidden; border-radius: 2px; }
.project img { width: 100%; height: clamp(230px, 26vw, 300px); object-fit: cover; transition: transform .7s cubic-bezier(.22,.85,.3,1); }
.project.tall img { height: clamp(250px, 30vw, 360px); }
.project:hover img { transform: scale(1.035); }
.project figcaption { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--soft-muted); font-size: 13px; }
.image-band { position: relative; height: clamp(260px, 34vw, 460px); overflow: hidden; }
.image-band::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / .94) 0%, rgb(255 255 255 / .82) 42%, transparent 78%); content: ''; }
.image-band img { width: 100%; height: 100%; object-fit: cover; }
.image-band p { position: absolute; z-index: 1; top: 50%; left: clamp(16px, 4vw, 40px); max-width: min(60%, 22ch); margin: 0; transform: translateY(-50%); font-family: var(--display); font-size: clamp(1.3rem, 3vw, 2.1rem); font-weight: 500; line-height: 1.2; letter-spacing: -.018em; text-wrap: balance; }

.two-column { align-items: start; }
.two-column > div > p:not(.section-label) { max-width: 44ch; margin: 0; }
.two-column h2 { max-width: 22ch; }
.material { display: flex; gap: clamp(14px, 2vw, 26px); padding: 22px 0; border-top: 1px solid var(--line); }
.material:last-child { border-bottom: 1px solid var(--line); }
.material > span { padding-top: 6px; color: var(--aqua); font-family: var(--display); font-size: 13px; }
.material h3 { margin: 0 0 8px; font-family: var(--display); font-size: 1.28rem; font-weight: 600; }
.material p { margin: 0 0 10px; font-size: 14.5px; }
.material strong { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.about-grid { gap: clamp(34px, 5vw, 70px); }
.about-image { position: relative; padding: 0 14px 14px 0; }
.about-image::after { position: absolute; right: 0; bottom: 0; width: 72%; height: 72%; border: 1px solid var(--aqua); border-radius: 2px; content: ''; }
.about-image img { position: relative; z-index: 1; width: 100%; height: clamp(290px, 34vw, 450px); border-radius: 2px; object-fit: cover; }
.about-grid p:not(.section-label) { max-width: 52ch; margin: 0 0 16px; }
.about-grid p:nth-last-of-type(1) { margin-bottom: 30px; }
.about-stats strong { font-size: 1.4rem; }

.faq-grid { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr); gap: clamp(30px, 5vw, 64px); }
.faq-grid h2 { max-width: 18ch; }
.faq-list details { padding: 22px 0; border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: flex-start; gap: 16px; cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.16rem; font-weight: 600; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex: none; color: var(--aqua); font-family: var(--body); font-size: 18px; font-weight: 600; line-height: 1.2; transition: transform .26s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { max-width: 66ch; margin: 12px 0 0 34px; font-size: 15px; }

.contact-grid { align-items: start; }
.contact-grid h2 { max-width: 22ch; font-size: clamp(1.85rem, 4vw, 2.85rem); }
.contact-grid > div > p:not(.section-label) { max-width: 46ch; margin: 0 0 28px; }
.contact-grid > div img { width: 100%; height: clamp(190px, 22vw, 270px); border-radius: 2px; object-fit: cover; }
.contact-form { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3.4vw, 36px); border: 1px solid var(--line); border-top: 3px solid var(--aqua); border-radius: 2px; }
.contact-form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-form label { display: block; }
.contact-form label > span { display: block; margin-bottom: 8px; color: var(--soft-muted); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #ccc; border-radius: 0; background: transparent; color: var(--ink); font-size: 15px; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--aqua); outline: none; }
.contact-form .button { width: 100%; margin-top: 4px; }
.contact-form .button:disabled { cursor: default; background: #0a0a0a; color: white; transform: none; }
.form-note { margin: 0; color: var(--soft-muted); font-size: 12px; }

.site-footer { background: #0a0a0a; color: rgb(255 255 255 / .62); }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 40px; padding-top: clamp(34px, 4vw, 54px); padding-bottom: clamp(34px, 4vw, 54px); font-size: 13px; }
.footer-grid strong { display: block; margin-bottom: 10px; color: white; font-family: var(--display); font-size: 19px; font-weight: 500; }
.footer-grid p { max-width: 46ch; margin: 0; }
.footer-grid > div:nth-child(2) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid > div:nth-child(2) span, .footer-grid > div:nth-child(3) > span { margin-bottom: 1px; color: var(--aqua); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-grid a { color: rgb(255 255 255 / .72); }
.footer-grid a:hover { color: var(--aqua); }

@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .menu-button { display: flex; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; background: transparent; }
  .menu-button span { display: block; width: 22px; height: 1.5px; background: var(--ink); }
  .mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 10px clamp(16px, 4vw, 40px) 20px; border-top: 1px solid var(--line); background: white; }
  .mobile-nav[data-open] { display: flex; }
  .mobile-nav > a:not(.button) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; }
  .mobile-nav .button { margin-top: 14px; padding: 15px; font-size: 14px; }
  #rk-calculator { border-right: 0; border-left: 0; }
  #rk-calculator .rk-panel { position: sticky; top: calc(62px + env(safe-area-inset-top)); z-index: 55; margin-bottom: 18px; }
}

@media (max-width: 740px) {
  .intro-grid, .two-column, .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-image { margin-bottom: 18px; }
  .image-band::after { background: linear-gradient(90deg, rgb(255 255 255 / .94) 0%, rgb(255 255 255 / .76) 65%, transparent 100%); }
  .image-band p { max-width: 60%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .header-inner { min-height: 62px; }
  .brand { font-size: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid > div, .stats-grid > div:first-child { padding-left: 0; }
  .project-grid { grid-template-columns: 1fr; }
  .image-band p { max-width: 78%; }
  #rk-calculator { padding-right: 14px !important; padding-left: 14px !important; }
}

.sitemap-page { min-height: calc(100vh - 70px); padding-block: clamp(56px, 9vw, 120px); }
.sitemap-page h1 { max-width: 18ch; margin: 0 0 16px; font-family: var(--display); font-size: clamp(2.35rem, 5vw, 4.4rem); font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.sitemap-page > p { max-width: 60ch; margin: 0 0 40px; color: var(--muted); }
.sitemap-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.sitemap-list li { border-bottom: 1px solid var(--line); }
.sitemap-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr); gap: 24px; padding: 24px 0; }
.sitemap-list a:hover h2 { color: #147f90; }
.sitemap-list h2 { margin: 0 0 4px; font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.sitemap-list p { margin: 0; color: var(--muted); font-size: 14px; }
.sitemap-list span { color: var(--soft-muted); font-size: 13px; text-align: right; }

@media (max-width: 600px) {
  .sitemap-list a { grid-template-columns: 1fr; gap: 6px; }
  .sitemap-list span { text-align: left; }
}
