/* Scheme Architecture: public website. Handwritten (no build step). Approved palette only; layout follows the approved homepage mockup. */
:root {
    --emerald: #063D32;
    --emerald-soft: #0b5243;
    --gold: #D6A943;
    --gold-dark: #b98d2c;
    --ivory: #F5F1E9;
    --charcoal: #242B27;
    --muted: #5d665f;
    --line: rgba(36, 43, 39, .14);
    --shadow: 0 8px 24px rgba(36, 43, 39, .10);
    --serif: Georgia, "Times New Roman", serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Design foundation (Phase 1). Shared scale for spacing, corners, type and tables so every page uses the same rules.
       Only the four approved colours above (and tints of them) are used. */
    --space-1: .25rem; --space-2: .5rem; --space-3: .8rem; --space-4: 1.2rem; --space-5: 2rem; --space-6: 3.2rem;
    --radius-sm: 8px; --radius-md: 10px; --radius-lg: 14px; --radius-xl: 18px;
    --fs-small: .875rem; --fs-body: 1rem; --fs-lead: 1.15rem;
    --focus-ring: 0 0 0 3px var(--ivory), 0 0 0 6px var(--charcoal);
    --row-stripe: rgba(245, 241, 233, .55);      /* tint of Warm Ivory */
    --row-hover: rgba(214, 169, 67, .16);        /* tint of Champagne Gold */
    --header-h: 132px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site { overflow-x: clip; overflow-wrap: break-word; margin: 0; background: var(--ivory); color: var(--charcoal); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
.site img { max-width: 100%; height: auto; display: block; }
.site a { color: inherit; }
.site h1, .site h2, .site h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .6rem; color: var(--emerald); }
.site h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.site h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.site h3 { font-size: 1.2rem; }
.site p { margin: 0 0 1rem; }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--charcoal); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.site :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
/* A gold button on gold or emerald needs a ring that shows on any background. */
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.site [id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.site-footer address, .info-list li { overflow-wrap: anywhere; }
.icon { flex-shrink: 0; }

/* Header: the original logo, the descriptor under it, the menu in the middle, Admin Panel (gold outline) and Book Consultation (gold) on the right. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--emerald); color: var(--ivory); box-shadow: 0 2px 14px rgba(0, 0, 0, .22); border-bottom: 1px solid rgba(214, 169, 67, .4); }
.site-header .container { width: min(1500px, 100% - 3rem); }
/* Three clearly separate areas on one row: branding (left, takes the free space), main menu and action buttons. The menu and the buttons sit together as a compact group towards the right, with a fixed gap between them, and the buttons stop short of the edge (right padding), so the two groups move towards each other instead of being pushed to opposite ends. The descriptor sits on the second row. */
.site-header .bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: auto auto; column-gap: clamp(1rem, 1.6vw, 1.75rem); align-items: center; padding-top: .6rem; padding-right: clamp(1rem, 3vw, 3.5rem); }
.brand { grid-column: 1; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; min-width: 0; text-decoration: none; }
/* Only the display size is set, always in proportion (the file is 352 x 370, so 92 px is a reduction, never an enlargement). Never stretched, recoloured or placed on a box. */
.brand img { height: 92px; width: auto; }
/* The descriptor sits under the logo: larger and slightly spaced so the four words read clearly; the separators stay gold. */
/* It spans the full header row (the logo column is only as wide as the logo), so the longer text never squeezes the menu; on desktop it stays on one line. */
.brand-descriptor { grid-column: 1 / -1; grid-row: 2; margin: .35rem 0 .75rem; font-size: .95rem; font-weight: 500; letter-spacing: .04em; line-height: 1.4; display: flex; flex-wrap: nowrap; white-space: nowrap; gap: .2rem .65rem; color: var(--ivory); }
.brand-descriptor span { color: var(--gold); font-weight: 400; }
.nav-toggle { flex-shrink: 0; display: none; background: transparent; border: 1px solid rgba(245, 241, 233, .55); color: var(--ivory); border-radius: var(--radius-sm); padding: .6rem 1rem; min-height: 44px; font: inherit; font-weight: 600; cursor: pointer; }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { border-color: var(--gold); color: var(--gold); }
/* On desktop the <nav> only groups the menu and the buttons: its two children become grid items of the header, so each sits in its own area. Below 1240 px it becomes the opened mobile menu (see the responsive block). */
.nav { display: contents; }
.nav ul { grid-column: 2; grid-row: 1; justify-self: end; display: flex; align-items: center; justify-content: center; gap: clamp(.2rem, 1.1vw, 1.4rem); list-style: none; margin: 0; padding: 0; }
.nav a.nav-link, .nav button.nav-link { display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--ivory); font: inherit; font-size: 1rem; padding: .55rem .35rem; text-decoration: none; cursor: pointer; }
.nav a.nav-link:hover, .nav button.nav-link:hover { color: var(--gold); }
.nav a.nav-link[aria-current="page"] { border-bottom-color: var(--gold); }
.has-menu { position: relative; }
.caret { width: .5em; height: .5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.has-menu.is-open > .nav-link .caret, .has-menu > .nav-link[aria-expanded="true"] .caret { transform: rotate(225deg) translateY(-2px); }
.menu-panel { display: none; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; color: var(--charcoal); border-radius: 12px; padding: .6rem; box-shadow: 0 18px 40px rgba(0, 0, 0, .22); border-top: 3px solid var(--gold); z-index: 60; }
.menu-panel a:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; background: var(--ivory); }
.has-menu:hover > .menu-panel, .has-menu:focus-within > .menu-panel, .has-menu.is-open > .menu-panel { display: block; }
.menu-panel a { display: block; padding: .5rem .75rem; border-radius: 8px; text-decoration: none; font-size: .95rem; color: var(--charcoal); }
.menu-panel a:hover { background: var(--ivory); color: var(--emerald); }
.menu-panel .menu-heading { display: block; font-family: var(--serif); font-weight: 700; color: var(--emerald); padding: .5rem .75rem .2rem; text-decoration: none; }
.menu-panel.mega { display: none; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: .5rem 1rem; min-width: 640px; left: 50%; transform: translateX(-50%); }
.has-menu:hover > .menu-panel.mega, .has-menu:focus-within > .menu-panel.mega, .has-menu.is-open > .menu-panel.mega { display: grid; }
.nav-actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: .6rem; }
/* Slimmer header buttons: the border and padding sit closer to the text and icon (the colours are unchanged). Book Consultation keeps its right edge, so it stays where it is while Admin Panel and the menu move towards it. */
.nav-actions .btn { padding: .5rem .95rem; min-height: 44px; gap: .45rem; font-size: .95rem; border-width: 1px; }

