:root {
  --ink: #111721;
  --cream: #f5f4ef;
  --paper: #fbfbf8;
  --blue: #2d73e8;
  --blue-bright: #4d8cff;
  --yellow: #e8b949;
  --mint: #b8ead8;
  --text: #1c2531;
  --muted: #697381;
  --line: rgba(28, 37, 49, .14);
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.portfolio-site { overflow: clip; }
.container-xl { max-width: 1240px; }
.portfolio-nav { background: rgba(17, 23, 33, .9); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(18px); z-index: 100; }
.brand-logo { width: 104px; height: auto; object-fit: contain; }
.portfolio-nav .nav-link { color: rgba(255,255,255,.7); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 1.2rem .9rem !important; transition: color .18s ease; }
.portfolio-nav .nav-link:hover { color: #fff; }
.nav-cta { display: inline-flex; gap: .45rem; align-items: center; border-radius: 999px; padding: .65rem 1rem; font-size: .73rem; letter-spacing: .03em; }
.nav-toggle { color: #fff; border: 1px solid rgba(255,255,255,.25); padding: .45rem .65rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border-radius: 999px; font-weight: 700; transition: transform .16s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); border-color: var(--blue); box-shadow: 0 10px 24px rgba(45,115,232,.2); }
.btn-primary:hover { background: var(--blue-bright); border-color: var(--blue-bright); box-shadow: 0 12px 28px rgba(45,115,232,.28); transform: translateY(-2px); }

.hero-section { min-height: 790px; padding: 180px 0 96px; background: var(--ink); color: #fff; position: relative; display: flex; align-items: center; }
.hero-grid { position: absolute; inset: 0; opacity: .34; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 72px 72px; }
.hero-section::after { content: ""; position: absolute; width: 44vw; height: 44vw; max-width: 600px; max-height: 600px; right: -11vw; top: 12%; border-radius: 50%; background: radial-gradient(circle at 45% 45%, rgba(45,115,232,.32), transparent 64%); filter: blur(12px); pointer-events: none; }
.eyebrow, .section-kicker { font-size: .74rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; }
.eyebrow { color: #a7c7ff; display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.55rem; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 6px rgba(232,185,73,.14); }
.hero-section h1 { font-family: "DM Serif Display", serif; font-weight: 400; font-size: clamp(3.8rem, 7vw, 7.1rem); line-height: .92; letter-spacing: -.06em; margin: 0; }
h1 em, h2 span { color: var(--yellow); font-style: italic; }
.hero-copy { max-width: 590px; font-size: 1.12rem; line-height: 1.75; color: rgba(255,255,255,.7); margin: 2rem 0 2rem; }
.hero-actions .btn { min-height: 54px; padding: .9rem 1.35rem; }
.hero-actions .btn-outline-light { border-color: rgba(255,255,255,.3); color: #fff; }
.hero-actions .btn-outline-light:hover { border-color: #fff; background: #fff; color: var(--ink); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.15rem 1.7rem; color: rgba(255,255,255,.48); font-size: .76rem; margin-top: 2.3rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta svg { color: var(--yellow); }

.hero-orbit { width: min(100%, 420px); aspect-ratio: 1; margin: 0 auto; position: relative; }
.orbit-ring { position: absolute; inset: 11%; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.ring-two { inset: 25%; border-color: rgba(232,185,73,.46); border-style: dashed; animation: orbit 25s linear infinite; }
.orbit-center { position: absolute; inset: 35%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border-radius: 50%; background: linear-gradient(145deg, #387eea, #203f79); box-shadow: 0 0 0 13px rgba(45,115,232,.12), 0 24px 70px rgba(0,0,0,.35); color: #fff; }
.orbit-center svg { color: var(--yellow); margin-bottom: .5rem; }
.orbit-center span { font-size: .84rem; line-height: 1.2; font-weight: 700; }
.orbit-chip { position: absolute; display: inline-flex; align-items: center; gap: .4rem; background: rgba(31,46,67,.9); border: 1px solid rgba(255,255,255,.18); padding: .55rem .75rem; border-radius: 999px; color: #fff; font-size: .72rem; }
.chip-top { top: 1%; left: 37%; }.chip-right { right: 0; top: 46%; }.chip-bottom { bottom: 4%; left: 35%; }.chip-left { left: -3%; top: 48%; }
@keyframes orbit { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.section-padding { padding: 128px 0; }
.about-section { background: var(--cream); }
.section-kicker { color: var(--blue); margin-bottom: 1.2rem; }
section h2 { font-family: "DM Serif Display", serif; font-size: clamp(3rem, 5.5vw, 5.4rem); line-height: .96; font-weight: 400; letter-spacing: -.05em; margin: 0; color: var(--ink); }
.section-lead { color: var(--muted); line-height: 1.7; font-size: 1rem; }
.about-body { color: var(--muted); font-size: 1rem; line-height: 1.85; }
.body-large { color: var(--text); font-size: 1.36rem; line-height: 1.55; letter-spacing: -.02em; }
.credential-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.6rem; }
.credential { display: flex; flex-direction: column; gap: .5rem; }.credential strong { font-family: "DM Serif Display", serif; font-size: 1.7rem; font-weight: 400; color: var(--ink); }.credential span { font-size: .75rem; line-height: 1.5; color: var(--muted); }
.process-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-item { min-height: 140px; padding: 1.15rem 1rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: .6rem; transition: background-color .2s ease, transform .2s ease; }.process-item:hover { background: #fff; transform: translateY(-4px); }.process-item span { color: var(--blue); font-size: .68rem; font-weight: 700; letter-spacing: .12em; }.process-item strong { font-size: .82rem; }

.services-section { background: var(--paper); border-top: 1px solid var(--line); }
.service-card { min-height: 315px; background: #fff; border: 1px solid var(--line); padding: 1.45rem; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease; }.service-card:hover { transform: translateY(-7px); border-color: rgba(45,115,232,.46); box-shadow: 0 22px 45px rgba(29,46,73,.1); }.service-top { display: flex; justify-content: space-between; align-items: center; color: var(--blue); margin-bottom: 2.8rem; }.service-index { color: var(--muted); font-size: .68rem; letter-spacing: .12em; }.service-card h3 { font-family: "DM Serif Display", serif; font-size: 1.8rem; font-weight: 400; margin-bottom: .65rem; }.service-card p { color: var(--muted); font-size: .88rem; line-height: 1.65; margin-bottom: 1rem; }.service-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }.service-tags span { color: var(--blue); background: rgba(45,115,232,.08); border-radius: 999px; font-size: .68rem; padding: .35rem .55rem; }

.work-section { background: var(--cream); }
.filter-bar { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: 1.7rem; margin-bottom: 1rem; }
.filter-pill { flex: 0 0 auto; border: 1px solid var(--line); background: transparent; border-radius: 999px; color: var(--muted); padding: .55rem .82rem; font-size: .72rem; cursor: pointer; transition: all .18s ease; }
.filter-pill:hover, .filter-pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.project-card { height: 100%; background: var(--paper); border: 1px solid var(--line); }
.project-image-wrap { height: 265px; position: relative; overflow: hidden; }
.project-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-category { position: absolute; z-index: 2; left: 1rem; bottom: .9rem; border: 1px solid rgba(255,255,255,.46); color: #fff; border-radius: 999px; background: rgba(17,23,33,.36); backdrop-filter: blur(10px); padding: .42rem .6rem; font-size: .65rem; }
.project-copy { padding: 1.3rem 1.35rem 1.2rem; display: flex; flex-direction: column; min-height: 188px; }
.project-copy h3 { font-family: "DM Serif Display", serif; font-weight: 400; font-size: 1.8rem; margin: 0 0 .45rem; }
.project-copy p { color: var(--muted); font-size: .82rem; line-height: 1.65; margin: 0; }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: auto; padding-top: 1rem; font-size: .68rem; }
.nda-note { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; color: var(--muted); font-size: .75rem; margin-top: 2rem; }
.nda-line { width: 24px; height: 1px; background: var(--yellow); }

.quote-section { background: var(--ink); color: #fff; padding: 74px 0; }
.quote-card { max-width: 900px; margin: auto; }
.quote-mark { color: var(--yellow); font-family: "DM Serif Display", serif; font-size: 5rem; line-height: .5; }
.quote-card blockquote { font-family: "DM Serif Display", serif; font-size: clamp(1.65rem, 3.6vw, 3.1rem); line-height: 1.18; margin: 1.2rem 0 1.7rem; }
.quote-credit { display: inline-flex; align-items: center; gap: .7rem; color: rgba(255,255,255,.8); }
.quote-avatar { display: grid; place-items: center; width: 37px; height: 37px; background: var(--yellow); color: var(--ink); border-radius: 50%; font-weight: 800; font-size: .7rem; }

.contact-section { background: var(--paper); }
.contact-details { display: flex; flex-direction: column; gap: .85rem; margin-top: 2.25rem; }
.contact-details a, .contact-details span { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-size: .86rem; }
.contact-form { background: #fff; border: 1px solid var(--line); padding: clamp(1.35rem, 3vw, 2.2rem); }
.form-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; color: var(--ink); font-family: "DM Serif Display", serif; font-size: 1.7rem; margin-bottom: 1.4rem; }
.contact-form label, .service-select > span { color: var(--text); display: block; font-size: .72rem; font-weight: 700; margin-bottom: .42rem; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); background: var(--cream); padding: .72rem .82rem; color: var(--text); font-size: .82rem; border-radius: .35rem; }
.contact-form textarea { resize: vertical; min-height: 128px; }
.service-select { margin-top: 1.2rem; }
.service-options { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .55rem; }
.service-options button { border: 1px solid var(--line); background: transparent; border-radius: 999px; color: var(--muted); padding: .42rem .62rem; font-size: .67rem; cursor: pointer; }
.service-options button.selected { border-color: var(--blue); background: rgba(45,115,232,.08); color: var(--blue); }
.submit-btn { margin-top: 1.5rem; width: 100%; min-height: 51px; }

.portfolio-footer { background: var(--ink); color: #fff; padding: 48px 0 24px; }
.footer-top { display: flex; align-items: center; gap: 2rem; padding-bottom: 2.2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top p { color: rgba(255,255,255,.52); font-family: "DM Serif Display", serif; font-size: 1.28rem; margin: 0 auto 0 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,.38); font-size: .68rem; padding-top: 1.4rem; }

/* Bespoke Samoan tatau-inspired ink-brush compositions */
.tatau-texture-services,
.tatau-texture-work,
.tatau-texture-contact {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.tatau-texture-services::before,
.tatau-texture-work::before,
.tatau-texture-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(1120px, 92vw) auto;
  opacity: .055;
  filter: grayscale(1) contrast(.82);
  mix-blend-mode: multiply;
}
.tatau-texture-services::before {
  background-image: url("../img/tatau-services.png");
  background-position: 78% 22%;
  background-size: min(1160px, 94vw) auto;
}
.tatau-texture-work::before {
  background-image: url("../img/tatau-work.png");
  background-position: 56% 54%;
  background-size: min(860px, 78vw) auto;
  opacity: .045;
}
.tatau-texture-contact::before {
  background-image: url("../img/tatau-contact.png");
  background-position: 88% 42%;
  background-size: min(860px, 76vw) auto;
  opacity: .05;
}
.tatau-texture-services > *,
.tatau-texture-work > *,
.tatau-texture-contact > * {
  position: relative;
  z-index: 1;
}

