@font-face {
    font-family: "Hind";
    src: url("../fonts/Hind-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hind";
    src: url("../fonts/Hind-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hind";
    src: url("../fonts/Hind-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hina Mincho";
    src: url("../fonts/HinaMincho-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --blue: #424d66;
    --blue-deep: #273148;
    --blue-soft: #768093;
    --red: #b51d10;
    --ink: #273148;
    --paper: #fcfcfa;
    --white: #ffffff;
    --mist: #f4f5f5;
    --line: rgba(66, 77, 102, 0.16);
    --shadow: 0 18px 50px rgba(39, 49, 72, 0.08);
    --linen:
        repeating-linear-gradient(0deg, rgba(66,77,102,0.035) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, rgba(66,77,102,0.03) 0 1px, transparent 1px 5px),
        linear-gradient(rgba(255,255,255,0.72), rgba(255,255,255,0.72));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Hind", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 1px solid var(--blue);
    outline-offset: 4px;
}

.page-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.32;
    background-image: var(--linen);
    background-size: 4px 4px, 5px 5px, auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 26px clamp(18px, 4vw, 56px);
    color: var(--blue);
    transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
    padding-top: 16px;
    padding-bottom: 16px;
    background: rgba(252, 252, 250, 0.92);
    box-shadow: 0 1px 0 var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    font-family: "Hina Mincho", serif;
    font-size: 18px;
    letter-spacing: 0.2em;
}

.brand .dragonfly-art {
    width: 36px;
    display: block;
    opacity: 0.86;
    filter: invert(31%) sepia(12%) saturate(919%) hue-rotate(183deg) brightness(91%) contrast(84%);
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 46px);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav a {
    position: relative;
    padding: 8px 0;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 30px;
    color: var(--blue);
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 22px;
}

.menu-toggle {
    display: none;
    width: 34px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 1px;
    margin-left: auto;
    background: currentColor;
    transition: transform 220ms ease, opacity 220ms ease;
}

.menu-toggle span + span {
    margin-top: 8px;
    width: 20px;
}

body.menu-open .menu-toggle span:first-child {
    transform: translateY(4.5px) rotate(34deg);
}

body.menu-open .menu-toggle span:last-child {
    width: 30px;
    transform: translateY(-4.5px) rotate(-34deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 15;
    display: grid;
    place-items: center;
    background: rgba(252, 252, 250, 0.985);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.mobile-menu nav {
    display: grid;
    gap: 18px;
    width: min(320px, calc(100% - 56px));
    text-align: center;
}

.mobile-menu a {
    padding: 12px 0;
    color: var(--blue);
    font-family: "Hina Mincho", serif;
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.06;
}

body.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.language-toggle button {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.14em;
    opacity: 0.52;
}

.language-toggle button.is-active {
    opacity: 1;
}

.language-toggle button + button {
    position: relative;
}

.language-toggle button + button::before {
    content: "";
    position: absolute;
    top: 1px;
    bottom: 1px;
    left: -6px;
    width: 1px;
    background: var(--line);
}

.section-panel {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: clamp(86px, 9vw, 136px) 0;
    scroll-margin-top: 84px;
}

.section-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    min-height: 100svh;
    text-align: center;
    overflow: hidden;
    background: var(--paper);
}

.hero-mark {
    position: fixed;
    left: 50%;
    top: 17vh;
    width: min(46vw, 640px);
    opacity: 0.105;
    transform: translate3d(-50%, 0, 0) scale(1);
    pointer-events: none;
    z-index: 4;
    mix-blend-mode: multiply;
    transition: opacity 200ms ease, transform 200ms ease;
}

.hero-mark .dragonfly-art {
    width: 100%;
    display: block;
    filter: invert(31%) sepia(12%) saturate(919%) hue-rotate(183deg) brightness(91%) contrast(84%);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(760px, calc(100% - 40px));
    margin: 10vh auto 0;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 0;
}

.hero .kicker {
    width: min(620px, 100%);
    text-align: center;
}

.kicker {
    margin: 0 0 clamp(30px, 4.5vw, 58px);
    color: var(--red);
    font-family: "Hina Mincho", serif;
    font-size: clamp(20px, 2.2vw, 32px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-transform: none;
    word-spacing: 0.38em;
}

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

h1 {
    margin-bottom: 12px;
    color: var(--blue);
    font-family: "Hina Mincho", serif;
    font-size: clamp(74px, 11vw, 136px);
    line-height: 0.9;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
}

h2 {
    max-width: 690px;
    margin-bottom: 0;
    color: var(--blue-deep);
    font-family: "Hina Mincho", serif;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.12;
    font-weight: 400;
}

h3 {
    margin-bottom: 10px;
    color: var(--blue-deep);
    font-size: 22px;
    line-height: 1.22;
    font-weight: 600;
}

.hero-subline {
    margin-bottom: clamp(46px, 5.8vw, 74px);
    color: var(--blue);
    font-size: 12px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

.hero-copy {
    width: min(820px, 100%);
    margin: 0 auto;
    color: var(--blue-deep);
    font-size: clamp(22px, 2.5vw, 34px);
    line-height: 1.5;
    font-weight: 300;
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px 11px;
    border: 1px solid var(--blue);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button.primary {
    background: var(--blue);
    color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
    background: var(--red);
    border-color: var(--red);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.48);
    color: var(--blue);
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    gap: clamp(40px, 7vw, 96px);
    align-items: start;
}

.copy-stack {
    color: var(--blue-deep);
    font-size: clamp(18px, 1.7vw, 23px);
    line-height: 1.58;
    font-weight: 300;
}

.copy-stack p:last-child,
.section-heading p:last-child,
.contact-copy p:last-child {
    margin-bottom: 0;
}

.intro {
    background: rgba(255, 255, 255, 0.68);
}

.hero::before,
.intro::before,
.lars::before,
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image: var(--linen);
    background-size: 4px 4px, 5px 5px, auto;
}

.hero-content,
.section-inner,
.footer-grid {
    position: relative;
    z-index: 1;
}

.symbol { display: none; }

.symbol-grid {
    display: grid;
    grid-template-columns: 0.78fr 1fr;
    gap: clamp(34px, 8vw, 120px);
    align-items: end;
}

.red-sun {
    grid-row: span 2;
    justify-self: center;
    width: clamp(180px, 28vw, 420px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--red);
}

.symbol-text {
    max-width: 580px;
    color: var(--blue-deep);
    font-size: clamp(20px, 2.1vw, 30px);
    line-height: 1.45;
    font-weight: 300;
}

.investment {
    background: var(--mist);
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 0.72fr);
    gap: clamp(34px, 7vw, 110px);
    align-items: end;
    margin-bottom: clamp(34px, 6vw, 74px);
}

.section-heading p:not(.kicker) {
    color: var(--blue-deep);
    font-size: clamp(18px, 1.7vw, 23px);
    line-height: 1.48;
    font-weight: 300;
}

.section-heading .kicker,
.two-column .kicker,
.contact .kicker {
    margin-bottom: 28px;
    font-size: clamp(22px, 2.5vw, 38px);
    letter-spacing: 0.08em;
}

.investment-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.investment-item {
    min-height: 300px;
    padding: clamp(26px, 4vw, 46px);
    border-right: 1px solid var(--line);
    background: transparent;
}

.investment-item:last-child {
    border-right: 0;
}

.investment-item span {
    display: block;
    margin-bottom: 42px;
    color: var(--red);
    font-family: "Hina Mincho", serif;
    font-size: 42px;
    line-height: 1;
}

.investment-item p {
    margin-bottom: 0;
    color: var(--blue-deep);
    font-weight: 300;
}

.lars {
    background: var(--paper);
}

.contact {
    background: var(--blue);
    color: var(--white);
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.09;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 5px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.026) 0 1px, transparent 1px 6px);
    background-size: 5px 5px, 6px 6px;
    mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
}

.contact h2,
.contact h3,
.contact .kicker {
    color: var(--white);
}

.contact h2 {
    max-width: 500px;
    margin-bottom: clamp(26px, 3.6vw, 48px);
    font-size: clamp(42px, 4.2vw, 66px);
    line-height: 1.08;
}

.contact .kicker {
    color: #ffdfd8;
    margin-bottom: clamp(22px, 3vw, 42px);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(320px, 370px);
    gap: clamp(56px, 9vw, 148px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-copy p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 500px;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.7;
    font-weight: 300;
}

address {
    margin-top: clamp(42px, 6vw, 74px);
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
    line-height: 1.7;
    padding-top: 0;
    border-top: 0;
    max-width: 420px;
    font-size: 16px;
}

.contact-form {
    position: relative;
    justify-self: end;
    width: min(100%, 370px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 17px;
    padding: clamp(22px, 2.4vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.055) 52%, rgba(255,255,255,0.085));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.16),
        0 22px 60px rgba(17, 24, 40, 0.08);
    backdrop-filter: blur(18px) saturate(112%);
}

.contact-form label {
    position: relative;
    display: grid;
    gap: 8px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0;
}

.contact-form .wide {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.84);
    color: var(--blue-deep);
    padding: 10px 12px 8px;
    outline: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.52);
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 116px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    background: #ffffff;
    border-color: rgba(255, 225, 218, 0.8);
    box-shadow: 0 8px 24px rgba(17, 24, 40, 0.08);
}