/* Buttons: rounded rectangles, as in the mockup */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border-radius: 10px; padding: .8rem 1.4rem; min-height: 46px; font: inherit; line-height: 1.2; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn-gold { background: var(--gold); background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 82%, #fff), var(--gold)); color: var(--charcoal); border-color: var(--gold); box-shadow: 0 6px 18px rgba(214, 169, 67, .35); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ivory); border-color: var(--gold); }
.btn-outline:hover { background: rgba(214, 169, 67, .16); }
.btn-emerald { background: var(--emerald); color: var(--ivory); border-color: var(--emerald); }
.btn-emerald:hover { background: var(--emerald-soft); }
.btn-ghost { background: transparent; color: var(--emerald); border-color: var(--emerald); }
.btn-ghost:hover { background: var(--emerald); color: var(--ivory); }
/* Reusable sizes: primary = .btn-gold (readable charcoal text on gold), secondary = outlined (.btn-outline on emerald, .btn-ghost on ivory/white). */
.btn-sm { min-height: 38px; padding: .5rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

/* Hero: emerald panel on the left, photograph on the right, curved diagonal with a gold accent (approved mockup) */
.hero { position: relative; background: var(--emerald); color: var(--ivory); overflow: hidden; }
.slider { position: relative; display: grid; }
.slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: clamp(520px, 36vw, 680px); opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-photo { position: absolute; top: 0; right: 0; bottom: 0; left: 30%; background-size: cover; background-position: center; }
/* A slide without a photograph (none is invented): emerald with a soft gold glow and fine vertical lines, echoing the timber slats of the approved mockup. */
.slide-photo.no-image { background-image: repeating-linear-gradient(90deg, rgba(214, 169, 67, .08) 0 2px, transparent 2px 54px), radial-gradient(circle at 72% 40%, rgba(214, 169, 67, .3), transparent 55%), linear-gradient(135deg, #0b5243, #04271f); }
.hero-shape { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-shape-narrow { display: none; }
.shape-fill { fill: var(--emerald); }
.shape-line { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
/* The left arrow occupies 19 to 69 px from the edge; the extra left padding keeps the heading, text and buttons (and the icon strip below them) at least about 24 px clear of it on every desktop width. */
.slide-inner { position: relative; z-index: 2; width: min(1500px, 100% - 6rem); padding-left: 2.8rem; }
.slide-body { max-width: min(33rem, 38%); padding: 3rem 0 9.5rem; }
.slide-body h1, .slide-body h2 { color: var(--ivory); font-size: clamp(2.2rem, 3.6vw, 3.7rem); line-height: 1.12; margin-bottom: 1.1rem; }
.slide-kicker { color: var(--gold); letter-spacing: .32em; text-transform: uppercase; font-size: .78rem; font-weight: 600; margin-bottom: 1.1rem; }
.slide-text { font-size: clamp(1rem, 1.3vw, 1.2rem); max-width: 30rem; margin-bottom: 1.6rem; }
.slide .actions { gap: 1rem; }
.hero-strip { position: absolute; left: 0; right: 0; bottom: 1.5rem; z-index: 3; pointer-events: none; }
.hero-strip .container { width: min(1500px, 100% - 6rem); padding-left: 2.8rem; }
.hero-strip ul { display: flex; list-style: none; margin: 0; padding: 0; max-width: min(36rem, 38%); }
.hero-strip li { flex: 1; padding: 0 .5rem; text-align: center; border-left: 1px solid rgba(245, 241, 233, .3); }
.hero-strip li:first-child { border-left: 0; padding-left: 0; }
.hero-strip a { pointer-events: auto; display: flex; flex-direction: column; align-items: center; gap: .45rem; color: var(--ivory); text-decoration: none; font-size: .88rem; line-height: 1.3; }
.hero-strip a:hover { color: var(--gold); }
.hero-strip .icon { color: var(--gold); }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(245, 241, 233, .45); background: rgba(6, 61, 50, .75); color: var(--ivory); cursor: pointer; }
.slider-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.slider-prev { left: 1.2rem; }
.slider-next { right: 1.2rem; }
.slider-dots { position: absolute; right: calc(2.2rem - 7px); bottom: calc(1.5rem - 7px); z-index: 5; display: flex; gap: 0; }
/* The dot is drawn 11 px wide; the button around it is 24 px so it is easy to tap. */
.slider-dots button { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.slider-dots button::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--ivory); opacity: .85; }
.slider-dots button[aria-current="true"]::after { background: var(--gold); opacity: 1; }

/* Our Key Services: four image cards in one row (approved mockup) */
.key-services { background: var(--ivory); background-image: linear-gradient(112deg, rgba(255, 255, 255, .7) 0 34%, rgba(255, 255, 255, 0) 34% 100%); padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(2.6rem, 6vw, 4.6rem); }
.key-services .container { width: min(1400px, 100% - 4rem); }
.ks-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.8rem; }
.ks-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin: 0; }
.gold-rule { display: block; width: 84px; height: 3px; margin-top: .7rem; background: var(--gold); }
.ks-head p { max-width: 34rem; margin: 0; text-align: center; font-size: 1.05rem; }
.ks-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.ks-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: #fff; color: var(--charcoal); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.ks-card { height: 100%; }
.ks-body { flex: 1; }
.ks-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(36, 43, 39, .16); }
.ks-photo { display: block; width: 100%; aspect-ratio: 2.6 / 1; object-fit: cover; }
.ks-photo.no-image { background-image: radial-gradient(circle at 70% 40%, rgba(214, 169, 67, .3), transparent 55%), linear-gradient(135deg, #0b5243, #04271f); }
.ks-body { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem 1.3rem; }
.ks-icon { color: var(--gold-dark); }
.ks-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.ks-text strong { font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; color: var(--charcoal); }
.ks-text span { font-size: .92rem; line-height: 1.45; color: var(--muted); }
.ks-go { flex-shrink: 0; align-self: flex-end; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(214, 169, 67, .3); color: var(--emerald); }
.ks-card:hover .ks-go { background: var(--gold); }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: #fff; }
.section.dark { background: var(--emerald); color: var(--ivory); }
.section.dark h2, .section.dark h3 { color: var(--ivory); }
.eyebrow { color: var(--gold-dark); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; margin-bottom: .5rem; }
.section.dark .eyebrow { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 68ch; }
.grid { display: grid; gap: 1.4rem; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem; display: flex; flex-direction: column; gap: .4rem; text-decoration: none; box-shadow: 0 6px 20px rgba(36, 43, 39, .06); transition: transform .15s, box-shadow .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(6, 61, 50, .12); border-color: var(--gold); }
.section.alt .card { background: var(--ivory); }
.card h3 { margin-bottom: .2rem; }
.card .more { margin-top: auto; color: var(--emerald); font-weight: 600; }
.ratio-4x3 { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 12px; }
.list-check { list-style: none; margin: 0 0 1rem; padding: 0; }
.list-check li { position: relative; padding: .35rem 0 .35rem 1.7rem; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .85rem; width: .9rem; height: .5rem; border-left: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: rotate(-45deg); }
.cta-band { text-align: center; }
.cta-band .actions, .actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band .actions { justify-content: center; }
.cta-band { background-image: radial-gradient(circle at 85% 20%, rgba(214, 169, 67, .18), transparent 50%); }
.cta-band .gold-rule { margin: .2rem auto 1.2rem; }
.cta-text { max-width: 56ch; margin: 0 auto 1.6rem; font-size: 1.1rem; }

/* Home: About the company and project categories */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: stretch; }
.about-text { display: flex; flex-direction: column; justify-content: center; }
.about-text .gold-rule { margin: .3rem 0 1.2rem; }
.about-text .lead { margin-bottom: 1.6rem; }
.how-panel { background: var(--emerald); color: var(--ivory); border-radius: var(--radius-xl); padding: clamp(1.6rem, 3vw, 2.4rem); border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.how-panel h3 { color: var(--gold); font-size: 1.45rem; margin-bottom: 1rem; }
.how-panel .list-check { margin: 0; color: var(--ivory); }
.how-panel .list-check li { padding-block: .5rem; border-bottom: 1px solid rgba(245, 241, 233, .14); }
.how-panel .list-check li:last-child { border-bottom: 0; }
.how-panel .list-check li::before { border-color: var(--gold); top: 1rem; }
.project-categories .gold-rule { margin: .3rem 0 0; }
.category-grid { margin-top: 1.8rem; }
.category-card { height: 100%; padding: clamp(1.4rem, 2.5vw, 2rem); border-top: 4px solid var(--gold); }
.category-card h3 { font-size: 1.4rem; }
.category-card p { color: var(--muted); }
.sub-chips { list-style: none; margin: .4rem 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.sub-chips li { padding: .25rem .75rem; border-radius: 999px; background: rgba(214, 169, 67, .18); border: 1px solid rgba(185, 141, 44, .5); font-size: var(--fs-small); color: var(--charcoal); }

/* Page header */
.page-hero { background: var(--emerald); background-image: radial-gradient(circle at 88% 0%, rgba(214, 169, 67, .2), transparent 48%); color: var(--ivory); padding: clamp(2.4rem, 5vw, 3.6rem) 0 clamp(2.2rem, 4.5vw, 3.2rem); border-bottom: 3px solid var(--gold); }
.page-hero h1 { color: var(--ivory); margin-bottom: .6rem; }
.page-hero h1::after { content: ""; display: block; width: 84px; height: 3px; margin-top: .8rem; background: var(--gold); }
.page-hero p { color: rgba(245, 241, 233, .88); max-width: 60ch; margin: 0; font-size: 1.08rem; }
.crumbs { font-size: .85rem; margin-bottom: .8rem; color: rgba(245, 241, 233, .75); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Galleries */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.gallery figure { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.gallery figcaption { padding: .9rem 1rem 1.1rem; }
.gallery figcaption strong { display: block; font-family: var(--serif); color: var(--emerald); }
.empty-state { background: #fff; border: 1px dashed rgba(6, 61, 50, .35); border-radius: 16px; padding: 2.4rem 1.6rem; text-align: center; }
.empty-state h2 { font-size: 1.3rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.chips a { display: inline-block; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--emerald); text-decoration: none; color: var(--emerald); font-size: .92rem; }
.chips a:hover, .chips a[aria-current="page"] { background: var(--emerald); color: var(--ivory); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.form-grid > * { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field .hint { font-size: .8rem; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; padding: .7rem .85rem; border: 1px solid rgba(36, 43, 39, .3); border-radius: 10px; background: #fff; color: var(--charcoal); width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(214, 169, 67, .55); border-color: var(--gold-dark); }
.field .error { color: #9b1c1c; font-size: .85rem; }
.field [aria-invalid="true"] { border-color: #9b1c1c; }
.req { color: #9b1c1c; }
.alert { border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.alert-success { background: #e6f1ec; border: 1px solid #9ec8b6; color: var(--emerald); }
.alert-error { background: #fbeaea; border: 1px solid #e0a8a8; color: #7a1717; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.info-list strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.map-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #e8e3d8; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--charcoal); color: rgba(245, 241, 233, .88); padding: clamp(2.4rem, 5vw, 3.6rem) 0 1.6rem; margin-top: 0; border-top: 3px solid var(--gold); line-height: 1.6; }
.site-footer h3 { color: var(--gold); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--sans); font-weight: 700; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(214, 169, 67, .35); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .3rem 0; }
.site-footer address { line-height: 1.85; }
.site-footer p { margin: 0 0 .8rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 3vw, 2.6rem); align-items: start; }
.footer-bottom { border-top: 1px solid rgba(245, 241, 233, .18); margin-top: 2.2rem; padding-top: 1.2rem; font-size: .88rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; color: rgba(245, 241, 233, .78); }

/* Founder's profile and mission / vision */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Written profile on the left, photograph on the right (the text is first in the page, so it is also first on tablets and phones). */
.founder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.founder-grid.has-photo { grid-template-columns: minmax(0, 1fr) minmax(300px, 480px); align-items: center; }
.founder-text .lead { max-width: none; }
/* The supplied image is square and already has its own gold ring, emerald background, name and designation: show all of it, never crop or recolour. */
/* The photograph is a circle with transparent corners (its own gold ring included). It sits directly on the section background (no box, no fill), and the soft shadow is circular so it follows the ring instead of drawing a square around it. */
.founder-grid aside { background: transparent; }
.founder-photo { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: transparent; border-radius: 50%; box-shadow: 0 14px 30px rgba(6, 61, 50, .16); }
.photo-placeholder { width: 100%; aspect-ratio: 4 / 5; border-radius: 18px; background: linear-gradient(160deg, var(--emerald), var(--emerald-soft)); color: var(--ivory); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; text-align: center; padding: 1.5rem; border: 3px solid var(--gold); }
.photo-placeholder .initials { font-family: var(--serif); font-size: clamp(3rem, 8vw, 5rem); color: var(--gold); letter-spacing: .06em; line-height: 1; }
.photo-placeholder .photo-note { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.founder-name { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .2rem; }
.founder-title { color: var(--gold-dark); font-weight: 700; letter-spacing: .04em; margin-bottom: 1.4rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 1.2rem; }
.stat { background: var(--ivory); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 14px; padding: 1.6rem 1.2rem; text-align: center; }
.stat-value { display: block; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; color: var(--emerald); line-height: 1.1; }
.stat-label { display: block; margin-top: .4rem; color: var(--muted); font-size: .95rem; }
/* Table foundation: the one table style (emerald header with light text, white body, light separators, restrained stripes, hover). A wide table scrolls inside .table-wrap, never the page. */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; margin-top: 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.data-table, .portfolio-table { width: 100%; border-collapse: collapse; min-width: 300px; }
.data-table th, .data-table td, .portfolio-table th, .portfolio-table td { padding: 1rem 1.3rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.data-table thead th, .portfolio-table thead th { background: var(--emerald); color: var(--ivory); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 0; white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: var(--row-stripe); }
.data-table tbody tr:hover, .portfolio-table tbody tr:hover { background: var(--row-hover); }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .15rem .65rem; border-radius: 999px; font-size: var(--fs-small); font-weight: 600; background: var(--ivory); color: var(--emerald); border: 1px solid var(--emerald); }
.badge-gold { background: rgba(214, 169, 67, .2); color: var(--charcoal); border-color: var(--gold-dark); }
.portfolio-table tbody th { font-weight: 600; }
.portfolio-table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--emerald); }
.portfolio-table thead .num { color: var(--ivory); }
.portfolio-table tfoot th, .portfolio-table tfoot td { background: var(--ivory); border-bottom: 0; border-top: 2px solid var(--gold); font-size: 1.05rem; font-weight: 700; color: var(--emerald); }
.portfolio-table .bar { display: block; height: 6px; margin-top: .5rem; border-radius: 999px; background: rgba(6, 61, 50, .1); overflow: hidden; }
.portfolio-table .bar i { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.philosophy { max-width: 820px; text-align: center; }
.quote { margin: 1rem 0 1.6rem; padding: 0; }
.quote blockquote { margin: 0; padding: 1.4rem 0; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.quote blockquote p { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.45; font-style: italic; color: var(--ivory); margin: 0; }
.philosophy .lead { color: rgba(245, 241, 233, .85); margin-inline: auto; }
.philosophy .actions { margin-top: 1.4rem; }
.mv-grid { align-items: start; }
.mv-card { padding: clamp(1.4rem, 3vw, 2.2rem); gap: .2rem; }
.mv-card h2 { margin-bottom: .8rem; }
.mv-lead { font-weight: 700; color: var(--emerald); margin: .6rem 0 .2rem; }
.mv-closing { margin-top: 1rem; padding-top: 1rem; border-top: 2px solid var(--gold); font-family: var(--serif); font-size: 1.1rem; color: var(--emerald); }

/* Responsive */
@media (max-width: 1240px) {
    .site-header .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; row-gap: 0; padding-right: 0; }
    .brand-descriptor { order: 3; width: 100%; margin: 0 0 .6rem; flex-wrap: wrap; white-space: normal; }
    .nav-toggle { display: inline-block; }
    :root { --header-h: 118px; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--emerald); flex-direction: column; align-items: stretch; padding: .8rem 1.5rem 1.4rem; max-height: calc(100vh - var(--header-h)); overflow-y: auto; border-top: 1px solid rgba(245, 241, 233, .2); }
    .nav.is-open { display: flex; }
    .nav ul { flex-direction: column; align-items: stretch; justify-content: flex-start; }
    .nav a.nav-link, .nav button.nav-link { width: 100%; justify-content: space-between; padding: .8rem .6rem; }
    .has-menu:hover > .menu-panel, .has-menu:focus-within > .menu-panel, .has-menu:hover > .menu-panel.mega, .has-menu:focus-within > .menu-panel.mega { display: none; }
    .has-menu.is-open > .menu-panel, .has-menu.is-open > .menu-panel.mega { display: block; position: static; transform: none; min-width: 0; box-shadow: none; margin: .2rem 0 .6rem; }
    .nav-actions { flex-direction: column; align-items: stretch; margin: .8rem 0 0; }
    .nav-actions .btn { width: 100%; }
}
@media (max-width: 1100px) {
    .ks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Hero on tablets and phones: the photograph on top, flowing into the emerald panel through the same curved gold diagonal. */
@media (max-width: 1000px) {
    .slide { flex-direction: column; align-items: stretch; min-height: 0; background: var(--emerald); }
    .slide-photo { position: relative; inset: auto; left: auto; height: clamp(230px, 52vw, 400px); }
    .hero-shape-wide { display: none; }
    .hero-shape-narrow { display: block; inset: auto; top: 0; left: 0; right: 0; height: clamp(230px, 52vw, 400px); }
    .slide-inner { width: 100%; padding: 0 1.4rem; }
    .slide-body { max-width: none; padding: 1.2rem 0 1.6rem; }
    .hero-strip { position: static; background: var(--emerald); padding: 0 0 1.6rem; pointer-events: auto; }
    .hero-strip .container { width: 100%; padding: 0 1.4rem; }
    .hero-strip ul { max-width: none; }
    .slider-arrow { top: clamp(115px, 26vw, 200px); width: 42px; height: 42px; }
    .slider-prev { left: .6rem; }
    .slider-next { right: .6rem; }
    .slider-dots { top: calc(clamp(230px, 52vw, 400px) - 1.6rem); bottom: auto; right: 1.2rem; }
}
@media (max-width: 900px) {
    .grid.cols-3, .grid.cols-4, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .founder-grid, .founder-grid.has-photo { grid-template-columns: 1fr; }
    .founder-grid aside { max-width: 420px; width: 100%; margin-inline: auto; }
    .ks-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .ks-head p { text-align: left; }
    .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .grid.cols-2, .grid.cols-3, .grid.cols-4, .gallery, .form-grid, .footer-grid, .ks-grid { grid-template-columns: 1fr; }
    :root { --header-h: 104px; }
    .brand img { height: 68px; }
    .brand-descriptor { font-size: .8rem; letter-spacing: .03em; gap: .15rem .5rem; }
    .stat-grid { grid-template-columns: 1fr; }
    .portfolio-table th, .portfolio-table td { padding: .85rem 1rem; }
    .hero-strip ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 0; }
    .hero-strip li:nth-child(odd) { border-left: 0; padding-left: 0; }
    .slide .actions .btn { flex: 1 1 100%; }
    .key-services .container { width: min(1400px, 100% - 2.5rem); }
}
/* Inner pages: shared layout helpers (no inline styles in the views) */
.narrow { max-width: 860px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.2rem); align-items: start; }
.split.wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.center-actions { justify-content: center; }
.section-head { margin-bottom: 1.6rem; }
.section-head .gold-rule { margin-top: .4rem; }
.panel { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius-xl); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.panel h3 { font-size: 1.4rem; margin-bottom: .8rem; }
.section.alt .panel { background: var(--ivory); }
.related-card h3 { font-size: 1.3rem; }
.related-card p { color: var(--muted); }
.page-lead p:last-of-type { margin-bottom: 1.4rem; }
.map-frame { margin-top: 1.4rem; }
.map-link { margin: .7rem 0 0; }
.form-note { margin: 1.1rem 0 0; font-size: .92rem; color: var(--muted); }
.form-actions { margin-top: 1.4rem; }
.contact-details h2, .form-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.form-card .btn { min-width: 220px; }
.category-link { text-decoration: none; color: inherit; }
.category-link:hover { color: var(--gold-dark); }
.card-list a { text-decoration: none; }
.card-list a:hover { text-decoration: underline; color: var(--emerald); }
.card-title-lg { font-size: 1.4rem; }
.field select { appearance: auto; min-height: 46px; }
.field input, .field select, .field textarea { min-height: 46px; }
.field textarea { min-height: 130px; }
@media (max-width: 900px) {
    .split, .split.wide-left { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .form-card .btn { width: 100%; }
}

/* Very small phones (320 to 400 px): a long button label wraps instead of pushing the page wider. */
@media (max-width: 400px) {
    .btn { white-space: normal; text-align: center; }
    .slide-body h1, .slide-body h2 { font-size: 2rem; }
    .slide-kicker { letter-spacing: .2em; }
    .ks-body { padding: 1rem; gap: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .card, .ks-card, .slide { transition: none; }
}

/* Phase 5: phones and tablets */
@media (max-width: 600px) {
    .slider-dots { right: calc(1.2rem - 7px); }
    .crumbs { overflow-wrap: anywhere; }
    .page-hero p { font-size: 1rem; }
    .map-frame { aspect-ratio: 4 / 3; }
    .form-card { padding: 1.2rem; }
}
@media (min-width: 601px) and (max-width: 900px) {
    /* three category or gallery cards in two columns: the last one spans both so the grid has no gap */
    .grid.cols-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
