/* The Coastal Heritage — Journal theme. Base rules mirrored from the home page. */
*, ::before, ::after { box-sizing: border-box; margin: 0px; padding: 0px; }
:root { --sand: #F4EEE0; --sand-deep: #E8DCCA; --driftwood: #B89A78; --driftwood-dark: #8C6E4A; --ink: #1A1712; --ink-mid: #3A3228; --sea: #3D6F72; --sea-light: #6DA8AC; --sea-pale: #D8ECEE; --cream: #FDFAF4; --gold: #C49A4A; --gold-light: #E8C97C; --white: #FFFFFF; --text-body: #4A3F33; --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Jost', sans-serif; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); font-weight: 300; overflow-x: hidden; }
nav { position: fixed; top: 0px; left: 0px; right: 0px; z-index: 100; padding: 24px 60px; display: flex; align-items: center; justify-content: space-between; transition: background 0.5s, padding 0.5s; }
nav.scrolled { background: rgba(253, 250, 244, 0.97); padding: 16px 60px; border-bottom: 1px solid var(--sand-deep); }
.nav-logo { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: 0.04em; color: var(--white); text-decoration: none; transition: color 0.4s; }
nav.scrolled .nav-logo { color: var(--ink); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); text-decoration: none; transition: color 0.3s; }
nav.scrolled .nav-links a { color: var(--ink-mid); }
.nav-links a:hover { color: var(--gold-light); }
nav.scrolled .nav-links a:hover { color: var(--gold); }
.nav-cta { font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); border: 1px solid rgba(196, 154, 74, 0.5); padding: 10px 24px; text-decoration: none; transition: 0.35s; }
nav.scrolled .nav-cta { color: var(--gold); border-color: var(--gold); }
.nav-cta:hover { background: var(--gold); color: var(--ink); }
.btn-primary { font-family: var(--sans); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; background: var(--gold); color: var(--ink); border-width: medium; border-style: none; border-color: currentcolor; border-image: none; padding: 16px 40px; cursor: pointer; text-decoration: none; transition: background 0.3s, transform 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost { font-family: var(--sans); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.45); padding: 16px 40px; text-decoration: none; transition: border-color 0.3s, background 0.3s; display: inline-block; }
.btn-ghost:hover { border-color: white; background: rgba(255, 255, 255, 0.1); }
.section-label { font-family: var(--sans); font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: flex; align-items: center; gap: 16px; }
.section-label::before { content: ""; display: block; width: 32px; height: 1px; background: var(--gold); }
.section-title { font-family: var(--serif); font-size: clamp(36px, 5vw, 60px); font-weight: 300; line-height: 1.1; color: var(--ink); letter-spacing: 0.01em; }
.section-title em { font-style: italic; color: var(--driftwood-dark); }
footer { background: rgb(14, 11, 7); padding: 80px 60px 40px; color: rgba(255, 255, 255, 0.5); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; max-width: 1200px; margin: 0px auto 60px; }
.footer-brand-name { font-family: var(--serif); font-size: 28px; font-weight: 300; color: var(--sand); letter-spacing: 0.04em; margin-bottom: 20px; }
.footer-tagline { font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, 0.45); max-width: 280px; }
.footer-col-title { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13px; color: rgba(255, 255, 255, 0.45); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { max-width: 1200px; margin: 0px auto; border-top: 1px solid rgba(255, 255, 255, 0.07); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: rgba(255, 255, 255, 0.25); }
.footer-gold { color: var(--gold); }
@media (max-width: 900px) { nav { padding: 20px 28px; } nav.scrolled { padding: 14px 28px; } .nav-links { display: none; } .footer-top { grid-template-columns: 1fr 1fr; } }

/* ===== Journal & article theme (matches home page) ===== */
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.nav-links a[aria-current="page"] { color: var(--gold-light); }
nav.scrolled .nav-links a[aria-current="page"] { color: var(--gold); }

/* ---------- Shared hero ---------- */
.j-hero, .a-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; padding: 160px 60px 80px; color: var(--white); overflow: hidden; background: var(--ink); }
.j-hero::before, .a-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--bg); background-size: cover; background-position: center; transform: scale(1.04); animation: jZoom 14s ease-out forwards; }
.j-hero::after, .a-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,14,9,.6) 0%, rgba(18,14,9,.22) 30%, rgba(18,14,9,.3) 55%, rgba(18,14,9,.82) 100%); }
@keyframes jZoom { to { transform: scale(1); } }
.j-hero-inner, .a-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.j-hero { justify-content: center; text-align: center; align-items: center; min-height: 70vh; padding-bottom: 100px; }
.j-hero .section-label, .a-hero .section-label { color: var(--gold-light); justify-content: center; }
.j-hero .section-label::before, .a-hero .section-label::before { background: var(--gold-light); }
.j-hero-title { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 7vw, 92px); line-height: 1.02; letter-spacing: .01em; }
.j-hero-title em, .a-title em { font-style: italic; color: var(--gold-light); }
.j-hero-sub { margin: 24px auto 0; max-width: 560px; font-size: 15px; letter-spacing: .04em; line-height: 1.8; color: rgba(255,255,255,.82); }

