:root {
  --sand: #fbf7f0;
  --sand-2: #f4ece0;
  --shell: #fffdf9;
  --ocean: #1f4e5f;
  --ocean-deep: #163a47;
  --sea: #4fa9a6;
  --seafoam: #dff0ec;
  --coral: #f08a6d;
  --coral-dark: #e3714f;
  --text: #22343b;
  --muted: #61757b;
  --radius: 22px;
  --max: 1120px;
  --shadow: 0 16px 40px rgba(31, 78, 95, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: Manrope, system-ui, sans-serif; color: var(--text); background: var(--shell); line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; line-height: 1.1; margin: 0 0 .5em; color: var(--ocean); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
h3 { font-size: 1.45rem; }
a { color: var(--sea); }
img { max-width: 100%; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--coral); color: #fff; font: inherit; font-weight: 700;
  padding: .9em 1.7em; border-radius: 999px; border: 0; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--coral-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ocean); box-shadow: inset 0 0 0 2px var(--ocean); }
.btn-outline:hover { background: var(--ocean); color: #fff; }
.btn-small { padding: .55em 1.25em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,247,240,.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(31,78,95,.07); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: "DM Serif Display", serif; font-size: 1.45rem; color: var(--ocean); }
.brand em { font-family: Manrope, sans-serif; font-style: normal; font-weight: 600; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--text); font-weight: 600; }
.nav-links a:not(.btn):hover { color: var(--sea); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ocean); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { background: var(--sand); padding: clamp(3.5rem, 8vw, 6.5rem) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.eyebrow { margin: 0 0 1.2rem; font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sea); }
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 4.8rem); }
.hero h1 em { color: var(--coral); }
.lead { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-art svg { width: 100%; max-width: 420px; display: block; margin-left: auto; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-sand { background: var(--sand); }
.kicker { margin: 0 0 .6rem; font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sea); }

/* About */
.about { display: grid; grid-template-columns: 320px 1fr; gap: 4rem; align-items: start; }
.about-side { position: sticky; top: 100px; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius);
  background: linear-gradient(180deg, #f6d6b8 0%, #f3c3a5 45%, #9fd3cc 46%, #5fb3b0 100%);
  display: grid; place-items: center; box-shadow: var(--shadow); overflow: hidden;
}
.portrait span { font-family: "DM Serif Display", serif; font-size: 7rem; color: #fff; text-shadow: 0 4px 20px rgba(31,78,95,.2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.facts li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; color: var(--ocean); }
.facts li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .55rem; border-radius: 50%; background: var(--coral); }
.about-text p { font-size: 1.06rem; color: var(--muted); max-width: 660px; }
.about-text .intro { font-size: 1.25rem; color: var(--text); }
.signoff { font-family: "DM Serif Display", serif; font-style: italic; font-size: 1.6rem !important; color: var(--coral) !important; margin-top: 1.6rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.service { grid-column: span 2; background: var(--shell); border-radius: var(--radius); padding: 1.9rem 1.7rem; border: 1px solid rgba(31,78,95,.07); transition: transform .2s, box-shadow .2s; }
.service:nth-child(4) { grid-column: 2 / span 2; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.num { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .1em; color: var(--coral); margin-bottom: .8rem; }
.service p { margin: 0; color: var(--muted); }

/* Approach */
.approach { text-align: center; }
.approach h2 { max-width: 700px; margin-left: auto; margin-right: auto; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.6rem; }
.pillar { padding: 2rem 1.5rem; border-radius: var(--radius); background: var(--seafoam); }
.pillar:nth-child(2) { background: #fbe3d9; }
.pillar:nth-child(3) { background: #f6ecd9; }
.pillar p { margin: 0; color: var(--muted); }
.pillar-note { margin: 2rem auto 0; font-family: "DM Serif Display", serif; font-style: italic; font-size: 1.35rem; color: var(--ocean); max-width: 620px; }

/* Projects */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-top: 2.4rem; }
.project { background: var(--shell); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(31,78,95,.05); display: flex; flex-direction: column; }
.project-shot { display: block; overflow: hidden; border-bottom: 1px solid rgba(31,78,95,.07); }
.project-shot img { display: block; width: 100%; height: auto; transition: transform .5s ease; }
.project-shot:hover img { transform: scale(1.03); }
.project-body { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.project-type { margin: 0 0 .3rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
.project-body > p:not(.project-type) { color: var(--muted); margin: 0 0 1.2rem; }
.project-link { margin-top: auto; font-weight: 700; color: var(--coral-dark); text-decoration: none; }
.project-link:hover { text-decoration: underline; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
.contact-sub { font-size: 1.1rem; color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.contact-list small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list li { font-weight: 600; color: var(--ocean); font-size: 1.1rem; }
.contact-list a { color: var(--ocean); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--coral-dark); }
.form { background: var(--sand); padding: 2rem; border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.form > label { min-width: 0; display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--ocean); }
.form input:not([type=checkbox]), .form textarea { font: inherit; font-weight: 400; color: var(--text); width: 100%; padding: .75em .9em; border: 1.5px solid #e6dccb; border-radius: 12px; background: var(--shell); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(79,169,166,.2); }
.form .full { grid-column: 1 / -1; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { font-weight: 600; font-size: .9rem; color: var(--ocean); margin-bottom: .5rem; padding: 0; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .45em 1em; border-radius: 999px; background: var(--shell); border: 1.5px solid #e6dccb; font-size: .9rem; font-weight: 600; transition: all .15s; }
.chips input:checked + span { background: var(--sea); border-color: var(--sea); color: #fff; }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(79,169,166,.35); }
.form .btn { margin-top: .4rem; }

/* Footer */
.site-footer { position: relative; margin-top: 2rem; }
.footer-wave { display: block; width: 100%; height: 50px; }
.footer-wave path { fill: var(--ocean); }
.footer-inner { background: var(--ocean); color: rgba(255,255,255,.8); text-align: center; padding: 1.5rem 0 2.5rem; }
.footer-inner a { color: #fff; text-decoration: none; }
.footer-line { font-family: "DM Serif Display", serif; font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); color: #fff; margin: 0 0 .6rem; }
.fine { font-size: .85rem; opacity: .7; }

.mobile-cta { display: none; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 260px; margin: 0 auto; }
  .about { grid-template-columns: 1fr; gap: 2rem; }
  .about-side { position: static; display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: center; }
  .facts { margin: 0; }
  .services { grid-template-columns: 1fr 1fr; }
  .service, .service:nth-child(4) { grid-column: auto; }
  .service:last-child { grid-column: 1 / -1; }
  .contact { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sand); border-bottom: 1px solid rgba(31,78,95,.1);
    padding: .5rem 16px 1rem; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid rgba(31,78,95,.06); }
  .nav-links .btn { margin-top: .8rem; }
  .projects, .pillars { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .about-side { grid-template-columns: 1fr; }
  .portrait { max-width: 220px; }
  .services { grid-template-columns: 1fr; }
  .service:last-child { grid-column: auto; }
  .form { grid-template-columns: 1fr; padding: 1.4rem; }
  .mobile-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; transform: translateY(160%); transition: transform .3s ease; box-shadow: var(--shadow); }
  .mobile-cta.show { transform: none; }
  .footer-inner { padding-bottom: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service, .project-shot img, .chips span, .mobile-cta { transition: none; }
}
