:root {
    --green: #0b392e;
    --deep: #06281f;
    --gold: #d8b45f;
    --ink: #18372e;
    --paper: #f8f9f5;
    --muted: #5b6c64;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, .button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #b58221; outline-offset: 5px; }

.wrap { max-width: 1220px; margin: auto; padding: 0 36px; }
.draft { padding: 9px 20px; background: var(--gold); color: var(--deep); text-align: center; font-size: 14px; }

header { background: var(--green); color: white; }
nav { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 25px 0; border-bottom: 1px solid #ffffff25; }
.brand { font-family: Georgia, serif; font-size: 24px; line-height: 1.15; }
.brand small { display: block; font-family: Arial, sans-serif; letter-spacing: 2px; font-size: 12px; margin-top: 9px; text-transform: uppercase; color: var(--gold); }
.links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.links a:hover { color: var(--gold); }
.links .nav-contact { border: 1px solid #d8b45f80; padding: 10px 18px; }

.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 65px; align-items: center; padding: 85px 0 80px; }
.hero.no-logo { grid-template-columns: 1fr; }
.eyebrow { font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; font-weight: 700; color: var(--gold); margin: 0 0 23px; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(43px, 5.4vw, 72px); letter-spacing: -1.8px; }
h1 em { color: var(--gold); font-weight: 400; }
.lead { max-width: 530px; color: #d5e0da; margin: 26px 0 32px; font-size: 18px; }
.button { display: inline-block; background: var(--gold); color: var(--deep); padding: 14px 23px; border: 1px solid var(--gold); font-size: 15px; font-weight: 700; }
.button.secondary { background: transparent; color: var(--green); border-color: #acb8af; }
.hero-logo { background: white; padding: 26px; position: relative; border-bottom: 5px solid var(--gold); }
.hero-logo img { width: 100%; height: auto; display: block; }
.hero-note { font-size: 13px; color: #bdcfc4; margin-top: 24px; }

.facts { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); border-top: 1px solid #ffffff25; padding: 25px 0 32px; gap: 25px; }
.facts strong { font-family: Georgia, serif; font-size: 28px; color: var(--gold); font-weight: 400; }
.facts span { display: block; font-size: 14px; color: #d5e0da; }

section { padding: 85px 0; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 38px; }
h2 { font-size: clamp(34px, 4vw, 49px); letter-spacing: -1px; }
.section-top p { max-width: 400px; margin: 0; color: var(--muted); }
.section-top .eyebrow, .about .eyebrow { color: #866322; margin-bottom: 14px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #ccd4cb; border-left: 1px solid #ccd4cb; }
.service { padding: 30px; border-bottom: 1px solid #ccd4cb; border-right: 1px solid #ccd4cb; min-height: 230px; }
.number { font-size: 13px; letter-spacing: 2px; color: #92712f; }
.service h3 { font-size: 29px; margin-top: 28px; }
.service p { font-size: 16px; color: var(--muted); margin-bottom: 0; }
.service.is-featured { background: var(--green); color: white; }
.service.is-featured p { color: #d5e0da; }
.service.is-featured .number { color: var(--gold); }

.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding-top: 0; }
.about.is-first { padding-top: 85px; }
.experience { border-left: 3px solid var(--gold); padding-left: 30px; }
.experience b { font-family: Georgia, serif; font-weight: 400; font-size: 105px; line-height: 1; color: var(--green); }
.experience span { display: block; font-size: 20px; }
.about p { color: var(--muted); margin-bottom: 0; }

.references { background: #eaf0e9; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.photo { margin: 0; background: white; }
.photo-area { aspect-ratio: 4/3; display: grid; place-items: center; background: #dce5da; position: relative; overflow: hidden; }
.photo-area img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.photo-open { width: 100%; padding: 0; border: 0; font: inherit; color: inherit; cursor: zoom-in; }
.photo-open img { transition: transform .5s ease; }
.photo-open:hover img, .photo-open:focus-visible img { transform: scale(1.04); }
.photo-open:focus-visible { outline: 3px solid #b58221; outline-offset: 3px; }
.photo-count { position: absolute; right: 14px; bottom: 14px; z-index: 1; background: var(--deep); color: var(--gold); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; padding: 6px 11px; }
.photo figcaption { padding: 18px 22px; font-family: Georgia, serif; font-size: 23px; }

.contact { background: var(--green); color: white; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; }
.contact h2 { max-width: 550px; }
.contact p { color: #d5e0da; }
.contact-details { display: grid; gap: 20px; align-content: start; }
.contact-details div { border-bottom: 1px solid #ffffff25; padding-bottom: 15px; }
.contact-details small { display: block; color: var(--gold); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.contact-details strong { font-size: 19px; font-weight: 400; overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--gold); }

footer { background: var(--deep); color: #c9d5cd; padding: 24px 0; font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 15px; }

html.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 90px minmax(0, 1fr) 90px; grid-template-rows: minmax(0, 1fr); align-items: center; height: 100vh; height: 100dvh; background: var(--deep); color: white; }
.lightbox[hidden] { display: none; }
.lightbox-stage { margin: 0; height: 100%; min-height: 0; display: grid; grid-template-rows: auto auto; align-content: center; justify-items: center; gap: 18px; padding: 70px 0 34px; }
.lightbox-stage img { max-width: 100%; max-height: calc(100vh - 240px); max-height: calc(100dvh - 240px); object-fit: contain; border-bottom: 4px solid var(--gold); background: #0b392e; }
.lightbox-stage figcaption { text-align: center; max-width: 700px; display: grid; gap: 6px; }
.lightbox-count { font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.lightbox-stage strong { font-family: Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.2; }
.lightbox-text { color: #d5e0da; font-size: 16px; }
.lightbox-button { width: 52px; height: 52px; display: grid; place-items: center; justify-self: center; background: transparent; color: white; border: 1px solid #d8b45f80; }
.lightbox-button:hover { color: var(--gold); border-color: var(--gold); }
.lightbox-button[hidden] { visibility: hidden; display: grid; }
.lightbox-close { position: absolute; top: 16px; right: 16px; z-index: 2; }

@media (max-width: 850px) {
    .hero { gap: 30px; }
    .links { gap: 15px; }
    .services { grid-template-columns: repeat(2, 1fr); }
    .about, .contact-grid { gap: 35px; }
    .hero-logo { padding: 12px; }
}

@media (max-width: 620px) {
    .wrap { padding: 0 22px; }
    nav { align-items: start; flex-direction: column; gap: 20px; }
    .brand { font-size: 23px; }
    .links { width: 100%; justify-content: space-between; gap: 8px; font-size: 14px; }
    .links .nav-contact { padding: 6px 10px; }
    .hero { grid-template-columns: 1fr; padding: 45px 0; gap: 35px; }
    h1 { font-size: 47px; }
    .hero-logo { max-width: 350px; width: 100%; margin: auto; padding: 20px; }
    .facts { gap: 15px; }
    .facts strong { font-size: 23px; }
    .facts span { font-size: 12px; }
    section { padding: 55px 0; }
    .about.is-first { padding-top: 55px; }
    .section-top { display: block; }
    .section-top p { margin-top: 20px; }
    .services, .gallery, .about, .contact-grid { grid-template-columns: 1fr; }
    .service { min-height: 0; padding: 25px; }
    .service h3 { margin-top: 15px; }
    .about { gap: 30px; }
    .experience b { font-size: 80px; }
    .gallery { gap: 25px; }
    .footer-row { flex-direction: column; }
    .contact-details { margin-top: 10px; }
}

@media (max-width: 620px) {
    .lightbox { grid-template-columns: minmax(0, 1fr); }
    .lightbox-stage { padding: 72px 12px 96px; }
    .lightbox-stage img { max-height: calc(100vh - 340px); max-height: calc(100dvh - 340px); }
    .lightbox-stage strong { font-size: 22px; }
    .lightbox-prev, .lightbox-next { position: absolute; bottom: 20px; }
    .lightbox-prev { left: 22px; }
    .lightbox-next { right: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .photo-open img { transition: none; }
}
