:root {
    --ink: #2f3428;
    --olive: #59624e;
    --olive-dark: #252c22;
    --accent: #76575f;
    --accent-light: #d5bdbe;
    --cream: #f4f0e8;
    --sage: #e2e5d9;
    --surface: #fbf9f4;
    --line: #d5d7ca;
    --text: #5f6258;
    --white: #fffdf8;
    --serif: 'Gowun Batang', serif;
    --sans: Pretendard, Arial, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--sans);
    line-height: 1.6
}

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

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

.skip:focus {
    left: 12px;
    top: 12px;
    padding: 8px;
    background: var(--cream);
    z-index: 20
}

header {
    height: 80px;
    position: relative;
    z-index: 1000;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    padding: 0 32px;
    margin: auto
}

.logo {
    display: block;
    flex: 0 0 auto;
    width: 70px;
    height: 62px;
    background-image: url('/images/ongo-logo-transparent.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    text-indent: -9999px;
    opacity: .92;
    transition: opacity .25s ease, transform .25s ease
}

.logo:hover { opacity: 1; transform: translateY(-1px) }
.logo:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px }

nav {
    display: flex;
    position: relative;
    z-index: 1001;
    gap: 32px;
    align-items: center;
    font-size: 14px;
    font-weight: 600
}

nav a:hover, nav summary:hover, .text-link:hover {
    color: var(--olive)
}

.nav-group {
    position: relative;
    display: flex;
    align-items: center
}

.nav-group > a {
    display: inline-block;
    padding: 8px 0
}

.submenu {
    display: none;
    position: absolute;
    z-index: 1002;
    top: 100%;
    left: 50%;
    min-width: 144px;
    padding: 10px 0;
    background: rgba(244, 240, 232, .88);
    border: 1px solid rgba(89, 98, 78, .25);
    box-shadow: 0 14px 30px rgba(37, 44, 34, .13);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateX(-50%)
}

.nav-group.is-open .submenu, .nav-group:focus-within .submenu {
    display: grid
}

@media (hover: hover) and (pointer: fine) {
    .nav-group:hover .submenu {
        display: grid
    }
}

.submenu a {
    padding: 7px 16px;
    white-space: nowrap
}

.submenu a:hover, .submenu a:focus {
    background: rgba(228, 232, 220, .82)
}

.menu {
    display: none;
    border: 0;
    background: transparent;
    font-size: 23px
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 2.3px;
    color: var(--olive);
    font-weight: 700;
    margin: 0 0 20px
}

.button {
    display: inline-flex;
    gap: 32px;
    align-items: center;
    padding: 16px 21px;
    background: var(--ink);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border: 0;
    cursor: pointer
}

.button b {
    font-size: 20px;
    font-weight: 400
}

.text-link {
    display: inline-block;
    margin-top: 28px;
    color: var(--ink);
    font-weight: 700
}

.muted {
    color: var(--text)
}

label {
    font-size: 13px;
    color: var(--text)
}

input, textarea, select {
    font: inherit;
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    margin-top: 6px;
    padding: 12px;
    outline-color: var(--olive)
}

textarea {
    height: 106px;
    resize: vertical
}

.two {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 13px
}

.agree {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 7px
}

.agree input {
    width: auto;
    margin: 0
}

.submit {
    justify-content: space-between;
    margin-top: 5px
}

#form-result {
    font-size: 13px;
    margin: 0;
    color: var(--olive)
}

footer {
    max-width: 1176px;
    margin: auto;
    padding: 48px 0 55px;
    display: grid;
    grid-template-columns:1fr 2fr 1fr;
    align-items: start;
    border-top: 1px solid rgba(47, 52, 40, .14);
    color: var(--text);
    font-size: 12px
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto }
    *, *::before, *::after { transition-duration: .01ms !important }
}

footer > p {
    margin: 0
}

footer > p:first-of-type {
    text-align: center
}

footer > p:last-child {
    text-align: right
}
