:root {
  --ink: #102d32;
  --ink-deep: #07191c;
  --plaster: #f4f1ea;
  --paper: #fffdf8;
  --line: #d8d3c8;
  --muted: #5f6d6c;
  --accent: #d75a32;
  --accent-dark: #a83d20;
  --sea: #4d9292;
  --display: "DM Serif Display", Georgia, serif;
  --body: "Manrope", Arial, sans-serif;
  --radius: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--plaster); color: var(--ink); font: 400 1rem/1.65 var(--body); }
body, button, input, select, textarea { font-family: var(--body); }
img { display: block; width: 100%; }
a { color: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: #fff; color: #000; padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 50; color: #fff; border-bottom: 1px solid rgba(255,255,255,.22); }
.site-header.is-solid, .portfolio-page .site-header { position: relative; background: var(--ink); }
.header-inner { width: min(1200px, calc(100% - 3rem)); min-height: 5.25rem; margin: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; line-height: 1; }
.brand-mark { font: 400 2rem/1 var(--display); letter-spacing: -.08em; }
.brand-mark span { color: var(--accent); font-style: italic; }
.brand-copy { padding-left: .85rem; border-left: 1px solid currentColor; font-size: .7rem; font-weight: 800; line-height: 1.25; letter-spacing: .16em; text-transform: uppercase; }
.site-nav { justify-self: center; display: flex; align-items: center; gap: 1.7rem; }
.site-nav a { position: relative; text-decoration: none; font-size: .83rem; font-weight: 700; letter-spacing: .02em; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 2px; background: var(--accent); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current="page"]::after { right: 0; }
.header-call { display: flex; flex-direction: column; text-align: right; text-decoration: none; font-size: .95rem; font-weight: 800; line-height: 1.35; }
.header-call span { font-size: .62rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; opacity: .72; }
.menu-toggle { display: none; background: transparent; border: 0; padding: .5rem; }
.menu-toggle > span:not(.sr-only) { display: block; width: 1.5rem; height: 2px; margin: .3rem 0; background: currentColor; }

.hero { min-height: 47rem; background: var(--ink); color: #fff; display: grid; grid-template-columns: minmax(0, .92fr) minmax(30rem, 1.08fr); overflow: hidden; }
.hero-copy { align-self: center; width: min(39rem, calc(100% - 5rem)); justify-self: end; padding: 8rem 3rem 5rem 0; }
.eyebrow { margin: 0 0 1rem; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero h1, .portfolio-hero h1 { margin: 0; font: 400 clamp(3.7rem, 6vw, 6.7rem)/.9 var(--display); letter-spacing: -.045em; }
.hero h1 em, .portfolio-hero h1 em { color: #dfc58d; font-weight: 400; }
.hero-lede { max-width: 36rem; margin: 2rem 0; color: #d9e1df; font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.35rem; padding: 0 1.5rem; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .86rem; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-light { background: var(--paper); color: var(--ink); }
.button-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; color: inherit; font-size: .88rem; font-weight: 800; text-underline-offset: .35rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.6rem; padding: 2.5rem 0 0; margin: 0; list-style: none; color: #bccbc9; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.trust-row li::before { content: "✓"; color: #dfc58d; margin-right: .45rem; }
.hero-media { position: relative; min-height: 47rem; background: #d7dedb; }
.hero-photo { position: absolute; margin: 0; overflow: hidden; }
.hero-photo img { height: 100%; object-fit: cover; }
.hero-photo-main { inset: 0; clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%); }
.hero-photo-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,25,28,.3), transparent 40%); }
.hero-photo-detail { right: 2.25rem; bottom: 2.25rem; width: 31%; height: 42%; border: .55rem solid var(--plaster); box-shadow: 0 1.5rem 4rem rgba(7,25,28,.28); }
.hero-photo figcaption { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; background: rgba(7,25,28,.84); color: #fff; padding: .5rem .75rem; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-stamp { position: absolute; left: -.8rem; bottom: 2.7rem; z-index: 3; width: 7.2rem; height: 7.2rem; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; gap: .55rem; transform: rotate(-8deg); box-shadow: 0 1rem 2rem rgba(7,25,28,.25); }
.hero-stamp strong { font: 400 2.4rem/1 var(--display); }
.hero-stamp span { font-size: .58rem; line-height: 1.25; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.proof-strip { padding: 1.35rem max(1.5rem, calc((100vw - 1200px)/2)); background: #dfc58d; color: var(--ink-deep); display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.proof-strip p { margin: 0; font-size: .9rem; }
.proof-strip a { flex: 0 0 auto; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.section { padding: clamp(5rem, 9vw, 8rem) max(1.5rem, calc((100vw - 1200px)/2)); }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading h2, .comparison-copy h2, .about h2, .area-section h2, .contact-section h2, .portfolio-cta h2 { margin: 0; font: 400 clamp(2.6rem, 4.6vw, 4.8rem)/.98 var(--display); letter-spacing: -.035em; }
.section-heading > p { max-width: 34rem; margin: 0 0 .45rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card, .service-cta { min-height: 25rem; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-number { color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.service-card h3, .service-cta h3 { margin: 4rem 0 1rem; font: 400 2rem/1 var(--display); }
.service-card p { color: var(--muted); font-size: .92rem; }
.service-card ul { margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.service-card li { padding: .55rem 0; border-top: 1px solid var(--line); }
.service-card-featured { background: var(--paper); }
.service-cta { background: var(--accent); color: #fff; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.service-cta p { margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-cta h3 { margin: 1rem 0 2rem; }

.work-section { background: var(--ink-deep); color: #fff; }
.section-heading.light > p { color: #aec0bd; }
.project-grid { display: grid; grid-template-columns: 1.4fr .6fr 1fr; grid-template-rows: 19rem 19rem; gap: .8rem; }
.project { position: relative; min-height: 0; padding: 0; border: 0; overflow: hidden; background: #203a3e; cursor: zoom-in; text-align: left; }
.project img { height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.project:hover img { transform: scale(1.035); }
.project::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.project span { position: absolute; z-index: 2; left: 1.25rem; bottom: 1.15rem; color: #fff; display: flex; flex-direction: column; }
.project b { font: 400 1.4rem/1.15 var(--display); }
.project small { margin-top: .35rem; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #dfc58d; }
.project-wide { grid-row: 1 / 3; }
.project-tall { grid-row: 1 / 3; grid-column: 2; }
.work-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2rem; }
.work-footer p { color: #aec0bd; }

.before-after { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; background: var(--paper); }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.comparison figure { position: relative; margin: 0; height: 34rem; overflow: hidden; }
.comparison img { height: 100%; object-fit: cover; }
.comparison figcaption { position: absolute; left: 1rem; top: 1rem; padding: .5rem .75rem; background: var(--ink); color: #fff; font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.comparison-copy p:not(.eyebrow) { margin: 1.6rem 0; color: var(--muted); }

.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(4rem, 10vw, 9rem); }
.about-copy { position: relative; }
.about-copy::before { content: "K&C"; position: absolute; top: -4rem; left: -2rem; font: 400 11rem/1 var(--display); color: rgba(16,45,50,.045); white-space: nowrap; pointer-events: none; }
.about-body .lead { margin-top: 0; font: 400 1.65rem/1.35 var(--display); }
.about-body > p:not(.lead) { color: var(--muted); }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.process div { border-top: 3px solid var(--accent); padding-top: 1rem; }
.process span { display: block; color: var(--accent); font-size: .7rem; font-weight: 800; }
.process b { display: block; margin: .65rem 0; font-size: .9rem; }
.process p { margin: 0; color: var(--muted); font-size: .79rem; }

.area-section { padding: clamp(5rem, 9vw, 8rem) max(1.5rem, calc((100vw - 1200px)/2)); background: #dfe7e4; }
.area-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.area-inner ul { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; border-top: 1px solid #b6c7c3; list-style: none; }
.area-inner li { padding: .85rem 0; border-bottom: 1px solid #b6c7c3; font-size: .85rem; font-weight: 700; }
.area-inner li::before { content: "•"; color: var(--accent); margin-right: .6rem; }

.contact-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(4rem, 10vw, 9rem); background: var(--ink); color: #fff; }
.contact-intro > p:not(.eyebrow) { max-width: 30rem; color: #bac9c7; }
.contact-lines { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.2); }
.contact-lines a { display: flex; flex-direction: column; padding: 1.15rem 0; border-bottom: 1px solid rgba(255,255,255,.2); text-decoration: none; }
.contact-lines span { font-size: .65rem; color: #dfc58d; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-lines strong { margin-top: .25rem; font-size: 1.05rem; overflow-wrap: anywhere; }
.form-shell { background: var(--paper); color: var(--ink); padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; margin-bottom: 1rem; font-size: .76rem; font-weight: 800; letter-spacing: .025em; }
input, select, textarea { width: 100%; margin-top: .45rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: .65rem; background: #fff; color: var(--ink); font-size: 1rem; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(77,146,146,.25); border-color: var(--sea); }
textarea { resize: vertical; }
.submit-button { width: 100%; border: 0; }
.submit-button:disabled { opacity: .65; cursor: wait; }
.form-note { margin: .75rem 0 0; color: var(--muted); text-align: center; font-size: .72rem; }
.form-status { margin-top: 1rem; padding: 0; font-size: .84rem; }
.form-status.success, .form-status.error { padding: .85rem 1rem; border-radius: .6rem; }
.form-status.success { background: #e3f3ec; color: #135c3e; }
.form-status.error { background: #fbe7e1; color: #8b2f18; }
.honeypot { position: absolute; left: -9999px; }

.site-footer { padding: 3.5rem max(1.5rem, calc((100vw - 1200px)/2)) 2rem; background: var(--ink-deep); color: #fff; }
.footer-top { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 3rem; align-items: center; }
.brand-footer { justify-self: start; }
.footer-top p { color: #9cb0ad; font-size: .84rem; }
.footer-phone { justify-self: end; color: #dfc58d; font: 400 1.6rem/1 var(--display); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.13); color: #78908c; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mobile-call { display: none; }

.lightbox { width: min(92vw, 72rem); max-width: none; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(4,13,15,.94); backdrop-filter: blur(8px); }
.lightbox img { max-height: 78vh; object-fit: contain; }
.lightbox p { margin: .8rem 0 0; text-align: center; font-size: .8rem; font-weight: 700; }
.lightbox-close { position: fixed; right: 1.5rem; top: 1rem; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.4); color: #fff; font-size: 1.8rem; cursor: pointer; }

.portfolio-page { background: var(--paper); }
.portfolio-hero { padding: clamp(5rem, 9vw, 8rem) max(1.5rem, calc((100vw - 1200px)/2)) 4rem; background: var(--ink); color: #fff; }
.portfolio-hero h1 { max-width: 55rem; }
.portfolio-hero > p:last-child { max-width: 42rem; margin: 2rem 0 0; color: #b7c8c5; }
.portfolio-gallery { padding: 3rem max(1.5rem, calc((100vw - 1200px)/2)) 7rem; }
.filter-bar { position: sticky; top: 0; z-index: 20; display: flex; gap: .5rem; overflow-x: auto; padding: 1rem 0; background: rgba(255,253,248,.94); backdrop-filter: blur(10px); }
.filter-bar button { flex: 0 0 auto; padding: .7rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .75rem; font-weight: 800; cursor: pointer; }
.filter-bar button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; grid-auto-rows: 15rem; gap: .7rem; }
.gallery-item { position: relative; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: #dfe7e4; text-align: left; }
.gallery-item[hidden] { display: none; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.gallery-item span { position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: .85rem; color: #fff; font-size: .76rem; font-weight: 800; }
.gallery-landscape { grid-column: span 2; }
.gallery-portrait { grid-row: span 2; }
.portfolio-cta { padding: 6rem max(1.5rem, calc((100vw - 1200px)/2)); background: #dfe7e4; text-align: center; }
.portfolio-cta div { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation-duration: .01ms !important; } }

@media (max-width: 980px) {
  .header-inner { width: min(100% - 2rem, 1200px); grid-template-columns: auto auto 1fr; gap: 1rem; }
  .menu-toggle { display: block; justify-self: end; grid-column: 2; }
  .site-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: 4.65rem; padding: 1rem; border-radius: .85rem; background: var(--paper); color: var(--ink); box-shadow: 0 1rem 3rem rgba(0,0,0,.25); flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .8rem; }
  .header-call { grid-column: 3; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { width: min(100% - 3rem, 46rem); justify-self: start; padding: 9rem 0 4rem; margin: auto; }
  .hero-media { min-height: 34rem; }
  .hero-photo-main { clip-path: none; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 24rem 18rem; }
  .project-wide { grid-column: 1 / 3; grid-row: 1; }
  .project-tall { grid-row: 2; grid-column: 1; }
  .before-after { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .area-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-section { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  body { padding-bottom: 4rem; }
  .header-inner { min-height: 4.5rem; }
  .brand-mark { font-size: 1.65rem; }
  .brand-copy { font-size: .58rem; }
  .header-call { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { grid-column: 2; }
  .site-nav { top: 4.15rem; }
  .hero { min-height: 0; }
  .hero-copy { width: calc(100% - 2.5rem); padding-top: 7.5rem; }
  .hero h1, .portfolio-hero h1 { font-size: clamp(3.2rem, 16vw, 4.8rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .trust-row { gap: .75rem 1rem; }
  .hero-media { min-height: 28rem; }
  .hero-photo-detail { width: 38%; height: 45%; right: 1rem; bottom: 1rem; border-width: .35rem; }
  .hero-stamp { left: .8rem; bottom: 1rem; width: 6rem; height: 6rem; }
  .proof-strip { align-items: flex-start; flex-direction: column; }
  .section { padding-block: 4.5rem; }
  .section-heading h2, .comparison-copy h2, .about h2, .area-section h2, .contact-section h2, .portfolio-cta h2 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-cta { min-height: auto; }
  .service-card h3 { margin-top: 2rem; }
  .service-cta { min-height: 20rem; }
  .project-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -1.5rem; padding-right: 1.5rem; }
  .project { flex: 0 0 84%; height: 25rem; scroll-snap-align: start; }
  .work-footer { align-items: flex-start; flex-direction: column; }
  .comparison { gap: .35rem; }
  .comparison figure { height: 24rem; }
  .process { grid-template-columns: 1fr; }
  .area-inner ul { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-phone { justify-self: start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .mobile-call { position: fixed; z-index: 60; inset: auto 0 0; height: 4rem; padding: .6rem 1rem; background: var(--accent); color: #fff; text-decoration: none; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 -.5rem 2rem rgba(0,0,0,.22); }
  .mobile-call span { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .mobile-call strong { font-size: 1rem; }
  .portfolio-hero { padding-top: 4.5rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 13rem; }
  .gallery-landscape { grid-column: span 2; }
  .gallery-portrait { grid-row: span 2; }
}

@media (max-width: 430px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 20rem; }
  .gallery-landscape { grid-column: span 1; }
  .gallery-portrait { grid-row: span 1; }
}