/* ---------- Journal listing ---------- */
.j-main { background: var(--cream); padding: 100px 60px 40px; }
.j-wrap { max-width: 1200px; margin: 0 auto; }
.j-featured { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--white); border: 1px solid var(--sand-deep); margin-bottom: 90px; text-decoration: none; color: inherit; transition: box-shadow .4s; }
.j-featured:hover { box-shadow: 0 30px 60px -30px rgba(26,23,18,.35); }
.j-featured .j-img { min-height: 440px; overflow: hidden; }
.j-featured .j-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.j-featured:hover .j-img img { transform: scale(1.04); }
.j-featured .j-body { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.j-featured .j-title { font-size: clamp(30px, 3vw, 42px); }
.j-tag { font-size: 9px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; }
.j-title { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--ink); margin-bottom: 16px; }
.j-excerpt { font-size: 15px; line-height: 1.8; color: var(--text-body); margin-bottom: 26px; }
.j-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid var(--sand-deep); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--driftwood-dark); margin-top: auto; }
.j-more { color: var(--sea); letter-spacing: .2em; }
.j-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 48px; }
.j-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.j-chip { font-family: var(--sans); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; padding: 11px 20px; border: 1px solid var(--sand-deep); background: transparent; color: var(--ink-mid); cursor: pointer; transition: all .3s; }
.j-chip:hover { border-color: var(--driftwood); }
.j-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.j-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.j-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--sand-deep); transition: transform .4s, box-shadow .4s; }
.j-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(26,23,18,.35); }
.j-card .j-img { aspect-ratio: 4 / 3; overflow: hidden; }
.j-card .j-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.j-card:hover .j-img img { transform: scale(1.05); }
.j-card .j-body { padding: 30px 28px 26px; display: flex; flex-direction: column; flex: 1; }
.j-card[hidden] { display: none; }

