  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --green-deep: #105157;
    --green-accent: #35ba83;
    --bg-off-white: #f9f9f9;
    --bg-beige: #E1DCD9;
    --bg-light-beige: #f6f5f1;
    --text: #323232;
    --text-muted: #6b6b6b;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Montserrat', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--bg-off-white);
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 64px;
    background: rgba(249,249,249,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16,81,87,0.08);
    transition: padding 0.3s ease;
  }

  .nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
  }

  .nav-logo img {
    height: 44px;
    width: auto;
    display: block;
    transition: opacity 0.2s;
  }

  .nav-logo:hover img { opacity: 0.82; }

  .nav-links {
    display: flex;
    gap: 44px;
    list-style: none;
  }

  .nav-links a {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--green-accent);
    transition: width 0.3s ease;
  }

  .nav-links a:hover { color: var(--green-deep); }
  .nav-links a:hover::after { width: 100%; }
  
  .menu-toggle {display: none;}

  /* ─── SECTIONS ─── */
  section { position: relative; }

  /* ─── HERO ─── */
  #home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 64px 100px;
    background: var(--bg-off-white);
    overflow: hidden;
    position: relative;
  }

  #home::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 220px;
    background: url('images/pattern-landscape.png') center/cover no-repeat;
    opacity: 0.2;
    pointer-events: none;
  }

  .hero-bg-text {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-family: var(--serif);
    font-size: 200px;
    font-weight: 300;
    color: rgba(16,81,87,0.035);
    white-space: nowrap;
    letter-spacing: -4px;
    pointer-events: none;
    user-select: none;
  }

  .hero-rule {
    width: 1px;
    height: 80px;
    background: var(--green-accent);
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
  }

  .hero-content { max-width: 780px; }

  .hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--green-accent);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
  }

  .hero-headline {
    font-family: var(--serif);
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 300;
    line-height: 1.06;
    color: var(--green-deep);
    letter-spacing: -1px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.5s forwards;
  }

  .hero-headline em { font-style: italic; color: var(--text); }

  .hero-sub {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.7s forwards;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green-deep);
    text-decoration: none;
    border: 1px solid var(--green-deep);
    padding: 16px 32px;
    transition: background 0.3s, color 0.3s;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.9s forwards;
  }

  .btn-primary:hover {
    background: var(--green-deep);
    color: #fff;
  }

  .btn-primary .arrow { transition: transform 0.3s; }
  .btn-primary:hover .arrow { transform: translateX(6px); }

  .hero-stat-row {
    position: absolute;
    bottom: 56px;
    right: 64px;
    display: flex;
    gap: 56px;
    opacity: 0;
    animation: fadeUp 0.9s ease 1.1s forwards;
  }

  .hero-stat { text-align: right; }
  .hero-stat-num {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 300;
    color: var(--green-deep);
    line-height: 1;
  }
  .hero-stat-label {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
  }

  /* ─── DIVIDER ─── */
  .section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16,81,87,0.2), transparent);
    margin: 0 64px;
  }

  /* ─── PORTFOLIO ─── */
  #portfolio {
    padding: 120px 64px;
    background: var(--bg-off-white);
    position: relative;
  }

  #portfolio::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 320px;
    height: 100%;
    background: url('images/pattern-box.png') center/cover no-repeat;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
  }

  .section-header, .portfolio-grid {
    position: relative;
    z-index: 1;
  }

  .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 80px;
  }

  .section-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--green-accent);
    margin-bottom: 16px;
  }

  .section-title {
    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 300;
    color: var(--green-deep);
    line-height: 1.1;
  }

  .section-title em { font-style: italic; }

  .section-count {
    font-family: var(--serif);
    font-size: 80px;
    font-weight: 300;
    color: rgba(16,81,87,0.08);
    line-height: 1;
  }

  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }

  .portfolio-card {
    background: var(--bg-light-beige);
    padding: 56px 44px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
    cursor: pointer;
  }

  .portfolio-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 0;
    background: var(--green-accent);
    transition: height 0.4s ease;
  }

  .portfolio-card:hover { transform: translateY(-4px); }
  .portfolio-card:hover::before { height: 100%; }

  .card-num {
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 400;
    color: var(--green-accent);
    letter-spacing: 0.1em;
    margin-bottom: 40px;
  }

  .card-name {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 400;
    color: var(--green-deep);
    line-height: 1.1;
    margin-bottom: 6px;
  }

  .card-role {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green-accent);
    margin-bottom: 28px;
  }

  .card-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
    border-top: 1px solid rgba(16,81,87,0.12);
    padding-top: 24px;
  }

  .card-icon {
    position: absolute;
    bottom: 44px; right: 44px;
    width: 36px; height: 36px;
    border: 1px solid rgba(16,81,87,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card-icon svg { width: 14px; height: 14px; stroke: var(--green-deep); }

  /* ─── PHILOSOPHY ─── */
  #philosophy {
    background: var(--green-deep);
    padding: 120px 64px;
    position: relative;
    overflow: hidden;
  }

  .philosophy-bg {
    position: absolute;
    top: -60px; right: -80px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: rgba(53,186,131,0.05);
    pointer-events: none;
  }

  .philosophy-bg2 {
    position: absolute;
    bottom: -120px; left: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(53,186,131,0.04);
    pointer-events: none;
  }

  #philosophy .section-label { color: var(--green-accent); }
  #philosophy .section-title { color: #fff; }

  .chip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 72px;
    background: rgba(255,255,255,0.06);
  }

  .chip-item {
    padding: 56px 40px;
    background: var(--green-deep);
    position: relative;
    transition: background 0.3s;
  }

  .chip-item:hover { background: rgba(53,186,131,0.08); }

  .chip-letter {
    font-family: var(--serif);
    font-size: 80px;
    font-weight: 300;
    color: rgba(53,186,131,0.15);
    line-height: 1;
    margin-bottom: 24px;
    transition: color 0.3s;
  }

  .chip-item:hover .chip-letter { color: rgba(53,186,131,0.3); }

  .chip-name {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
  }

  .chip-desc {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(249,249,249,0.6);
  }

  .chip-bar {
    position: absolute;
    bottom: 0; left: 0;
    height: 2px;
    width: 0;
    background: var(--green-accent);
    transition: width 0.4s ease;
  }

  .chip-item:hover .chip-bar { width: 100%; }

  /* ─── GOVERNANCE / CONTACT ─── */
  #contact {
    background: var(--bg-beige);
    padding: 120px 64px;
    position: relative;
    overflow: hidden;
  }

  #contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 180px;
    background: url('images/pattern-landscape.png') center top/cover no-repeat;
    opacity: 0.1;
    pointer-events: none;
  }

  #contact .section-title { color: var(--green-deep); }

  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-top: 72px;
  }

  .contact-info p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 40px;
  }

  .contact-detail {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(16,81,87,0.12);
  }

  .contact-detail-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--green-accent);
    margin-bottom: 4px;
  }

  .subsidiary-link,
  .subsidiary-link:link,
  .subsidiary-link:visited {
    color: var(--green-deep);
    text-decoration: none;
    border-bottom: 1px solid rgba(16,81,87,0.25);
    transition: color 0.2s, border-color 0.2s;
  }

  .subsidiary-link:hover {
    color: var(--green-accent);
    border-color: var(--green-accent);
  }

  .contact-detail-val {
    font-family: var(--serif);
    font-size: 16px;
    color: var(--green-deep);
  }

  .contact-form { display: flex; flex-direction: column; gap: 20px; }

  .form-group { display: flex; flex-direction: column; gap: 8px; }

  .form-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .form-input, .form-select, .form-textarea {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--text);
    background: rgba(249,249,249,0.6);
    border: 1px solid rgba(16,81,87,0.15);
    padding: 14px 18px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
  }

  .form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--green-accent);
    background: #fff;
  }

  .form-textarea { resize: vertical; min-height: 120px; }

  .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23105157' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    cursor: pointer;
  }

  .btn-submit {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    background: var(--green-deep);
    border: none;
    padding: 18px 36px;
    cursor: pointer;
    transition: background 0.3s;
    align-self: flex-start;
  }

  .btn-submit:hover { background: #0c3c40; }

  /* ─── FOOTER ─── */
  footer {
    background: var(--green-deep);
    padding: 40px 64px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }

  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .footer-bottom {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(249,249,249,0.08);
    text-align: center;
    width: 100%;
  }

  footer::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 260px; height: 100%;
    background: url('images/pattern-box.png') center/cover no-repeat;
    opacity: 0.06;
    pointer-events: none;
  }

  footer > * { position: relative; z-index: 1; }

  .footer-logo {
    display: flex;
    align-items: center;
  }

  .footer-copy {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(249,249,249,0.4);
  }

  .footer-links {
    display: flex;
    gap: 32px;
    list-style: none;
  }

  .footer-links a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(249,249,249,0.5);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: var(--green-accent); }

  .footer-legal {
    display: flex;
    gap: 24px;
    margin-top: 12px;
    justify-content: center;
  }

  .footer-legal-link {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(249,249,249,0.35);
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--sans);
    transition: color 0.2s;
    padding: 0;
  }

  .footer-legal-link:hover { color: var(--green-accent); }

  .footer-legal-right {
    display: flex;
    align-items: center;
  }

  /* ─── MODAL ─── */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(16,40,40,0.72);
    backdrop-filter: blur(6px);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  .modal-overlay.active { display: flex; }

  .modal-box {
    background: var(--bg-off-white);
    max-width: 680px;
    width: 100%;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 32px 80px rgba(0,0,0,0.3);
  }

  .modal-header {
    padding: 36px 44px 24px;
    border-bottom: 1px solid rgba(16,81,87,0.12);
    flex-shrink: 0;
  }

  .modal-eyebrow {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--green-accent);
    margin-bottom: 8px;
  }

  .modal-title {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--green-deep);
    line-height: 1.15;
  }

  .modal-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    letter-spacing: 0.06em;
  }

  .modal-close {
    position: absolute;
    top: 20px; right: 24px;
    background: none;
    border: 1px solid rgba(16,81,87,0.15);
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
  }

  .modal-close:hover { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }

  .modal-body {
    padding: 32px 44px 44px;
    overflow-y: auto;
    flex: 1;
    scroll-behavior: smooth;
  }

  .modal-body::-webkit-scrollbar { width: 4px; }
  .modal-body::-webkit-scrollbar-track { background: transparent; }
  .modal-body::-webkit-scrollbar-thumb { background: rgba(16,81,87,0.2); border-radius: 2px; }

  .modal-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(16,81,87,0.08);
  }

  .modal-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

  .modal-section-title {
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--green-deep);
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .modal-section-num {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--green-accent);
    font-family: var(--sans);
  }

  .modal-section p {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-muted);
  }

  .modal-section ul {
    margin-top: 8px;
    padding-left: 0;
    list-style: none;
  }

  .modal-section ul li {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-muted);
    padding-left: 18px;
    position: relative;
    margin-bottom: 4px;
  }

  .modal-section ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--green-accent);
    font-size: 11px;
  }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* --- RESPONSIVE MOBILE FIXES (iPhone 13 / iPhone 8) --- */
