@import url("./coastal-shell.css");
/* Tongatapu Tides / Coastal editorial
   Colour and type can be changed here. No external fonts or libraries. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body, h1, h2, h3, p { margin-top: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid #a34c2d; outline-offset: 6px; }
::selection { background: #d7e0b8; color: #173f3e; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 10; left: 16px; top: -90px; background: var(--ink); color: var(--paper); padding: 14px 22px; }
.skip-link:focus { top: 12px; }
.eyebrow { font-size: 11px; line-height: 1.5; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { font-weight: 400; }
h1, h2 { font-family: var(--display); letter-spacing: -.045em; }
h2 { font-size: clamp(38px, 4.1vw, 57px); line-height: 1.1; margin-bottom: 25px; }
h2 em { font-weight: 400; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }

.hero { display: grid; grid-template-columns: 1.3fr .8fr; gap: 64px; padding-block: 78px 68px; align-items: center; }
.hero-copy { padding-block: 8px; }
.hero .eyebrow { margin-bottom: 30px; letter-spacing: .11em; }
.location-dot { display: inline-block; width: 6px; height: 6px; background: var(--green); border-radius: 50%; margin: 0 8px 1px 0; }
h1 { font-size: clamp(54px, 6.6vw, 96px); line-height: .99; margin-bottom: 30px; }
h1 em { font-weight: 400; color: var(--green); }
.ocean-heading { display: none; }
.hero-lead { font-size: 21px; line-height: 1.5; max-width: 500px; margin-bottom: 19px; letter-spacing: -.014em; }
.hero-intro { color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 475px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-height: 50px; padding: 13px 21px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 500; text-decoration: none; transition: background .18s; }
.button:hover { background: var(--green); text-decoration: none; }
.button > span[aria-hidden] { font-size: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 20px; font-size: 13px; text-decoration: none; border-bottom: 1px solid currentColor; padding-block: 8px; }
.text-link:hover { text-decoration: none; color: var(--green); }
.hero-art { aspect-ratio: 500 / 560; position: relative; background: var(--soft); overflow: hidden; color: var(--green); }
.tide-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-circle { fill: #dae0d0; }
.tidal-strokes { opacity: .78; }
.art-disc { fill: #a06142; }
.art-grid { stroke: #91a18f; stroke-width: .7; opacity: .6; }
.art-meta { position: absolute; z-index: 1; top: 22px; left: 24px; right: 24px; display: flex; justify-content: space-between; gap: 12px; font-size: 8px; font-weight: 500; letter-spacing: .11em; }
.art-bottom { position: absolute; z-index: 1; left: 26px; bottom: 27px; right: 26px; display: flex; align-items: end; justify-content: space-between; font: 32px/1.04 var(--display); letter-spacing: -.035em; color: var(--ink); }
.art-symbol { font: 42px/1 var(--sans); font-weight: 200; }
.pattern-strip { position: absolute; z-index: 1; top: 63px; left: 24px; width: 133px; height: 14px; background: url('coastal-pattern.svg') repeat-x center / auto 14px; opacity: .66; }
.discipline-line { display: flex; align-items: center; gap: 32px; padding-block: 23px; border-block: 1px solid var(--line); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.discipline-line > span + span::before { content: '+'; margin-right: 32px; color: var(--green); }
.discipline-line .discipline-location { margin-left: auto; }
.discipline-line .discipline-location::before { content: ''; margin: 0; }
.discipline-location span { margin-left: 28px; font-size: 18px; }
.section { padding-block: 99px 100px; }
.section-heading { display: grid; grid-template-columns: 1fr 2.1fr; gap: 64px; margin-bottom: 48px; }
.section-label { padding-top: 7px; }
.section-intro { max-width: 510px; color: var(--muted); font-size: 15px; margin-bottom: 0; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.service { border-top: 1px solid var(--ink); padding-top: 22px; }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 41px; }
.service-number { color: var(--muted); font-size: 11px; }
.service-glyph { font-size: 24px; line-height: 1; }
.service h3 { font-family: var(--display); font-size: 31px; margin-bottom: 15px; }
.service p { font-size: 14px; color: var(--muted); max-width: 340px; margin-bottom: 24px; }
.service ul { margin: 0; padding: 0; list-style: none; }
.service li { font-size: 12px; line-height: 1.6; padding-block: 10px; border-top: 1px solid var(--line); }
.research-section { background: var(--field); color: var(--field-text); padding-block: 90px 92px; }
.research-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 100px; }
.research-intro > .eyebrow { margin-bottom: 34px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; line-height: 1.3; letter-spacing: .07em; text-transform: uppercase; padding: 9px 11px; border: 1px solid #6f8c7e; margin-bottom: 22px; }
.status span { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.research-intro h2 { font-size: clamp(39px, 3.8vw, 54px); }
.research-intro h2 em { color: var(--accent); }
.research-intro > p:not(.eyebrow):not(.status) { color: var(--field-muted); font-size: 15px; max-width: 455px; }
.research-intro > .research-boundary { font-size: 12px !important; border-left: 1px solid #6f8c7e; padding-left: 16px; margin-top: 29px; margin-bottom: 0; }
.research-lines { padding-top: 44px; }
.research-lines article { display: grid; grid-template-columns: 29px 1fr; gap: 20px; border-top: 1px solid #55746b; padding-block: 26px; }
.research-number { font-size: 10px; color: var(--field-muted); padding-top: 4px; }
.research-lines h3 { font-size: 20px; margin-bottom: 10px; }
.research-lines p { font-size: 14px; color: var(--field-muted); max-width: 375px; margin-bottom: 0; }
.light-link { margin-top: 7px; color: var(--accent); }
.light-link:hover { color: var(--field-text); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.principle-index { display: block; font-size: 11px; color: var(--muted); margin-bottom: 19px; }
.principles h3 { font-size: 20px; margin-bottom: 12px; }
.principles p { font-size: 14px; color: var(--muted); margin: 0; max-width: 340px; }
.about-section { display: grid; grid-template-columns: 1fr 2.1fr; gap: 64px; border-top: 1px solid var(--line); padding-block: 74px 100px; }
.founder-name > p:last-child { font-size: 15px; margin: 23px 0 0; }
.founder-name > p:last-child > span { font-size: 11px; color: var(--muted); }
.founder-initials { display: flex; align-items: end; justify-content: space-between; width: 178px; height: 168px; padding: 18px; margin-top: 34px; background: var(--soft); font: 73px/.82 var(--display); letter-spacing: -.08em; }
.founder-initials > span { font: 23px/1 var(--sans); margin-bottom: 2px; }
.about-copy { padding-top: 36px; max-width: 680px; }
.about-copy p { max-width: 555px; font-size: 15px; color: var(--muted); }
.about-copy p + p { font-size: 13px; margin-top: 22px; margin-bottom: 6px; }
.contact-section { padding-block: 75px 79px; background: var(--soft); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: end; }
.contact-layout h2 { font-size: clamp(50px, 5.1vw, 73px); margin-bottom: 0; }
.contact-layout h2 em { color: var(--green); }
.contact-layout .eyebrow { margin-bottom: 27px; }
.contact-copy { padding-bottom: 2px; }
.contact-copy > p:first-child { font-size: 16px; max-width: 475px; margin-bottom: 28px; }
.contact-note { font-size: 10px; color: var(--muted); margin-top: 20px; margin-bottom: 0; }
.contact-copy > .text-link { margin-top: 14px; }
.journal-teaser { border-top: 1px solid var(--line); padding-block: 46px 56px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.journal-teaser h2 { font-size: 42px; margin-bottom: 12px; }
.journal-teaser p:last-child { max-width: 500px; color: var(--muted); font-size: 14px; margin: 0; }
.journal-teaser > a { flex-shrink: 0; }
.journal-hero { padding-block: 72px 55px; border-bottom: 1px solid var(--line); position: relative; }
.journal-hero h1 { font: 400 clamp(52px,6.2vw,86px)/1.03 Georgia,serif; letter-spacing: -.055em; margin: 20px 0 24px; max-width: 870px; }
.journal-hero h1 em { color: var(--green); font-weight: 400; }
.journal-lead { font-size: 19px; max-width: 570px; color: var(--muted); }
.journal-list { padding-block: 0 70px; }
.journal-entry { display: grid; grid-template-columns: 190px 1fr 36px; gap: 40px; padding-block: 43px; border-bottom: 1px solid var(--line); }
.journal-meta { color: var(--muted); font-size: 12px; line-height: 1.8; }
.journal-meta p { margin: 0 0 8px; }
.journal-entry h2 { font-size: 39px; margin: 0 0 15px; line-height: 1.12; }
.journal-entry h2 a { text-decoration: none; }
.journal-entry h2 a:hover { text-decoration: underline; }
.journal-entry p { max-width: 620px; color: var(--muted); }
.entry-arrow { font-size: 27px; text-decoration: none; align-self: start; }
.preview-note { font-size: 12px; line-height: 1.7; color: var(--muted); padding: 17px 0; }
.article-shell { max-width: 790px; padding-block: 62px 72px; }
.article-header { border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 32px; }
.article-header h1 { font: 400 clamp(42px,5.4vw,70px)/1.06 Georgia,serif; letter-spacing: -.05em; margin: 30px 0 24px; overflow-wrap: anywhere; }
.article-header .journal-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.post-content { font-size: 18px; line-height: 1.85; overflow-wrap: anywhere; }
.post-content > p { margin: 0 0 25px; }
.post-content h2 { font-size: 37px; margin: 43px 0 18px; }
.post-content h3 { font-size: 24px; margin: 30px 0 15px; }
.post-content :is(img,video,iframe) { max-width: 100%; }
.post-content img { height: auto; }
.post-content :is(figure,blockquote) { margin: 30px 0; }
.post-content blockquote { padding: 16px 24px; border-left: 2px solid var(--green); background: var(--soft); }
.post-content :is(pre,.wp-block-table) { overflow-x: auto; }
.post-content pre { padding: 20px; background: var(--soft); font-size: 14px; }
.post-content table { width: 100%; border-collapse: collapse; }
.post-content :is(td,th) { padding: 10px; border: 1px solid var(--line); }
.post-content figcaption { color: var(--muted); font-size: 13px; }
.post-figure { margin: 0 0 30px; }
.post-figure img { display: block; width: 100%; height: auto; }
.article-footer { margin-top: 46px; padding-top: 27px; border-top: 1px solid var(--line); }
.journal-empty { padding-block: 45px; }
.pagination { margin-block: 35px 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 700px) { .journal-teaser { display: block; padding-block: 35px 42px; }.journal-teaser h2 { font-size: 36px; }.journal-teaser > a { margin-top: 25px; }.journal-hero { padding-block: 44px 35px; }.journal-hero h1 { font-size: clamp(47px,12vw,70px); }.journal-lead { font-size: 17px; }.journal-entry { grid-template-columns: 1fr 25px; gap: 13px 15px; padding-block: 29px; }.journal-meta { grid-column: 1 / -1; font-size: 11px; }.journal-entry h2 { font-size: 32px; }.journal-entry p { font-size: 14px; margin-bottom: 0; }.journal-list { padding-bottom: 45px; }.article-shell { padding-block: 38px 50px; }.post-content { font-size: 16px; }.post-content h2 { font-size: 31px; }.article-header h1 { font-size: 46px; } }

.footer-brand { font: 22px/1.4 var(--display); letter-spacing: -.03em; text-decoration: none; }

/* The secondary direction is a review option, not a visitor-facing theme switch. */
html[data-direction='ocean'] { --paper: #0c303b; --ink: #f5f0de; --muted: #bacec7; --green: #c5d99c; --line: #416369; --soft: #153e47; --field: #08262e; --field-text: #f5f0de; --field-muted: #bacec7; --display: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
html[data-direction='ocean'] .coastal-heading { display: none; }
html[data-direction='ocean'] .ocean-heading { display: inline; }
html[data-direction='ocean'] h1 { font-size: clamp(53px, 5.6vw, 81px); font-weight: 450; line-height: 1.03; }
html[data-direction='ocean'] h1 em, html[data-direction='ocean'] h2 em { font-style: normal; }
html[data-direction='ocean'] .brand-tides { font-style: normal; font-size: 15px; margin-top: 3px; letter-spacing: .14em; text-transform: uppercase; }
html[data-direction='ocean'] .art-circle { fill: #224e53; }
html[data-direction='ocean'] .art-disc { fill: #c5d99c; }
html[data-direction='ocean'] .pattern-strip { filter: brightness(2); }
html[data-direction='ocean'] .service h3 { font-size: 29px; }
html[data-direction='ocean'] .button { background: #c5d99c; color: #0c303b; }
html[data-direction='ocean'] .button:hover { background: #ecf0de; }

@media (min-width: 1600px) { .hero { padding-block: 90px 80px; } }
@media (max-width: 1100px) {.hero { gap: 36px; }.hero .eyebrow { font-size: 10px; }.hero-lead { font-size: 18px; }.hero-art { aspect-ratio: 420 / 540; }.art-meta { font-size: 7px; }.art-meta span:last-child { display: none; }.research-layout, .contact-layout { gap: 60px; }.section-heading, .about-section { gap: 40px; }.discipline-line { gap: 21px; }.discipline-line > span + span::before { margin-right: 21px; }.services, .principles { gap: 27px; } }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-block: 53px 46px; gap: 42px; }.hero-copy { max-width: 660px; }.hero h1 { font-size: clamp(60px, 10vw, 86px); }.hero-lead { font-size: 21px; max-width: 560px; }.hero-intro { max-width: 520px; }.hero-art { aspect-ratio: auto; height: 300px; }.tide-art { width: 65%; left: auto; right: 0; height: auto; top: -82px; }.art-meta span:last-child { display: block; }.art-meta { font-size: 8px; }.art-bottom { bottom: 30px; }.pattern-strip { top: 62px; }.discipline-location { display: none; }.discipline-line { justify-content: space-between; }.section-heading { grid-template-columns: 1fr 2fr; gap: 30px; }.services { gap: 25px; }.service-top { margin-bottom: 27px; }.service h3 { font-size: 27px; }.service p { font-size: 13px; }.service li { font-size: 11px; }.research-layout { grid-template-columns: 1fr 1fr; gap: 40px; }.research-intro h2 { font-size: 38px; }.research-lines { padding-top: 38px; }.research-lines article { grid-template-columns: 20px 1fr; gap: 10px; }.research-lines h3 { font-size: 18px; }.research-lines p { font-size: 13px; }.contact-layout { gap: 42px; }.contact-layout h2 { font-size: 53px; }.contact-copy > p:first-child { font-size: 14px; }.contact-copy .button { gap: 15px; font-size: 12px; }.about-section { grid-template-columns: 1fr 2fr; }.founder-initials { width: 150px; height: 150px; } }
@media (max-width: 700px) {.hero { padding-top: 44px; gap: 37px; }.hero .eyebrow { font-size: 9px; margin-bottom: 24px; letter-spacing: .1em; }.hero h1 { font-size: clamp(46px, 11vw, 71px); margin-bottom: 23px; }.hero-lead { font-size: 19px; max-width: 420px; }.hero-intro { font-size: 13px; max-width: 440px; margin-bottom: 27px; }.hero-actions { gap: 24px; }.button { min-height: 49px; padding: 13px 17px; gap: 30px; font-size: 12px; }.text-link { font-size: 12px; gap: 16px; }.hero-art { height: 250px; }.tide-art { width: 76%; top: -25px; right: -10px; }.art-meta { top: 19px; left: 19px; right: 19px; font-size: 7px; }.pattern-strip { left: 19px; top: 53px; width: 105px; height: 11px; background-size: auto 11px; }.art-bottom { left: 19px; right: 19px; bottom: 23px; font-size: 28px; }.art-symbol { font-size: 32px; }.discipline-line { gap: 10px; font-size: 8px; letter-spacing: .06em; padding-block: 18px; }.discipline-line > span + span::before { margin-right: 10px; }.section { padding-block: 65px; }.section-heading { grid-template-columns: 1fr; gap: 17px; margin-bottom: 35px; }.section-label { padding-top: 0; margin-bottom: 0; }h2 { font-size: 41px; margin-bottom: 20px; }.section-intro { font-size: 14px; }.services { grid-template-columns: 1fr; gap: 37px; }.service-top { margin-bottom: 19px; }.service h3 { font-size: 30px; }.service p { font-size: 14px; max-width: 440px; margin-bottom: 20px; }.service li { font-size: 12px; padding-block: 10px; }.research-section { padding-block: 60px; }.research-layout { grid-template-columns: 1fr; gap: 19px; }.research-intro > .eyebrow { margin-bottom: 28px; }.research-intro h2 { font-size: 42px; }.research-intro > p:not(.eyebrow):not(.status) { font-size: 14px; max-width: 470px; }.research-lines { padding-top: 19px; }.research-lines article { grid-template-columns: 25px 1fr; gap: 12px; padding-block: 23px; }.research-lines h3 { font-size: 20px; }.research-lines p { font-size: 14px; max-width: 450px; }.principles { grid-template-columns: 1fr; gap: 28px; }.principle-index { margin-bottom: 10px; }.principles p { max-width: 430px; }.principles h3 { font-size: 21px; }.about-section { grid-template-columns: 1fr; gap: 32px; padding-block: 52px 64px; }.founder-name { display: grid; grid-template-columns: 86px 1fr; column-gap: 21px; align-items: center; }.founder-name > .eyebrow { grid-column: 1 / -1; margin-bottom: 27px; }.founder-initials { width: 86px; height: 84px; margin-top: 0; padding: 10px; font-size: 40px; }.founder-initials > span { font-size: 14px; }.founder-name > p:last-child { margin: 0; }.about-copy { padding-top: 0; }.about-copy h2 { font-size: 40px; }.about-copy p { font-size: 14px; }.contact-section { padding-block: 57px; }.contact-layout { grid-template-columns: 1fr; gap: 29px; }.contact-layout h2 { font-size: 57px; }.contact-copy > p:first-child { font-size: 15px; max-width: 440px; }.contact-copy .button { font-size: 12px; gap: 31px; }.contact-note { font-size: 10px; line-height: 1.8; }.footer-brand { font-size: 20px; }html[data-direction='ocean'] .hero h1 { font-size: clamp(44px, 9.8vw, 63px); } }
@media (max-width: 370px) {.hero .eyebrow { font-size: 8px; }.hero-actions { gap: 17px; }.hero .button { gap: 15px; }.hero-actions .text-link { gap: 9px; font-size: 11px; }.discipline-line { font-size: 7px; gap: 7px; }.discipline-line > span + span::before { margin-right: 7px; }.art-meta span:last-child { display: none; }.hero-art { height: 220px; }.tide-art { width: 88%; right: -35px; top: -2px; }h2 { font-size: 37px; }.research-intro h2 { font-size: 39px; }.about-copy h2 { font-size: 36px; }.contact-layout h2 { font-size: 53px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }*, *::before, *::after { transition: none !important; } }
@media print {.site-header, .hero-art, .hero-actions, .mobile-menu, .back-top { display: none; }.hero, .section, .research-section, .about-section, .contact-section { padding-block: 24px; }.hero, .research-layout { display: block; }.hero h1 { font-size: 46px; }.research-section { background: white; color: #173f3e; }.research-section p, .research-number { color: #173f3e !important; }.research-intro h2 em, .light-link { color: #173f3e; }.research-lines { padding-top: 16px; }.service, .principles article, .research-lines article { break-inside: avoid; } }

/* Project imagery follows the Blog's editorial spacing. */
.project-entry{grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr) 36px;align-items:start}
.project-image{display:block;position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--soft);color:var(--ink)}
.project-image img{position:absolute;left:50%;top:50%;width:140%;max-width:none;height:auto;transform:translate(-50%,-50%)}
.project-image-label{position:absolute;left:20px;bottom:16px;font:600 10px/1.4 var(--sans);letter-spacing:.13em;text-transform:uppercase}
.project-summary .journal-meta{font-size:12px;line-height:1.8;margin:0 0 18px}
@media(max-width:700px){.project-entry{grid-template-columns:minmax(0,1fr) 25px}.project-image{grid-column:1/-1;margin-bottom:10px}.project-summary{grid-column:1}.project-entry>.entry-arrow{grid-column:2}.project-summary .journal-meta{font-size:11px;margin-bottom:14px}.project-image-label{left:16px;bottom:14px;font-size:9px}}