/* ---------- CTA band ---------- */
.j-cta { background: var(--sea); color: var(--white); text-align: center; padding: 100px 60px; }
.j-cta .section-label { color: var(--gold-light); justify-content: center; }
.j-cta .section-label::before { background: var(--gold-light); }
.j-cta h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.1; margin-bottom: 18px; }
.j-cta h2 em { font-style: italic; color: var(--gold-light); }
.j-cta p { max-width: 560px; margin: 0 auto 36px; font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.85); }
.j-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.j-btn { display: inline-block; font-family: var(--sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; padding: 16px 34px; text-decoration: none; transition: all .3s; }
.j-btn-gold { background: var(--gold); color: var(--white); }
.j-btn-gold:hover { background: var(--driftwood-dark); }
.j-btn-line { border: 1px solid rgba(255,255,255,.6); color: var(--white); }
.j-btn-line:hover { background: rgba(255,255,255,.12); }

/* ---------- Article ---------- */
.a-hero { min-height: 72vh; }
.a-hero-inner { margin: 0 auto; width: 100%; max-width: 860px; text-align: center; }
.a-crumbs { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; }
.a-crumbs a { color: var(--gold-light); text-decoration: none; border-bottom: 1px solid rgba(232,201,124,.4); }
.a-crumbs span { margin: 0 10px; opacity: .6; }
.a-title { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 5.2vw, 66px); line-height: 1.08; }
.a-meta { margin-top: 26px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.a-meta i { font-style: normal; color: var(--gold-light); margin: 0 10px; }
.a-main { background: var(--cream); padding: 90px 24px 40px; }
.a-body { max-width: 740px; margin: 0 auto; font-size: 17px; line-height: 1.9; color: var(--text-body); }
.a-body > * + * { margin-top: 1.2em; }
.a-lead { font-family: var(--serif); font-size: 25px; line-height: 1.55; color: var(--ink-mid); font-weight: 400; padding-bottom: 34px; border-bottom: 1px solid var(--sand-deep); margin-bottom: 10px; }
.a-figure { margin: 46px 0; }
.a-figure img { width: 100%; height: auto; }
.a-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.2; color: var(--ink); margin-top: 1.9em; margin-bottom: .2em; }
.a-body h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.3; color: var(--ink); margin-top: 1.5em; }
.a-body p { margin: 0 0 1.05em; }
.a-body .section + .section { margin-top: 1.4em; }
.a-body strong, .a-body b { font-weight: 500; color: var(--ink-mid); }
.a-body a { color: var(--sea); text-decoration: none; border-bottom: 1px solid var(--sea-light); transition: color .2s; }
.a-body a:hover { color: var(--driftwood-dark); }
.a-body ul { padding-left: 1.2em; }
.a-body li { margin-bottom: .5em; }
.a-body img { margin: 32px 0; }
.highlight-text { background: linear-gradient(transparent 62%, var(--sea-pale) 62%); color: var(--ink-mid); }
.numbered-section { margin-top: 1.4em; }
/* components from the long-form guide */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tag { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 7px 14px; border: 1px solid var(--sand-deep); color: var(--driftwood-dark); }
.pull-quote { margin: 48px 0; padding: 10px 0 10px 32px; border-left: 2px solid var(--gold); }
.pull-quote p { font-family: var(--serif); font-style: italic; font-size: 27px; line-height: 1.45; color: var(--ink-mid); margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 34px 0; }
.feature-card { background: var(--white); border: 1px solid var(--sand-deep); padding: 26px 24px; }
.feature-card .icon { font-size: 24px; margin-bottom: 10px; }
.feature-card h3 { margin-top: 0; font-size: 21px; }
.feature-card p { font-size: 15px; line-height: 1.7; margin: 8px 0 0; }
.room-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 30px 0; }
.room-pill { background: var(--sand); padding: 18px 20px; font-size: 15px; line-height: 1.6; }
.cta-box, .a-cta { background: var(--sand); border: 1px solid var(--sand-deep); padding: 46px 44px; text-align: center; margin: 54px 0; }
.cta-box h2, .a-cta h2 { margin-top: 0 !important; }
.cta-btn { display: inline-block; margin-top: 10px; background: var(--ink); color: var(--cream) !important; border: 0 !important; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; padding: 16px 32px; }
.cta-btn:hover { background: var(--sea); }
.cta-secondary { display: block; margin-top: 14px; font-size: 12px; letter-spacing: .06em; color: var(--driftwood-dark); }
.a-cta .j-btns { margin-top: 22px; }
.a-cta .j-btn-line { border-color: var(--ink); color: var(--ink) !important; }
.a-cta .j-btn-line:hover { background: var(--ink); color: var(--cream) !important; }
.a-cta a { border-bottom: 0 !important; }
.a-cta .j-btn-gold { color: var(--white) !important; }
hr.divider { border: 0; border-top: 1px solid var(--sand-deep); margin: 50px 0; }
.faq { margin-top: 20px; }
.faq-item { border-bottom: 1px solid var(--sand-deep); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-family: var(--serif); font-size: 21px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-size: 20px; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 12px 0 0; }

/* related links block */
.a-main .rl-wrap { max-width: 1100px; margin: 70px auto 60px; padding: 0; }
.a-main .rl-box { border-top: 1px solid var(--sand-deep); padding-top: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.a-main .rl-box h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--ink); margin: 0 0 20px; }
.a-main .rl-box ul { list-style: none; margin: 0; padding: 0; }
.a-main .rl-box li { border-bottom: 1px solid var(--sand-deep); }
.a-main .rl-box a { display: block; padding: 15px 0; font-size: 15px; line-height: 1.5; color: var(--ink-mid); text-decoration: none; transition: color .2s, padding .3s; }
.a-main .rl-box a::after { content: " →"; color: var(--gold); }
.a-main .rl-box a:hover { color: var(--sea); padding-left: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .j-grid { grid-template-columns: repeat(2, 1fr); }
  .j-featured { grid-template-columns: 1fr; }
  .j-featured .j-img { min-height: 300px; }
}
@media (max-width: 700px) {
  .j-hero, .a-hero { padding: 130px 22px 60px; min-height: 60vh; }
  .j-main { padding: 60px 18px 20px; }
  .j-grid { grid-template-columns: 1fr; }
  .j-featured .j-body { padding: 34px 26px; }
  .j-head { flex-direction: column; align-items: flex-start; }
  .j-cta { padding: 70px 22px; }
  .a-main { padding: 56px 20px 20px; }
  .a-body { font-size: 16px; }
  .a-lead { font-size: 21px; }
  .feature-grid, .a-main .rl-box { grid-template-columns: 1fr; gap: 30px; }
  .cta-box, .a-cta { padding: 34px 22px; }
  .pull-quote p { font-size: 22px; }
}