@media (max-width: 768px) {
  
  /* 1. Header & Burger Menu */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
  .menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--green-deep);
    transition: 0.3s;
  }

  .nav-links {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--bg-off-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
  }

  .nav-links.active { transform: translateY(0); }
  .nav-links li { margin: 20px 0; }
  .nav-links a { font-size: 18px; }

  /* 2. Hero Section Stats Repositioning */
  .hero-stat-row {
    position: relative; /* Remove absolute positioning on mobile */
    right: auto;
    bottom: auto;
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    margin-top: 40px; /* Positions it under the CTA */
    width: 100%;
  }

  .hero-stat-item .stat-num { font-size: 20px; }
  .hero-stat-item .stat-label { 
    font-size: 9px; 
    white-space: nowrap; 
  }

  /* 3. Portfolio Card Overlap Fix */
  .portfolio-card {
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
  }

  .portfolio-icon {
    position: relative; /* Stop overlapping text */
    margin-bottom: 15px;
    top: auto; right: auto;
    width: 32px;
  }

  /* 4. Footer Menu Vertical Display */
  .footer-bottom {
    flex-direction: column-reverse;
    gap: 30px;
    text-align: center;
  }

  .footer-legal {
    display: flex;
    flex-direction: column; /* Vertical menu */
    gap: 12px;
    font-size: 11px;
  }
}



  /* ─── RESPONSIVE   @media (max-width: 1024px)─── */
  @media (max-width: 1024px) {
    nav { padding: 24px 36px; }
    #home, #portfolio, #philosophy, #contact { padding-left: 36px; padding-right: 36px; }
    .section-divider { margin: 0 36px; }
    footer { padding: 36px 36px 24px; }
    .portfolio-grid { grid-template-columns: 1fr; gap: 2px; }
    .chip-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; gap: 56px; }
    .hero-stat-row { right: 36px; }
  }

  @media (max-width: 640px) {
    nav { padding: 20px 24px; }
    .nav-links { gap: 24px; }
    #home { padding: 140px 24px 100px; }
    #portfolio, #philosophy, #contact { padding: 80px 24px; }
    .section-divider { margin: 0 24px; }
    footer { padding: 28px 24px 20px; } .footer-top { flex-direction: column; gap: 20px; text-align: center; } .footer-links { justify-content: center; } .footer-legal-right { align-items: center; }
    .chip-grid { grid-template-columns: 1fr; }
    .hero-stat-row { position: static; margin-top: 56px; justify-content: flex-start; }
    .section-header { flex-direction: column; align-items: flex-start; }
  }