.contact-form .button {
    width: 100%;
    margin-top: 4px;
    border-color: var(--red);
    background: var(--red);
    min-height: 46px;
    border-radius: 0;
    box-shadow: none;
}

.form-note,
.form-status {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.45;
}

.form-note {
    padding-top: 0;
    border-top: 0;
}

.form-status {
    grid-column: 1 / -1;
    padding: 12px 14px;
    border-radius: 4px;
}

.form-status.success {
    background: rgba(255, 255, 255, 0.13);
}

.form-status.error {
    background: rgba(189, 23, 7, 0.22);
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.footer {
    min-height: auto;
    padding: 74px 0;
    background: var(--paper);
    color: var(--blue);
}

.footer-grid {
    display: grid;
    grid-template-columns: 0.7fr 1fr 1fr;
    gap: clamp(30px, 6vw, 90px);
    align-items: start;
}

.footer h2 {
    color: var(--blue);
    font-size: 44px;
    letter-spacing: 0.22em;
}

.footer h3 {
    margin-bottom: 16px;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer p {
    margin-bottom: 14px;
    color: var(--blue-deep);
    font-size: 16px;
    line-height: 1.5;
}

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

body.js-ready .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 940px) {
    body {
        font-size: 17px;
    }

    .site-header {
        grid-template-columns: 1fr auto;
    }

    .brand {
        font-size: 18px;
    }

    .brand .dragonfly-art {
        width: 34px;
    }

    .nav {
        display: none;
    }

    .header-actions {
        gap: 18px;
    }

    .menu-toggle {
        display: block;
    }

    .section-panel {
        min-height: auto;
        padding: 96px 0;
    }

    .hero {
        min-height: 100svh;
        padding-top: 120px;
    }

    .hero-mark {
        top: 17vh;
        width: 92vw;
        opacity: 0.075;
    }

    .hero-content {
        margin-top: 6vh;
    }

    h1 {
        font-size: clamp(68px, 18vw, 108px);
    }

    .hero-subline {
        letter-spacing: 0.32em;
        margin-bottom: 38px;
    }

    .hero .kicker {
        width: min(360px, 100%);
        font-size: 19px;
        line-height: 1.35;
        word-spacing: 0.2em;
    }

    .hero-copy {
        width: min(350px, 100%);
        font-size: 21px;
        line-height: 1.42;
    }

    .two-column,
    .section-heading,
    .contact-grid,
    .footer-grid,
    .symbol-grid {
        grid-template-columns: 1fr;
    }

    .red-sun {
        grid-row: auto;
        justify-self: start;
        width: clamp(150px, 46vw, 260px);
    }

    .investment-list {
        grid-template-columns: 1fr;
    }

    .investment-item {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .investment-item:last-child {
        border-bottom: 0;
    }

    .investment-item span {
        margin-bottom: 24px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        align-items: start;
    }

    .contact h2 {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .site-header {
        padding-left: 14px;
        padding-right: 14px;
    }

    .brand span {
        display: inline;
        font-size: 15px;
        letter-spacing: 0.16em;
    }

    .brand .dragonfly-art {
        width: 30px;
    }

    .section-inner,
    .hero-content {
        width: min(100% - 28px, 1180px);
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    h2 {
        font-size: clamp(38px, 12vw, 58px);
    }

    .contact-form {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
