:root {
 --bg: #f6f4ef;
 --ink: #1f2430;
 --muted: #606b75;
 --card: rgba(255, 255, 255, 0.92);
 --stroke: rgba(31, 36, 48, 0.12);
 --accent: #49637a;
 --accent-2: #8c806d;
 --accent-soft: rgba(73, 99, 122, 0.12);
 --shadow: 0 20px 50px rgba(31, 36, 48, 0.12);
 --font-display: 'Source Serif 4', 'Georgia', serif;
 --font-body: 'Sora', 'Trebuchet MS', sans-serif;
}

* {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

html {
 scroll-behavior: smooth;
}

body {
 min-height: 100vh;
 font-family: var(--font-body);
 color: var(--ink);
 background: linear-gradient(180deg, #faf9f6 0%, var(--bg) 40%, #f0f3f3 100%);
 line-height: 1.6;
 overflow-x: hidden;
}

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

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

button {
 font-family: var(--font-body);
}

button:focus-visible,
a:focus-visible {
 outline: 2px solid var(--accent);
 outline-offset: 3px;
}

.skip-link {
 position: absolute;
 left: -999px;
 top: 16px;
 background: #fff;
 color: var(--ink);
 padding: 8px 14px;
 border-radius: 999px;
 border: 1px solid var(--stroke);
 z-index: 10;
}

.skip-link:focus {
 left: 16px;
}

.container {
 width: min(1200px, 92vw);
 margin: 0 auto;
}

.bg-layer {
 position: fixed;
 inset: 0;
 pointer-events: none;
 z-index: -1;
}

.grain {
 position: absolute;
 inset: 0;
 opacity: 0.12;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
}

.orb {
 position: absolute;
 width: 420px;
 height: 420px;
 border-radius: 50%;
 filter: blur(40px);
 opacity: 0.6;
 animation: float 18s ease-in-out infinite;
}

.orb-1 {
 top: -160px;
 left: -120px;
 background: radial-gradient(circle at 30% 30%, rgba(73, 99, 122, 0.35), rgba(73, 99, 122, 0));
}

.orb-2 {
 bottom: -180px;
 right: -140px;
 background: radial-gradient(circle at 30% 30%, rgba(140, 128, 109, 0.35), rgba(140, 128, 109, 0));
 animation-delay: -8s;
}

.mesh {
 position: absolute;
 inset: 0;
 background-image: linear-gradient(rgba(31, 36, 48, 0.05) 1px, transparent 1px),
 linear-gradient(90deg, rgba(31, 36, 48, 0.05) 1px, transparent 1px);
 background-size: 160px 160px;
 opacity: 0.12;
 mask-image: radial-gradient(circle at 50% 25%, rgba(0, 0, 0, 0.7), transparent 70%);
}

.topbar {
 position: sticky;
 top: 0;
 z-index: 10;
 backdrop-filter: blur(16px) saturate(140%);
 background: rgba(246, 244, 239, 0.9);
 border-bottom: 1px solid rgba(31, 36, 48, 0.08);
}

.topbar-inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 18px 0;
 gap: 18px;
}

.brand {
 display: flex;
 align-items: center;
 gap: 14px;
}

.brand-mark {
 width: 44px;
 height: 44px;
 border-radius: 14px;
 display: grid;
 place-items: center;
 font-family: var(--font-display);
 font-weight: 600;
 color: #fff;
 background: linear-gradient(135deg, var(--accent), var(--accent-2));
 box-shadow: 0 12px 24px rgba(73, 99, 122, 0.2);
}

.brand-text {
 display: grid;
 line-height: 1.15;
}

.brand-name {
 font-family: var(--font-display);
 font-weight: 600;
 letter-spacing: 0.02em;
}

.brand-tag {
 font-size: 0.85rem;
 color: var(--muted);
}

.nav {
 display: flex;
 gap: 18px;
 font-weight: 500;
 color: var(--muted);
 flex-wrap: wrap;
}

.nav a {
 position: relative;
 padding-bottom: 4px;
}

.nav a::after {
 content: '';
 position: absolute;
 left: 0;
 bottom: -2px;
 width: 100%;
 height: 2px;
 background: linear-gradient(90deg, var(--accent), var(--accent-2));
 transform: scaleX(0);
 transform-origin: left;
 transition: transform 0.25s ease;
}

.nav a:hover::after {
 transform: scaleX(1);
}

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

.primary,
.secondary,
.ghost {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 border-radius: 999px;
 padding: 12px 22px;
 font-size: 0.95rem;
 font-weight: 600;
 transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary {
 background: linear-gradient(135deg, var(--accent), var(--accent-2));
 color: #fff;
 box-shadow: 0 16px 30px rgba(73, 99, 122, 0.25);
}

.primary:hover {
 transform: translateY(-2px);
 box-shadow: 0 20px 40px rgba(73, 99, 122, 0.3);
}

.secondary {
 background: rgba(255, 255, 255, 0.9);
 border: 1px solid var(--stroke);
 color: var(--ink);
 box-shadow: 0 10px 20px rgba(31, 36, 48, 0.08);
}

.tertiary {
 background: var(--card);
 border: 1px solid rgba(31, 36, 48, 0.17);
 color: var(--ink);
 box-shadow: 0 8px 18px rgba(31, 36, 48, 0.12);
}

.tertiary:hover {
 transform: translateY(-1px);
 box-shadow: 0 12px 24px rgba(31, 36, 48, 0.2);
}

.ghost {
 border: 1px solid rgba(31, 36, 48, 0.2);
 color: var(--ink);
}

.hero {
 display: grid;
 grid-template-columns: 1.15fr 0.85fr;
 gap: 56px;
 padding: 96px 0 84px;
 align-items: center;
 position: relative;
}

.hero-copy {
 display: grid;
 gap: 20px;
}

.hero-copy h1 {
 font-family: var(--font-display);
 font-size: clamp(2.6rem, 5vw, 4.2rem);
 line-height: 1.02;
 letter-spacing: -0.02em;
}

.hero-copy p {
 color: var(--muted);
 font-size: 1.05rem;
}

.hero-note {
 background: var(--accent-soft);
 border-radius: 16px;
 padding: 14px 16px;
 font-size: 0.95rem;
}

.pill {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 6px 14px;
 border-radius: 999px;
 background: rgba(255, 255, 255, 0.9);
 border: 1px solid rgba(73, 99, 122, 0.25);
 font-size: 0.72rem;
 font-weight: 700;
 letter-spacing: 0.18em;
 text-transform: uppercase;
}

.hero-actions {
 display: flex;
 gap: 14px;
 flex-wrap: wrap;
}

.hero-metrics {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
 gap: 16px;
}

.metric {
 background: var(--card);
 border-radius: 18px;
 border: 1px solid var(--stroke);
 padding: 18px;
 box-shadow: var(--shadow);
}

.metric-value {
 font-family: var(--font-display);
 font-size: 1.15rem;
 font-weight: 600;
 display: block;
}

.metric-label {
 color: var(--muted);
 font-size: 0.88rem;
 margin-top: 6px;
 display: block;
}

.hero-visual {
 display: grid;
 place-items: center;
}

.hero-card {
 background: var(--card);
 border-radius: 24px;
 padding: 18px;
 border: 1px solid var(--stroke);
 box-shadow: var(--shadow);
 width: min(420px, 100%);
 display: grid;
 gap: 12px;
}

.hero-image {
 border-radius: 18px;
 overflow: hidden;
 background: #fff;
}

.hero-caption {
 font-size: 0.85rem;
 color: var(--muted);
 text-transform: uppercase;
 letter-spacing: 0.1em;
}

.section {
 padding: 60px 0 90px;
}

.section-head {
 display: grid;
 gap: 12px;
 margin-bottom: 32px;
 padding-left: 18px;
 position: relative;
}

.section-head::before {
 content: '';
 position: absolute;
 left: 0;
 top: 6px;
 bottom: 6px;
 width: 2px;
 border-radius: 4px;
 background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.section-head h2 {
 font-family: var(--font-display);
 font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.section-head p {
 color: var(--muted);
 max-width: 720px;
}

.grid-3,
.grid-4,
.process-grid {
 display: grid;
 gap: 22px;
}

.grid-3 {
 grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-4 {
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.process-grid {
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
 background: var(--card);
 border-radius: 18px;
 border: 1px solid var(--stroke);
 padding: 20px;
 box-shadow: var(--shadow);
 display: grid;
 gap: 10px;
}

.card h3 {
 font-family: var(--font-display);
 font-size: 1.15rem;
}

.card p {
 color: var(--muted);
}

.tag {
 display: inline-block;
 font-size: 0.72rem;
 font-weight: 600;
 padding: 6px 12px;
 border-radius: 999px;
 background: rgba(140, 128, 109, 0.16);
 color: #6f6151;
 width: fit-content;
}

.gallery-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 18px;
}

.gallery-item {
 background: var(--card);
 border-radius: 18px;
 border: 1px solid var(--stroke);
 padding: 14px;
 box-shadow: var(--shadow);
 display: grid;
 gap: 12px;
}

.gallery-item img {
 border-radius: 14px;
 width: 100%;
 height: auto;
}

.gallery-caption {
 font-size: 0.9rem;
 color: var(--muted);
}

.text-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
 gap: 22px;
}

.text-card {
 background: var(--card);
 border-radius: 18px;
 border: 1px solid var(--stroke);
 padding: 20px;
 box-shadow: var(--shadow);
 display: grid;
 gap: 12px;
}

.text-card h3 {
 font-family: var(--font-display);
 font-size: 1.1rem;
}

.post-image {
 width: 100%;
 border-radius: 14px;
 object-fit: cover;
 box-shadow: 0 12px 24px rgba(31, 36, 48, 0.1);
}

.post-preview {
 color: var(--muted);
 font-size: 0.95rem;
}

.text-card details {
 display: grid;
 gap: 10px;
}

.text-body {
 color: var(--muted);
 line-height: 1.7;
 font-size: 0.95rem;
 display: grid;
 gap: 10px;
}

.text-card summary {
 cursor: pointer;
 font-weight: 600;
 list-style: none;
 padding: 10px 14px;
 border-radius: 12px;
 background: var(--accent-soft);
 border: 1px solid rgba(73, 99, 122, 0.2);
 display: flex;
 align-items: center;
 justify-content: space-between;
}

.text-card summary::after {
 content: '+';
 font-weight: 700;
}

.text-card details[open] summary::after {
 content: '-';
}

.text-card summary::-webkit-details-marker {
 display: none;
}

.post-meta {
 font-size: 0.78rem;
 color: rgba(31, 36, 48, 0.55);
 text-transform: uppercase;
 letter-spacing: 0.2em;
}

.text-body {
 color: var(--muted);
 line-height: 1.7;
 font-size: 0.95rem;
 display: grid;
 gap: 10px;
}

.process-step {
 position: relative;
 padding-top: 54px;
}

.process-step::before {
 content: '';
 width: 42px;
 height: 4px;
 border-radius: 999px;
 background: linear-gradient(90deg, var(--accent), var(--accent-2));
 opacity: 0.5;
}

.process-step h3 {
 font-family: var(--font-display);
 font-size: 1.15rem;
}

.step-number {
 position: absolute;
 top: 16px;
 right: 16px;
 width: 38px;
 height: 38px;
 border-radius: 50%;
 display: grid;
 place-items: center;
 font-family: var(--font-display);
 font-size: 1rem;
 color: var(--accent);
 background: rgba(73, 99, 122, 0.14);
}

.contact-card {
 background: var(--card);
 border-radius: 26px;
 border: 1px solid var(--stroke);
 padding: 32px;
 box-shadow: var(--shadow);
 display: grid;
 gap: 20px;
}

.contact-info {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 14px;
}

.label {
 font-size: 0.72rem;
 text-transform: uppercase;
 letter-spacing: 0.14em;
 color: rgba(31, 36, 48, 0.6);
}

.contact-actions {
 display: flex;
 gap: 12px;
 flex-wrap: wrap;
}

.contact-note {
 margin-top: 16px;
 font-size: 0.85rem;
 color: var(--muted);
}

.footer {
 padding: 50px 0 70px;
 display: grid;
 grid-template-columns: 1.2fr 0.8fr 0.6fr;
 gap: 26px;
 color: var(--muted);
 border-top: 1px solid rgba(31, 36, 48, 0.08);
}

.footer-brand {
 display: grid;
 gap: 12px;
 max-width: 360px;
}

.footer-links {
 display: grid;
 gap: 10px;
 justify-self: center;
}

.footer-note {
 justify-self: end;
 font-size: 0.85rem;
}

.social-links {
 display: inline-flex;
 gap: 8px;
 align-items: center;
}

.social-link {
 width: 30px;
 height: 30px;
 border-radius: 10px;
 display: grid;
 place-items: center;
 background: rgba(255, 255, 255, 0.8);
 border: 1px solid rgba(31, 36, 48, 0.12);
 color: rgba(31, 36, 48, 0.7);
 transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link svg {
 width: 14px;
 height: 14px;
 fill: currentColor;
}

.social-link:hover {
 transform: translateY(-1px);
 box-shadow: 0 8px 14px rgba(31, 36, 48, 0.12);
}

.reveal {
 opacity: 0;
 transform: translateY(18px);
 transition: opacity 0.6s ease, transform 0.6s ease;
 transition-delay: calc(var(--i, 0) * 0.12s);
}

.reveal.is-visible {
 opacity: 1;
 transform: translateY(0);
}

.is-hidden {
 display: none !important;
}

@keyframes float {
 0%, 100% { transform: translateY(0px); }
 50% { transform: translateY(14px); }
}

@media (max-width: 1080px) {
 .hero {
 grid-template-columns: 1fr;
 }

 .topbar-inner {
 flex-direction: column;
 align-items: flex-start;
 }

 .top-actions {
 width: 100%;
 justify-content: flex-start;
 flex-wrap: wrap;
 }

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

@media (max-width: 760px) {
 .hero {
 padding-top: 70px;
 }

 .nav {
 gap: 12px;
 }

 .footer,
 .footer-links {
 grid-template-columns: 1fr;
 justify-self: start;
 }

 .footer-note {
 justify-self: start;
 }
}

@media (prefers-reduced-motion: reduce) {
 * {
 animation-duration: 0.01ms !important;
 animation-iteration-count: 1 !important;
 transition-duration: 0.01ms !important;
 scroll-behavior: auto !important;
 }
}
