:root {
    --ink: #14211d;
    --ink-soft: #21352f;
    --muted: #6c7c75;
    --line: rgba(20, 33, 29, 0.12);
    --paper: #f4f1e8;
    --paper-strong: #ede7d8;
    --white: #ffffff;
    --forest: #123c34;
    --forest-deep: #0a211e;
    --moss: #1d6b56;
    --gold: #d8ab52;
    --gold-soft: #f3e2bb;
    --sand: #d5cab0;
    --shadow: 0 24px 70px rgba(10, 33, 30, 0.14);
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 38px;
    --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(216, 171, 82, 0.18), transparent 28%),
        linear-gradient(180deg, #f8f4ea 0%, #f4f1e8 44%, #f7f4ec 100%);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
}

body::before {
    background:
        linear-gradient(90deg, rgba(20, 33, 29, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(20, 33, 29, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    content: "";
    inset: 0;
    opacity: 0.28;
    pointer-events: none;
    position: fixed;
    z-index: -1;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p,
dl {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(3.9rem, 8vw, 7rem);
    line-height: 0.93;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    line-height: 0.95;
    margin-bottom: 18px;
}

h3 {
    font-size: 1.55rem;
    line-height: 1.15;
    margin-bottom: 12px;
}

main {
    overflow: clip;
}

.site-header,
.site-footer,
.trust-strip,
.section-band,
.content-section,
.process-section,
.contact-section,
.page-hero,
.blog-detail {
    padding-left: clamp(20px, 4vw, 64px);
    padding-right: clamp(20px, 4vw, 64px);
}

.mobile-dock,
.hero-mobile-badge {
    display: none;
}

.site-header {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(244, 241, 232, 0.78);
    border-bottom: 1px solid rgba(20, 33, 29, 0.08);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    left: 0;
    padding-bottom: 16px;
    padding-top: 16px;
    position: sticky;
    right: 0;
    top: 0;
    z-index: 20;
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.site-footer,
.header-actions,
.footer-meta {
    align-items: center;
    display: flex;
}

.brand {
    gap: 14px;
}

.brand img {
    border: 1px solid rgba(20, 33, 29, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(10, 33, 30, 0.12);
    height: 48px;
    object-fit: cover;
    width: 48px;
}

.brand span {
    display: grid;
    gap: 2px;
}

.brand strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: -0.03em;
}

.brand small {
    color: var(--muted);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-links {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(20, 33, 29, 0.08);
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(10, 33, 30, 0.08);
    gap: 8px;
    padding: 7px;
}

.nav-links a,
.header-link {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 10px 14px;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.header-link:hover {
    background: rgba(18, 60, 52, 0.08);
    border-radius: 999px;
    color: var(--ink);
    transform: translateY(-1px);
}

.header-actions {
    gap: 10px;
}

.header-cta,
.primary-btn,
.secondary-btn,
.contact-form button,
.admin-btn,
.admin-form button {
    border-radius: 999px;
    font-weight: 800;
    min-height: 48px;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta,
.primary-btn,
.contact-form button,
.admin-btn,
.admin-form button {
    background: linear-gradient(135deg, var(--moss), var(--forest));
    box-shadow: 0 18px 28px rgba(18, 60, 52, 0.24);
    color: var(--white);
    padding: 12px 20px;
}

.header-cta:hover,
.primary-btn:hover,
.secondary-btn:hover,
.contact-form button:hover,
.admin-btn:hover,
.admin-form button:hover {
    box-shadow: 0 22px 34px rgba(18, 60, 52, 0.22);
    transform: translateY(-2px);
}

.hero {
    display: grid;
    gap: clamp(30px, 5vw, 72px);
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    min-height: calc(100vh - 86px);
    padding: clamp(42px, 8vw, 96px) clamp(20px, 4vw, 64px) 42px;
    position: relative;
}

.hero::after {
    background:
        radial-gradient(circle at center, rgba(216, 171, 82, 0.22), transparent 58%);
    content: "";
    height: 420px;
    position: absolute;
    right: -140px;
    top: -80px;
    width: 420px;
    z-index: -1;
}

.hero-copy {
    align-self: center;
    max-width: 760px;
    position: relative;
}

.eyebrow,
.hero-kicker,
.trust-label,
.article-meta,
.process-list strong {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow {
    color: var(--moss);
    margin: 0 0 12px;
}

.hero-kicker {
    color: var(--muted);
    display: inline-flex;
    margin-bottom: 18px;
    position: relative;
}

.hero-kicker::before {
    background: var(--gold);
    border-radius: 999px;
    content: "";
    display: inline-block;
    height: 10px;
    margin-right: 10px;
    width: 10px;
}

.hero h1 span {
    color: var(--moss);
    position: relative;
}

.hero h1 span::after {
    background: linear-gradient(135deg, rgba(216, 171, 82, 0.32), rgba(216, 171, 82, 0));
    border-radius: 999px;
    bottom: 4px;
    content: "";
    height: 16px;
    left: -6px;
    position: absolute;
    right: -6px;
    z-index: -1;
}

.hero-lead {
    color: var(--ink-soft);
    font-size: clamp(1.1rem, 2vw, 1.38rem);
    max-width: 650px;
}

.hero-mobile-badge {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 33, 29, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 32px rgba(10, 33, 30, 0.08);
    margin-top: 24px;
    max-width: 420px;
    padding: 16px 18px;
}

.hero-mobile-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.12rem;
    margin-bottom: 6px;
}

.hero-mobile-badge p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.hero-actions {
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0 34px;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 33, 29, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
    color: var(--ink);
    padding: 12px 20px;
}

.hero-stats {
    border-top: 1px solid rgba(20, 33, 29, 0.1);
    gap: 18px;
    padding-top: 22px;
}

.hero-stats div {
    min-width: 148px;
}

.hero-stats dt {
    font-family: var(--font-display);
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.hero-stats dd {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
}

.hero-media {
    align-self: center;
    min-height: 620px;
    position: relative;
}

.hero-media::before {
    background: linear-gradient(180deg, rgba(10, 33, 30, 0) 18%, rgba(10, 33, 30, 0.74) 100%);
    border-radius: var(--radius-lg);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.hero-media img {
    border: 1px solid rgba(20, 33, 29, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 620px;
    object-fit: cover;
    width: 100%;
}

.hero-panel {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 24px;
    box-shadow: 0 24px 44px rgba(10, 33, 30, 0.18);
    max-width: 260px;
    padding: 18px 18px 16px;
    position: absolute;
    z-index: 2;
}

.hero-panel span,
.hero-panel p {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.hero-panel strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.08;
    margin-bottom: 6px;
}

.hero-panel small {
    color: var(--ink-soft);
    display: block;
    font-size: 0.92rem;
    line-height: 1.5;
}

.hero-panel ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
}

.hero-panel li {
    color: var(--ink-soft);
    font-size: 0.94rem;
}

.hero-panel-top {
    right: -14px;
    top: 32px;
}

.hero-panel-bottom {
    bottom: 24px;
    left: -18px;
}

.trust-strip {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 10px;
    padding-bottom: 26px;
    padding-top: 10px;
}

.trust-strip > div,
.service-card,
.article-card,
.blueprint-grid article {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 33, 29, 0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 40px rgba(10, 33, 30, 0.07);
}

.trust-strip > div {
    padding: 24px;
}

.trust-label,
.article-meta {
    color: var(--moss);
    display: inline-block;
    margin-bottom: 10px;
}

.trust-strip strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 10px;
}

.trust-strip p,
.intro-content p,
.service-card p,
.blueprint-grid p,
.article-grid p,
.contact-section p,
.blog-meta,
.blog-body,
.compact-hero p:not(.eyebrow) {
    color: var(--muted);
}

.section-band,
.content-section,
.process-section,
.contact-section {
    padding-bottom: clamp(58px, 8vw, 100px);
    padding-top: clamp(58px, 8vw, 100px);
}

.intro-band {
    background:
        linear-gradient(135deg, rgba(10, 33, 30, 0.96), rgba(18, 60, 52, 0.9)),
        var(--forest-deep);
    border-radius: 40px;
    color: var(--white);
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
    margin: 0 clamp(20px, 4vw, 64px);
    padding-left: clamp(24px, 4vw, 44px);
    padding-right: clamp(24px, 4vw, 44px);
    position: relative;
}

.intro-band::after {
    background: radial-gradient(circle at center, rgba(216, 171, 82, 0.2), transparent 65%);
    content: "";
    height: 280px;
    position: absolute;
    right: -60px;
    top: -60px;
    width: 280px;
}

.intro-band .eyebrow,
.intro-band p {
    color: #d9ece7;
}

.intro-content {
    display: grid;
    gap: 22px;
}

.intro-points {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intro-points article {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 20px;
}

.intro-points strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.section-heading {
    max-width: 820px;
}

.service-grid,
.article-grid,
.blueprint-grid {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.service-grid,
.article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.article-card {
    overflow: hidden;
    padding: 26px;
    position: relative;
}

.service-card::before,
.article-card::before {
    background: linear-gradient(135deg, rgba(216, 171, 82, 0.14), transparent 42%);
    content: "";
    inset: 0;
    position: absolute;
}

.service-card > *,
.article-card > * {
    position: relative;
    z-index: 1;
}

.service-card span {
    color: var(--moss);
    display: inline-flex;
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 26px;
}

.service-card a {
    color: var(--forest);
    display: inline-flex;
    font-weight: 800;
    margin-top: 14px;
}

.service-card a::after,
.text-link::after {
    content: " ->";
}

.blueprint-section {
    padding: 0 clamp(20px, 4vw, 64px) clamp(58px, 8vw, 100px);
}

.blueprint-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blueprint-grid article {
    padding: 28px;
}

.blueprint-grid strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 12px;
}

.process-section {
    background:
        linear-gradient(180deg, rgba(18, 60, 52, 0.05), rgba(18, 60, 52, 0.02)),
        rgba(255, 255, 255, 0.42);
    border-top: 1px solid rgba(20, 33, 29, 0.06);
    border-bottom: 1px solid rgba(20, 33, 29, 0.06);
}

.process-list {
    display: grid;
    gap: 16px;
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
}

.process-list li {
    align-items: center;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(20, 33, 29, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(10, 33, 30, 0.07);
    display: grid;
    gap: 20px;
    grid-template-columns: 84px minmax(0, 1fr);
    padding: 18px;
}

.process-list span {
    align-items: center;
    background: linear-gradient(135deg, var(--gold), #f0cc7b);
    border-radius: 22px;
    color: var(--forest-deep);
    display: flex;
    font-family: var(--font-display);
    font-size: 2rem;
    height: 84px;
    justify-content: center;
    width: 84px;
}

.process-list strong {
    color: var(--moss);
    display: inline-block;
    margin-bottom: 8px;
}

.process-list p {
    margin: 0;
}

.gallery-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    margin-top: 30px;
}

.gallery-grid figure {
    aspect-ratio: 4 / 3;
    border-radius: 30px;
    grid-column: span 3;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.gallery-grid figure:nth-child(1),
.gallery-grid figure:nth-child(4) {
    grid-column: span 5;
}

.gallery-grid figure:nth-child(2),
.gallery-grid figure:nth-child(3) {
    grid-column: span 7;
}

.gallery-grid img {
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    width: 100%;
}

.gallery-grid figcaption {
    background: linear-gradient(180deg, rgba(10, 33, 30, 0), rgba(10, 33, 30, 0.82));
    bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    left: 0;
    padding: 32px 20px 18px;
    position: absolute;
    right: 0;
}

.article-thumb {
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    margin-bottom: 18px;
    object-fit: cover;
    width: 100%;
}

.article-card h3 a:hover,
.text-link {
    color: var(--moss);
}

.text-link {
    display: inline-flex;
    font-weight: 800;
    margin-top: 10px;
}

.contact-section {
    background:
        linear-gradient(135deg, rgba(10, 33, 30, 0.98), rgba(18, 60, 52, 0.92)),
        var(--forest-deep);
    border-radius: 40px 40px 0 0;
    color: var(--white);
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.74fr);
}

.contact-section .eyebrow {
    color: var(--gold-soft);
}

.contact-copy {
    max-width: 720px;
}

.contact-points {
    display: grid;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
}

.contact-points li {
    color: #e2efe9;
    list-style: none;
    padding-left: 30px;
    position: relative;
}

.contact-points li::before {
    color: var(--gold);
    content: "+";
    font-size: 1.4rem;
    left: 0;
    line-height: 1;
    position: absolute;
    top: 2px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
    color: var(--ink);
    display: grid;
    gap: 16px;
    padding: 26px;
}

.contact-form label,
.admin-form label {
    display: grid;
    font-size: 0.88rem;
    font-weight: 800;
    gap: 8px;
}

.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form textarea {
    background: #fcfbf7;
    border: 1px solid rgba(20, 33, 29, 0.12);
    border-radius: 16px;
    color: var(--ink);
    font: inherit;
    padding: 14px 15px;
    width: 100%;
}

.contact-form textarea,
.admin-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button,
.admin-form button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.site-footer {
    background: var(--forest-deep);
    color: var(--white);
    gap: 24px;
    justify-content: space-between;
    padding-bottom: 34px;
    padding-top: 28px;
}

.footer-brand strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.72);
    margin: 8px 0 0;
    max-width: 640px;
}

.footer-meta {
    gap: 18px;
}

.footer-meta span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-hero {
    padding-bottom: clamp(50px, 8vw, 90px);
    padding-top: clamp(56px, 8vw, 110px);
}

.compact-hero {
    background:
        linear-gradient(180deg, rgba(18, 60, 52, 0.1), rgba(18, 60, 52, 0.02)),
        rgba(255, 255, 255, 0.46);
    border-bottom: 1px solid rgba(20, 33, 29, 0.08);
}

.compact-hero h1 {
    margin-bottom: 16px;
    max-width: 860px;
}

.compact-hero p:not(.eyebrow) {
    font-size: 1.16rem;
    max-width: 760px;
}

.pagination-wrap {
    margin-top: 28px;
}

.pagination-wrap nav {
    display: flex;
    justify-content: center;
}

.pagination-wrap svg {
    height: 18px;
    width: 18px;
}

.blog-detail {
    margin: 0 auto;
    max-width: 980px;
    padding-bottom: clamp(60px, 8vw, 100px);
    padding-top: clamp(48px, 8vw, 86px);
}

.blog-detail h1 {
    font-size: clamp(3rem, 6vw, 5.3rem);
    margin-top: 10px;
}

.blog-detail > img {
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    box-shadow: var(--shadow);
    margin: 28px 0;
    object-fit: cover;
    width: 100%;
}

.blog-meta {
    font-weight: 700;
}

.blog-body {
    font-size: 1.1rem;
}

.blog-body p {
    margin-bottom: 1rem;
}

.login-body,
.admin-body {
    background:
        radial-gradient(circle at top left, rgba(216, 171, 82, 0.2), transparent 26%),
        linear-gradient(135deg, rgba(18, 60, 52, 0.12), transparent 32%),
        var(--paper);
}

.login-shell {
   min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
}

.login-panel {
   background:#fff;
    border-radius:30px;
    overflow:hidden;
    display:grid;
    grid-template-columns:1fr 450px;
    max-width:1100px;
    width:100%;
    box-shadow:0 20px 60px rgba(0,0,0,.15);
    padding:0;
}

.login-panel h1{
    font-size:48px;
    line-height:1.1;
    margin-bottom:20px;
}

.login-panel h2{
    font-size:32px;
}

.login-panel p{
    font-size:16px;
}

.login-info{
    background:linear-gradient(
        135deg,
        #123c34,
        #1d6b56
    );
    color:white;
    padding:60px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.login-info .eyebrow{
    color:#d8ab52;
}

.login-info p{
    color:#e5e7eb;
}

.login-form{
    padding:60px;
}

.login-form input{
    height:54px;
    border-radius:12px;
}

.login-form button{
    width:100%;
    height:54px;
    border-radius:12px;
}

.admin-body {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
        var(--forest-deep);
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 100vh;
    padding: 24px;
    position: sticky;
    top: 0;
}

.admin-brand {
    align-items: center;
    display: flex;
    font-weight: 900;
    gap: 10px;
}

.admin-brand img {
    border-radius: 12px;
    height: 40px;
    object-fit: cover;
    width: 40px;
}

.admin-menu {
    display: grid;
    gap: 8px;
}

.admin-menu a,
.admin-logout {
    border-radius: 16px;
    color: #d7f4ea;
    display: block;
    font: inherit;
    font-weight: 800;
    padding: 12px 14px;
    text-align: left;
}

.admin-menu a.active,
.admin-menu a:hover,
.admin-logout:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.admin-sidebar form {
    margin-top: auto;
}

.admin-logout {
    background: transparent;
    border: 0;
    cursor: pointer;
    width: 100%;
}

.admin-main {
    padding: clamp(22px, 4vw, 46px);
}

.admin-topbar {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.admin-topbar h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin: 0;
}

.admin-topbar > span {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(20, 33, 29, 0.08);
    border-radius: 999px;
    font-weight: 800;
    padding: 10px 14px;
}

.metric-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 18px;
}

.metric-grid article,
.admin-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(20, 33, 29, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(10, 33, 30, 0.08);
}

.metric-grid article {
    padding: 22px;
}

.metric-grid span {
    color: var(--muted);
    display: block;
    font-weight: 800;
}

.metric-grid strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.8rem;
    line-height: 1;
    margin-top: 12px;
}

.admin-panel {
    padding: 22px;
}

.panel-heading {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.panel-heading h2 {
    font-size: 1.9rem;
    margin: 0;
}

.table-wrap {
    overflow-x: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    border-bottom: 1px solid rgba(20, 33, 29, 0.08);
    padding: 13px 10px;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.table-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.table-actions a,
.table-actions button {
    background: transparent;
    border: 0;
    color: var(--moss);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    padding: 0;
}

.admin-form {
    display: grid;
    gap: 16px;
}

.check-row {
    align-items: center;
    display: flex !important;
    gap: 10px !important;
}

.check-row input {
    width: auto;
}

.notice {
    border-radius: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    padding: 13px 15px;
}

.notice.success {
    background: #dff7ec;
    color: #096143;
}

.notice.danger {
    background: #ffe3df;
    color: #8f2114;
}

.form-section {
    border-top: 1px solid rgba(20, 33, 29, 0.08);
    padding-top: 24px;
}

.form-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.form-section-heading {
    margin-bottom: 18px;
}

.form-section-heading h2 {
    font-size: 1.85rem;
    margin-bottom: 8px;
}

.form-section-heading p,
.table-subtext,
.status-card p,
.notes-grid p,
.share-box p,
.photo-slot-card label,
.checklist-item p,
.photo-placeholder {
    color: var(--muted);
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-helper {
    color: var(--muted);
    font-size: 0.94rem;
    margin: 6px 0 0;
}

.summary-grid,
.notes-grid,
.detail-grid,
.photo-slot-grid,
.photo-preview-grid {
    display: grid;
    gap: 16px;
}

.summary-grid,
.detail-grid,
.notes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.status-card,
.detail-grid article,
.notes-grid article,
.photo-slot-card,
.share-box {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(20, 33, 29, 0.08);
    border-radius: 22px;
    box-shadow: 0 16px 30px rgba(10, 33, 30, 0.06);
    padding: 18px;
}

.status-card strong,
.detail-grid strong,
.notes-grid strong,
.share-box strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.18rem;
    margin-bottom: 8px;
}

.status-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.status-option {
    cursor: pointer;
}

.status-option input {
    display: none;
}

.status-option span {
    background: #f5f6f2;
    border: 1px solid rgba(20, 33, 29, 0.08);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 800;
    padding: 9px 12px;
    transition: all 160ms ease;
}

.status-option input:checked + span {
    background: linear-gradient(135deg, var(--moss), var(--forest));
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(18, 60, 52, 0.18);
    color: var(--white);
}

.checklist-shell {
    display: grid;
    gap: 14px;
}

.checklist-section {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(20, 33, 29, 0.08);
    border-radius: 24px;
    overflow: hidden;
}

.checklist-section summary {
    align-items: center;
    cursor: pointer;
    display: grid;
    gap: 10px;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    list-style: none;
    padding: 16px 18px;
}

.checklist-section summary::-webkit-details-marker {
    display: none;
}

.checklist-section summary span {
    align-items: center;
    background: rgba(29, 107, 86, 0.1);
    border-radius: 16px;
    color: var(--moss);
    display: inline-flex;
    font-family: var(--font-display);
    font-size: 1.3rem;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.checklist-section summary strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.checklist-section summary small {
    color: var(--muted);
    font-weight: 800;
}

.checklist-items {
    display: grid;
    gap: 12px;
    padding: 0 18px 18px;
}

.checklist-item {
    align-items: flex-start;
    background: #fafaf6;
    border: 1px solid rgba(20, 33, 29, 0.06);
    border-radius: 18px;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
    padding: 14px;
}

.checklist-item strong {
    font-size: 1rem;
}

.checklist-item p {
    margin: 4px 0 0;
}

.compact-options {
    gap: 8px;
    justify-content: flex-end;
    margin-top: 0;
}

.compact-option span {
    font-size: 0.76rem;
    padding: 8px 10px;
}

.photo-group {
    border-top: 1px solid rgba(20, 33, 29, 0.08);
    margin-top: 20px;
    padding-top: 20px;
}

.photo-slot-grid,
.photo-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-slot-card img,
.photo-preview-grid img {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    margin: 12px 0;
    object-fit: cover;
    width: 100%;
}

.photo-placeholder {
    align-items: center;
    background: #f7f8f4;
    border: 1px dashed rgba(20, 33, 29, 0.12);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    margin: 12px 0;
    min-height: 180px;
}

.action-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.alt-btn {
    background: rgba(255, 255, 255, 0.84);
    color: var(--ink);
}

.detail-grid article span {
    color: var(--muted);
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.share-box {
    margin-top: 18px;
}

.photo-preview-grid figure {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(20, 33, 29, 0.08);
    border-radius: 22px;
    margin: 0;
    overflow: hidden;
    padding: 12px;
}

.photo-preview-grid figcaption {
    font-size: 0.88rem;
    font-weight: 800;
    padding: 4px 4px 2px;
}

@media (max-width: 1100px) {
    .hero,
    .intro-band,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-media,
    .hero-media img {
        min-height: 420px;
    }

    .hero-panel-top {
        right: 20px;
    }

    .hero-panel-bottom {
        left: 20px;
    }

    .trust-strip,
    .service-grid,
    .article-grid,
    .blueprint-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid figure,
    .gallery-grid figure:nth-child(1),
    .gallery-grid figure:nth-child(2),
    .gallery-grid figure:nth-child(3),
    .gallery-grid figure:nth-child(4) {
        grid-column: span 6;
    }

    .admin-body,
    .login-panel {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        min-height: auto;
        position: static;
    }

    .admin-menu {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .summary-grid,
    .notes-grid,
    .detail-grid,
    .photo-slot-grid,
    .photo-preview-grid,
    .form-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .checklist-item {
        grid-template-columns: 1fr;
    }

    .compact-options {
        justify-content: flex-start;
    }
}

@media (max-width: 860px) {
    .nav-links {
        display: none;
    }

    .site-header,
    .header-actions,
    .hero-stats,
    .site-footer,
    .footer-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-actions {
        gap: 8px;
    }

    .trust-strip,
    .service-grid,
    .article-grid,
    .blueprint-grid,
    .intro-points {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid figure,
    .gallery-grid figure:nth-child(1),
    .gallery-grid figure:nth-child(2),
    .gallery-grid figure:nth-child(3),
    .gallery-grid figure:nth-child(4) {
        grid-column: auto;
    }

    .site-footer {
        padding-bottom: 112px;
    }

    .summary-grid,
    .notes-grid,
    .detail-grid,
    .photo-slot-grid,
    .photo-preview-grid,
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body {
        padding-bottom: 104px;
    }

    body::before {
        opacity: 0.18;
    }

    .site-header {
        align-items: center;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 241, 232, 0.9)),
            rgba(244, 241, 232, 0.82);
        border-bottom: 1px solid rgba(20, 33, 29, 0.06);
        display: grid;
        gap: 10px;
        grid-template-columns: minmax(0, 1fr) auto;
        padding-bottom: 12px;
        padding-top: max(12px, env(safe-area-inset-top));
    }

    .brand img {
        border-radius: 14px;
        height: 44px;
        width: 44px;
    }

    .brand span {
        max-width: 190px;
    }

    .brand strong {
        font-size: 1.06rem;
    }

    .brand small {
        font-size: 0.64rem;
    }

    .header-actions {
        align-items: flex-end;
        flex-direction: column;
        gap: 8px;
    }

    .header-link,
    .header-cta {
        min-height: 0;
        padding: 8px 14px;
    }

    .header-link {
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(20, 33, 29, 0.08);
        border-radius: 999px;
        color: var(--ink-soft);
        font-size: 0.84rem;
    }

    h1 {
        font-size: clamp(3rem, 15vw, 4.35rem);
        line-height: 0.94;
    }

    h2 {
        font-size: clamp(2.15rem, 10vw, 3rem);
    }

    main {
        position: relative;
    }

    .hero {
        gap: 22px;
        min-height: auto;
        padding-bottom: 24px;
        padding-top: 22px;
    }

    .hero-media,
    .hero-media img {
        min-height: 280px;
    }

    .hero-panel {
        border-radius: 20px;
        max-width: 100%;
        padding: 16px;
        position: static;
    }

    .hero-media {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.6));
        border-radius: 30px;
        display: grid;
        gap: 14px;
        padding: 10px;
    }

    .hero-media::before {
        display: none;
    }

    .hero-media img {
        border-radius: 24px;
    }

    .hero-copy {
        padding-top: 4px;
    }

    .hero-kicker {
        line-height: 1.5;
        max-width: 92%;
    }

    .hero-lead {
        font-size: 1rem;
        line-height: 1.72;
    }

    .hero-mobile-badge {
        display: block;
    }

    .hero-actions {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr;
        margin: 22px 0 28px;
    }

    .primary-btn,
    .secondary-btn {
        align-items: center;
        display: flex;
        font-size: 0.98rem;
        justify-content: center;
        min-height: 52px;
        width: 100%;
    }

    .hero-stats {
        gap: 10px;
        padding-top: 18px;
    }

    .hero-stats div {
        background: rgba(255, 255, 255, 0.58);
        border: 1px solid rgba(20, 33, 29, 0.08);
        border-radius: 22px;
        box-shadow: 0 12px 24px rgba(10, 33, 30, 0.05);
        min-width: 100%;
        padding: 16px;
    }

    .hero-stats dt {
        font-size: 1.75rem;
    }

    .hero-stats dd {
        font-size: 0.88rem;
    }

    .trust-strip {
        gap: 14px;
        margin-top: 0;
        padding-bottom: 10px;
        padding-top: 0;
    }

    .trust-strip > div,
    .service-card,
    .article-card,
    .blueprint-grid article,
    .process-list li {
        border-radius: 26px;
    }

    .trust-strip > div {
        padding: 22px 20px;
    }

    .trust-strip strong {
        font-size: 1.6rem;
    }

    .intro-band,
    .contact-section {
        border-radius: 32px;
        margin: 0;
    }

    .section-band,
    .content-section,
    .process-section,
    .contact-section {
        padding-bottom: 42px;
        padding-top: 42px;
    }

    .intro-band {
        gap: 24px;
        padding-bottom: 34px;
        padding-top: 34px;
    }

    .intro-points article {
        border-radius: 20px;
        padding: 18px;
    }

    .service-grid,
    .article-grid,
    .blueprint-grid {
        gap: 14px;
        margin-top: 24px;
    }

    .service-card,
    .article-card {
        padding: 22px 20px;
    }

    .service-card span {
        font-size: 1.9rem;
        margin-bottom: 18px;
    }

    .blueprint-section {
        padding-bottom: 42px;
    }

    .blueprint-grid article {
        padding: 22px 20px;
    }

    .blueprint-grid strong {
        font-size: 1.5rem;
    }

    .process-section {
        border-radius: 32px;
        margin: 0 12px;
        overflow: hidden;
        padding-left: 18px;
        padding-right: 18px;
    }

    .process-list li {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }

    .process-list span {
        height: 68px;
        width: 68px;
    }

    .gallery-section {
        padding-bottom: 40px;
    }

    .gallery-grid {
        gap: 12px;
        margin-top: 22px;
    }

    .gallery-grid figure {
        aspect-ratio: 1 / 1;
        border-radius: 26px;
    }

    .gallery-grid figcaption {
        font-size: 0.84rem;
        padding: 24px 16px 14px;
    }

    .article-thumb {
        aspect-ratio: 16 / 11;
        border-radius: 16px;
    }

    .contact-section {
        border-radius: 32px 32px 0 0;
        gap: 24px;
        padding-bottom: 36px;
        padding-top: 38px;
    }

    .contact-copy {
        position: relative;
    }

    .contact-copy::after {
        background: linear-gradient(90deg, rgba(243, 226, 187, 0.8), rgba(243, 226, 187, 0));
        border-radius: 999px;
        content: "";
        display: block;
        height: 4px;
        margin-top: 18px;
        width: 120px;
    }

    .contact-form {
        border-radius: 26px;
        padding: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        border-radius: 14px;
    }

    .footer-meta span {
        font-size: 0.72rem;
    }

    .mobile-dock {
        align-items: center;
        backdrop-filter: blur(18px);
        background: rgba(10, 33, 30, 0.88);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 28px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        box-shadow: 0 24px 50px rgba(10, 33, 30, 0.3);
        display: grid;
        gap: 6px;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        left: 12px;
        padding: 10px;
        position: fixed;
        right: 12px;
        z-index: 40;
    }

    .mobile-dock-item {
        align-items: center;
        color: rgba(255, 255, 255, 0.82);
        display: grid;
        font-size: 0.68rem;
        font-weight: 800;
        gap: 6px;
        justify-items: center;
        min-height: 58px;
        padding: 6px 2px;
        text-align: center;
    }

    .mobile-dock-icon {
        align-items: center;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        display: flex;
        font-size: 0.64rem;
        height: 28px;
        justify-content: center;
        letter-spacing: 0.08em;
        width: 40px;
    }

    .mobile-dock-item-accent .mobile-dock-icon {
        background: linear-gradient(135deg, var(--gold), #f0cc7b);
        border-color: transparent;
        color: var(--forest-deep);
    }

    .admin-main {
        padding: 18px;
    }

    .admin-topbar,
    .panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-menu,
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .form-section-heading h2,
    .checklist-section summary strong {
        font-size: 1.35rem;
    }

    .checklist-section summary {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .checklist-section summary small {
        grid-column: 2;
    }

    .alert-danger {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-danger ul {
    margin: 0;
    padding-left: 20px;
}

    .photo-slot-card,
    .share-box,
    .status-card,
    .detail-grid article,
    .notes-grid article {
        padding: 16px;
    }
}

@media(max-width:768px){

    .login-panel{
        grid-template-columns:1fr;
    }

    .login-info{
        padding:35px;
        text-align:center;
    }

    .login-panel h1{
        font-size:36px;
    }

    .login-form{
        padding:30px;
    }

}
