@charset "UTF-8";

/* One-page theme. Keep Gnuboard's skin styles available outside this scope. */
:root {
    --ap-navy: #07172b;
    --ap-navy-soft: #10253e;
    --ap-gold: #d7bd8b;
    --ap-gold-ink: #806136;
    --ap-paper: #f6f5f1;
    --ap-ink: #132438;
    --ap-muted: #5e6871;
    --ap-line: #d8dcd9;
    --ap-shell: 1320px;
}

html:has(.ampoule-page) {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
}

body.ampoule-page {
    margin: 0;
    height: auto;
    min-width: 320px;
    background: var(--ap-paper);
    color: var(--ap-ink);
    font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.ampoule-page *,
.ampoule-page *::before,
.ampoule-page *::after {
    box-sizing: border-box;
}

.ampoule-page [hidden] {
    display: none !important;
}

.ampoule-page :where(h1, h2, h3, h4, p, figure, dl, dd, ul) {
    margin: 0;
    padding: 0;
}

.ampoule-page :where(h1, h2, h3, h4) {
    font-family: inherit;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.ampoule-page :where(p, li, dd) {
    word-break: keep-all;
    overflow-wrap: break-word;
}

.ampoule-page :where(a, button, input, textarea, summary):focus-visible {
    outline: 3px solid #3972bb;
    outline-offset: 5px;
}

.ampoule-page :where(.ap-header, .ap-hero, .ap-business, .ap-footer) :where(a, button):focus-visible {
    outline-color: #f1d49d;
}

.ampoule-page button,
.ampoule-page input,
.ampoule-page textarea {
    font: inherit;
}

.ampoule-page a,
.ap-header a,
.ap-footer a {
    color: inherit;
    text-decoration: none;
}

.ampoule-page button {
    cursor: pointer;
}

.ampoule-page img {
    display: block;
    max-width: 100%;
}

.ampoule-page ::selection {
    background: var(--ap-gold);
    color: var(--ap-navy);
}

.ap-shell {
    width: min(calc(100% - 112px), var(--ap-shell));
    margin-inline: auto;
}

.ap-main {
    display: block;
    outline: none;
}

.ap-section {
    padding: 112px 0;
    scroll-margin-top: 94px;
}

.ap-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ap-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    padding: 14px 22px;
    z-index: 99999;
    background: #fff;
    color: var(--ap-navy);
    transform: translateY(-180%);
}

.ap-skip-link:focus {
    transform: none;
}

/* Header */
.ap-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--ap-navy);
    color: #fff;
    border-bottom: 1px solid #ffffff20;
}

.ap-header-inner {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.ap-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.ap-brand img {
    width: 220px;
    height: auto;
}

.ap-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.ap-nav a {
    font-size: 14px;
    font-weight: 500;
    padding: 12px 0;
    transition: color .2s;
}

.ap-nav a:hover,
.ap-nav a[aria-current="location"] {
    color: var(--ap-gold);
}

.ap-nav .ap-nav-cta {
    border: 1px solid #9eacbc;
    padding: 10px 23px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.ap-menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    align-items: center;
    gap: 10px;
    padding: 12px 0 12px 12px;
    font-size: 13px;
}

.ap-menu-icon {
    width: 22px;
    height: 15px;
    display: grid;
    grid-template-rows: repeat(3, 1px);
    gap: 6px;
}

.ap-menu-icon span {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    transition: transform .2s, opacity .2s;
}

.ap-menu-toggle[aria-expanded="true"] .ap-menu-icon span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.ap-menu-toggle[aria-expanded="true"] .ap-menu-icon span:nth-child(2) {
    opacity: 0;
}

.ap-menu-toggle[aria-expanded="true"] .ap-menu-icon span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

/* Shared typography and actions */
.ap-eyebrow {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--ap-gold-ink);
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .17em;
}

.ap-line {
    width: 28px;
    height: 1px;
    background: currentColor;
}

.ap-section h2 {
    font-size: clamp(32px, 3.4vw, 46px);
    line-height: 1.4;
    font-weight: 550;
    letter-spacing: -.055em;
}

.ap-section h2>span {
    color: var(--ap-muted);
    font-weight: 400;
}

.ap-body-copy {
    color: var(--ap-muted);
    font-size: 16px;
    line-height: 1.95;
}

.ap-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.ap-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 54px;
    padding: 15px 25px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    transition: background .2s, color .2s, border-color .2s;
}

.ap-button>span[aria-hidden] {
    font-family: Arial, sans-serif;
    font-size: 21px;
    line-height: 1;
    font-weight: 400;
}

.ampoule-page .ap-button-gold {
    color: var(--ap-navy);
    background: var(--ap-gold);
}

.ampoule-page .ap-button-gold:hover {
    background: #ebd5ae;
}

.ampoule-page .ap-button-navy {
    background: var(--ap-navy);
    color: #fff;
}

.ampoule-page .ap-button-navy:hover {
    background: #254568;
}

.ampoule-page .ap-button-outline {
    border-color: #405064;
    color: var(--ap-navy);
    background: transparent;
}

.ampoule-page .ap-button-outline:hover {
    color: #fff;
    background: var(--ap-navy);
}

.ap-text-link {
    font-size: 14px;
    padding: 14px 0;
}

.ap-text-link span {
    margin-left: 14px;
}

.ap-underlink {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 10px 0;
    border-bottom: 1px solid currentColor;
    font-size: 14px;
    font-weight: 500;
}

.ap-underlink:hover,
.ap-text-link:hover {
    color: var(--ap-gold-ink);
}

.ap-section-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-top: 1px solid var(--ap-line);
    padding-top: 22px;
    margin-bottom: 54px;
}

.ap-section-index {
    font-size: 12px;
    color: var(--ap-muted);
}

.ap-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 55px;
}

.ap-section-heading>p {
    color: var(--ap-muted);
    font-size: 15px;
    line-height: 1.9;
}

/* Full-width, viewport-height image slides */
.ap-hero {
    position: relative;
    background: var(--ap-navy);
    overflow: hidden;
    width: 100%;
    --ap-header-height: 94px;
    height: max(540px, calc(100vh - var(--ap-header-height)));
    height: max(540px, calc(100svh - var(--ap-header-height)));
    touch-action: pan-y pinch-zoom;
}

.ap-hero-track {
    display: flex;
    width: 100%;
    height: 100%;
}

.ap-hero-slide {
    position: relative;
    isolation: isolate;
    display: flex;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    align-items: center;
    color: #fff;
}

.ap-hero-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 75%;
    z-index: -2;
    pointer-events: none;
    user-select: none;
}

picture.ap-hero-image>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 75%;
}

.ap-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(4, 14, 27, .92) 0%, rgba(4, 14, 27, .8) 38%, rgba(4, 14, 27, .62) 44%, rgba(4, 14, 27, .16) 100%);
}

.ap-hero-copy {
    position: relative;
    width: min(84%, var(--ap-shell));
    padding-block: 64px 96px;
}

.ap-hero :is(h1, h2) {
    max-width: 620px;
    font-size: clamp(36px, 3vw, 48px);
    line-height: 1.35;
    letter-spacing: -.045em;
    font-weight: 700;
    text-shadow: 0 2px 16px #0003;
}

.ap-hero-description {
    max-width: 560px;
    margin-top: 22px !important;
    color: #fff;
    font-size: clamp(16px, 1.25vw, 19px);
    font-weight: 450;
    line-height: 1.7;
    text-shadow: 0 1px 10px #0004;
}

.ampoule-page .ap-button-hero {
    margin-top: 32px;
    min-width: 154px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid #ffffffb3;
    border-radius: 4px;
    color: #fff;
    background: #07172b26;
    font-size: 14px;
    font-weight: 500;
    gap: 24px;
}

.ampoule-page .ap-button-hero:hover {
    color: var(--ap-navy);
    background: #fff;
    border-color: #fff;
}

.ampoule-page .ap-hero .ap-button-hero:focus-visible {
    outline-color: #fff;
}

.ap-hero-slide-brand .ap-hero-image {
    object-position: center;
}

.ap-hero-controls {
    position: absolute;
    z-index: 2;
    right: max(8%, calc((100% - var(--ap-shell)) / 2));
    bottom: 38px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px 9px;
    border: 1px solid #ffffff40;
    background: #07172bbf;
    color: #fff;
}

.ap-slide-select,
.ap-slide-arrow {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 0;
    background: transparent;
    color: #b7c4d2;
    font-family: Arial, sans-serif !important;
    font-size: 13px;
}

.ap-slide-select.is-active {
    color: var(--ap-gold);
    text-decoration: underline;
    text-underline-offset: 6px;
}

.ap-slide-arrow {
    font-size: 23px;
    color: #fff;
}

.ap-slide-arrow:hover,
.ap-slide-select:hover {
    color: var(--ap-gold);
}

.ap-slide-arrow:disabled {
    color: #7d8da1;
    cursor: default;
}

.ap-slide-divider {
    color: #a6b3c2;
    font-size: 11px;
}

/* Story */
.ap-about-grid {
    display: grid;
    grid-template-columns: .94fr 1fr;
    align-items: center;
    gap: 100px;
}

.ap-lead {
    font-size: 21px;
    line-height: 1.65;
    margin-top: 28px !important;
    letter-spacing: -.03em;
}

.ap-about .ap-body-copy {
    margin-top: 20px;
    max-width: 475px;
    font-size: 15px;
}

.ap-about .ap-underlink {
    margin-top: 24px;
}

.ap-story-photo {
    position: relative;
    min-height: 515px;
    overflow: hidden;
    background: #111820;
}

.ap-story-photo img {
    width: 100%;
    height: 515px;
    object-fit: cover;
    object-position: 67% center;
}

.ap-story-photo figcaption {
    position: absolute;
    left: 30px;
    bottom: 30px;
    right: 30px;
    color: #fff;
    text-shadow: 0 1px 12px #000;
}

.ap-story-photo figcaption>span {
    font: 9px Arial, sans-serif;
    letter-spacing: .15em;
}

.ap-story-photo figcaption>p {
    margin-top: 15px;
    font-size: 29px;
    line-height: 1.45;
    letter-spacing: -.035em;
}

.ap-story-photo figcaption>small {
    display: block;
    margin-top: 20px;
    font-size: 11px;
    color: #e1e5e9;
}

/* Two product lines side by side */
.ap-products {
    background: #eeefeb;
}

.ap-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.ap-product {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.ap-product-photo,
.ap-cellariva-visual {
    position: relative;
    height: clamp(340px, 30vw, 440px);
    overflow: hidden;
}

.ap-product-photo {
    background: #eaeaea;
}

.ap-product-photo>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 86%;
    border:1px solid #122b43;
}

.ap-product-copy {
    flex: 1;
    padding: 38px 40px 42px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ap-tag {
    color: var(--ap-gold-ink);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px !important;
}

.ap-product h3 {
    font-size: clamp(27px, 2.8vw, 36px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.4;
}

.ap-product-description {
    margin-top: 21px !important;
    font-size: 14px;
    line-height: 1.9;
    color: var(--ap-muted);
}

.ap-product-actions {
    margin-top: auto;
    padding-top: 30px;
    gap: 22px;
}

.ap-product-actions .ap-button {
    font-size: 13px;
    padding-inline: 20px;
    gap: 24px;
}

.ap-product-actions .ap-underlink {
    font-size: 13px;
}

.ap-cellariva-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #122b43;
    color: #e7ddc9;
}

.ap-cellariva-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
}

.ap-cellariva-brand>span {
    font-size: 13px;
    letter-spacing: .25em;
    margin-bottom: 22px;
}

.ap-cellariva-brand>strong {
    font-size: clamp(42px, 4.5vw, 66px);
    font-weight: 350;
    line-height: 1.3;
    letter-spacing: .12em;
    padding-left: .12em;
}

.ap-cellariva-brand>i {
    font: italic 17px Georgia, serif;
    margin-top: 20px;
    color: #d9e1e5;
}

/* Business */
.ap-business {
    background: var(--ap-navy);
    color: #fff;
}

.ap-business .ap-section-intro {
    border-color: #ffffff30;
}

.ap-business .ap-eyebrow {
    color: var(--ap-gold);
}

.ap-business .ap-section-index {
    color: #adbbcb;
}

.ap-business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}

.ap-business h2 {
    font-size: clamp(31px, 3vw, 42px);
}

.ap-business h2>span {
    color: var(--ap-gold);
}

.ap-business .ap-body-copy {
    color: #b6c3d0;
    margin-top: 25px;
    font-size: 15px;
}

.ap-business .ap-button {
    margin-top: 36px;
}

.ap-option {
    display: flex;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid #ffffff2b;
    padding: 30px 0;
}

.ap-option:first-child {
    padding-top: 5px;
}

.ap-option-number {
    align-self: flex-start;
    color: var(--ap-gold);
    font: 11px Arial, sans-serif;
    padding-top: 8px;
}

.ap-option>div {
    flex: 1;
}

.ap-option h3 {
    font-size: 20px;
    font-weight: 450;
    letter-spacing: -.04em;
}

.ap-option p {
    font-size: 12px;
    color: #b5c0ce;
    margin-top: 9px;
}

.ap-option>span:last-child {
    font: 24px Arial, sans-serif;
    color: var(--ap-gold);
}

.ap-option:hover h3 {
    color: var(--ap-gold);
}

.ap-business-footnote {
    display: flex;
    align-items: flex-start;
    gap: 35px;
    margin-top: 60px;
    padding-top: 23px;
    border-top: 1px solid #ffffff2b;
    color: #b8c4d0;
}

.ap-business-footnote>span {
    font: 9px Arial, sans-serif;
    letter-spacing: .14em;
    margin-top: 7px;
    color: var(--ap-gold);
}

.ap-business-footnote>p {
    font-size: 12px;
    line-height: 1.9;
}

/* FAQ */
.ap-faq-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 85px;
}

.ap-faq h2 {
    margin-top: 28px;
}

.ap-faq .ap-body-copy {
    font-size: 14px;
    margin-top: 22px;
}

.ap-faq .ap-underlink {
    margin-top: 26px;
    font-size: 13px;
}

.ap-faq-list {
    border-top: 1px solid #8b959c;
}

.ap-faq-item {
    border-bottom: 1px solid #d4d9dc;
}

.ap-faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.ap-faq-item summary::-webkit-details-marker {
    display: none;
}

.ap-faq-number {
    color: var(--ap-gold-ink);
    font: 10px Arial, sans-serif;
}

.ap-faq-toggle {
    margin-left: auto;
    position: relative;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.ap-faq-toggle::before,
.ap-faq-toggle::after {
    content: "";
    position: absolute;
    background: #4f5f6e;
    top: 6px;
    left: 0;
    width: 14px;
    height: 1px;
}

.ap-faq-toggle::after {
    transform: rotate(90deg);
}

.ap-faq-item[open] .ap-faq-toggle::after {
    transform: none;
}

.ap-faq-answer {
    padding: 0 30px 25px;
    color: var(--ap-muted);
    font-size: 14px;
    line-height: 1.95;
}

/* Contact and form */
.ap-inquiry {
    background: #e9ecec;
}

.ap-inquiry-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
    align-items: start;
}

.ap-inquiry h2 {
    margin-top: 28px;
}

.ap-inquiry .ap-body-copy {
    margin-top: 25px;
    font-size: 14px;
}

.ap-contact-phone {
    display: block;
    margin-top: 54px;
    font-size: clamp(25px, 2.6vw, 36px);
    font-weight: 500;
    letter-spacing: -.04em;
}

.ap-contact-phone span {
    font-size: 25px;
    margin-left: 12px;
}

.ap-contact-email {
    display: inline-block;
    margin-top: 8px;
    color: #536371 !important;
    font-size: 14px;
}

.ap-contact-note {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #cbd1d3;
    color: #576571;
}

.ap-contact-note>span {
    color: #425568;
    font-size: 24px;
}

.ap-contact-note>p {
    font-size: 12px;
    line-height: 1.9;
}

.ap-inquiry-panel {
    background: #fff;
    padding: 40px;
}

.ap-form-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 25px;
}

.ap-form-heading h3 {
    font-size: 23px;
    letter-spacing: -.04em;
    font-weight: 550;
}

.ap-form-heading p {
    font-size: 11px;
    color: #6b7278;
}

.ap-form-heading p span,
.ap-field label>span,
.ap-inquiry-types legend>span {
    color: #9b553b;
}

.ap-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ap-field {
    margin-bottom: 23px;
}

.ap-field>label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 9px;
}

.ap-field :where(input, textarea) {
    width: 100%;
    border: 1px solid #a2adb6;
    border-radius: 0;
    background: #fff;
    color: var(--ap-ink);
    padding: 13px 14px;
    font-size: 14px;
    box-shadow: none;
}

.ap-field input {
    min-height: 48px;
}

.ap-field textarea {
    display: block;
    resize: vertical;
    min-height: 126px;
    line-height: 1.7;
}

.ap-field :where(input, textarea)::placeholder {
    color: #747d85;
    opacity: 1;
    font-size: 12px;
}

.ampoule-page .ap-field :where(input, textarea):focus {
    border-color: #274767 !important;
    box-shadow: none;
}

.ap-inquiry-types {
    margin: 0 0 23px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.ap-inquiry-types legend {
    position: static;
    font-size: 13px;
    font-weight: 600;
    text-indent: 0;
    width: auto;
    height: auto;
    line-height: 1.6;
    margin-bottom: 12px;
    overflow: visible;
}

.ap-inquiry-types legend small {
    font-size: 11px;
    font-weight: 400;
    margin-left: 9px;
    color: #6b7278;
}

.ap-type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ap-type-option {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 13px;
    border: 1px solid #cbd1d6;
    font-size: 12px;
    cursor: pointer;
    min-height: 47px;
}

.ap-type-option:has(input:checked) {
    border-color: var(--ap-navy);
    background: #f0f3f7;
}

.ap-type-option input,
.ap-consent input {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--ap-navy);
    margin: 0;
}

.ap-privacy {
    margin-bottom: 18px;
    border-block: 1px solid #dce0e3;
    font-size: 12px;
}

.ap-privacy summary {
    cursor: pointer;
    padding: 12px 0;
    font-weight: 500;
}

.ap-privacy dl>div {
    display: grid;
    grid-template-columns: 75px 1fr;
    padding: 4px 0;
    gap: 10px;
}

.ap-privacy dt {
    font-weight: 500;
}

.ap-privacy p {
    color: #5e6871;
    padding: 12px 0 18px;
}

.ap-consent {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    font-size: 12px;
    cursor: pointer;
}

.ap-consent strong {
    font-weight: 500;
}

.ap-submit {
    width: 100%;
    border-radius: 0;
}

.ap-submit:disabled {
    cursor: not-allowed;
    background: #d5dadd !important;
    color: #505c66 !important;
    border-color: #d5dadd;
}

.ap-form-notice {
    padding: 15px 17px;
    background: #eef2f6;
    border-left: 2px solid #5b7089;
    font-size: 12px;
    margin-bottom: 28px;
}

.ap-form-notice strong {
    font-weight: 550;
}

.ap-form-notice p {
    margin-top: 4px;
    color: #566473;
}

.ap-form-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    padding-top: 18px;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

.ap-form-status {
    padding: 17px;
    margin-bottom: 25px;
    font-size: 14px;
    border: 1px solid;
}

.ap-form-status-error {
    color: #973a25;
    background: #fff7f2;
}

.ap-form-status-success {
    color: #256446;
    background: #f0f8f3;
}

.ap-field-error {
    color: #a03827;
    font-size: 12px;
    margin-top: 7px !important;
}

.ap-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* Footer and non-home Gnuboard pages */
.ap-footer {
    padding: 60px 0 24px;
    background: #051222;
    color: #bdc7d2;
}

.ap-footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr .9fr;
    gap: 50px;
    padding-bottom: 45px;
}

.ap-footer .ap-brand {
    color: #fff;
}

.ap-footer-brand>p {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.9;
    color: #a5b1c1;
}

.ap-footer h2 {
    font-size: 12px;
    font-weight: 500;
    color: #cbb994;
    margin: 6px 0 20px;
}

.ap-footer-contact>a {
    display: block;
    font-size: 12px;
}

.ap-footer-contact .ap-footer-phone {
    font-size: 22px;
    color: #fff;
    margin-bottom: 9px;
    font-weight: 450;
}

.ap-footer-visit :is(p, address) {
    font-size: 12px;
    font-style: normal;
    line-height: 1.9;
}

.ap-footer-details {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 25px;
    padding-bottom: 25px;
    font-size: 11px;
}

.ap-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #ffffff20;
    padding-top: 22px;
    color: #a0adbd;
    font-size: 10px;
}

.ap-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.ap-footer-links a {
    padding: 4px 0;
}

.ap-footer a:hover {
    color: var(--ap-gold);
}

.ampoule-page #container.ap-subpage {
    width: min(calc(100% - 112px), var(--ap-shell));
    max-width: var(--ap-shell);
    float: none;
    margin: 0 auto;
    padding: 65px 0;
    min-height: 55vh;
}

.ampoule-page #hd_login_msg {
    display: none;
    position: static;
    background: #203953;
    color: #fff;
    padding: 4px 20px;
    font-size: 12px;
}

.ampoule-page #hd_login_msg a {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 1199px) {
    .ap-shell {
        width: calc(100% - 72px);
    }

    .ap-about-grid,
    .ap-business-grid,
    .ap-inquiry-grid,
    .ap-faq-grid {
        gap: 50px;
    }

    .ap-inquiry-panel {
        padding: 30px;
    }
}

@media (max-width: 959px) {
    .ap-shell {
        width: calc(100% - 48px);
    }

    .ap-section {
        padding: 80px 0;
    }

    .ap-header-inner {
        min-height: 80px;
    }

    .ap-nav {
        gap: 24px;
    }

    .ap-nav a {
        font-size: 12px;
    }

    .ap-nav .ap-nav-cta {
        padding: 9px 15px;
        gap: 13px;
    }

    .ap-brand img {
        width: 200px;
    }

    .ap-about-grid {
        gap: 40px;
    }

    .ap-story-photo {
        min-height: 480px;
    }

    .ap-story-photo img {
        height: 480px;
    }

    .ap-story-photo figcaption {
        left: 22px;
        right: 22px;
    }

    .ap-story-photo figcaption>p {
        font-size: 24px;
    }

    .ap-business-grid,
    .ap-inquiry-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .ap-business-copy {
        max-width: 650px;
    }

    .ap-business-options {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 28px;
    }

    .ap-option,
    .ap-option:first-child {
        padding: 20px 0;
        flex-wrap: wrap;
        gap: 13px;
        align-items: start;
    }

    .ap-option>div {
        flex: 1 0 100%;
        order: 2;
    }

    .ap-option>span:last-child {
        margin-left: auto;
    }

    .ap-option h3 {
        font-size: 18px;
    }

    .ap-faq-grid {
        gap: 35px;
    }

    .ap-faq-item summary {
        font-size: 14px;
        gap: 13px;
    }

    .ap-inquiry-copy {
        position: relative;
    }

    .ap-contact-phone {
        margin-top: 25px;
    }

    .ap-contact-note {
        display: none;
    }

    .ap-inquiry-panel {
        max-width: 750px;
        width: 100%;
    }

    .ap-footer-top {
        gap: 25px;
        grid-template-columns: 1fr 1fr;
    }

    .ap-footer-visit {
        grid-column: 2;
    }
}

@media (max-width: 699px) {
    html:has(.ampoule-page) {
        scroll-padding-top: 86px;
    }

    .ap-shell {
        width: calc(100% - 40px);
    }

    .ap-section {
        padding: 66px 0;
        scroll-margin-top: 78px;
    }

    .ap-header-inner {
        min-height: 76px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: 76px auto;
        gap: 0;
    }

    .ap-header-inner > .ap-brand {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .ap-header .ap-menu-toggle {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        justify-content: flex-end;
        min-width: 76px;
        min-height: 44px;
    }

    .ap-brand img {
        width: 180px;
    }

    .ap-header.is-enhanced .ap-menu-toggle {
        display: flex;
    }

    .ap-header .ap-nav {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 10px 0 22px;
    }

    .ap-header.is-enhanced .ap-header-inner {
        height: 76px;
        grid-template-rows: 76px;
    }

    .ap-header.is-enhanced .ap-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1;
        grid-column: auto;
        grid-row: auto;
        padding: 10px 20px 22px;
        max-height: calc(100vh - 77px);
        max-height: calc(100dvh - 77px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--ap-navy);
        box-shadow: 0 14px 24px #07172b2e;
    }

    .ap-header.is-enhanced .ap-nav.is-open {
        display: flex;
    }

    .ap-nav a {
        font-size: 15px;
        padding: 13px 0;
        border-top: 1px solid #ffffff1a;
    }

    .ap-nav .ap-nav-cta {
        justify-content: space-between;
        padding: 13px 15px;
        margin-top: 10px;
    }

    .ap-section-intro {
        padding-top: 16px;
        margin-bottom: 32px;
    }

    .ap-eyebrow {
        font-size: 9px;
    }

    .ap-section-index {
        font-size: 9px;
        text-align: right;
    }

    .ap-section h2 {
        font-size: 31px;
        line-height: 1.45;
    }

    .ap-about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .ap-about .ap-body-copy {
        font-size: 14px;
    }

    .ap-lead {
        font-size: 19px;
        margin-top: 24px !important;
    }

    .ap-story-photo {
        min-height: 380px;
    }

    .ap-story-photo img {
        height: 380px;
    }

    .ap-story-photo figcaption>small {
        font-size: 10px;
    }

    .ap-section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 32px;
    }

    .ap-section-heading>p {
        font-size: 13px;
    }

    .ap-tag {
        margin-bottom: 20px !important;
        font-size: 9px;
    }

    .ap-business-grid {
        gap: 38px;
    }

    .ap-business-options {
        display: block;
    }

    .ap-option,
    .ap-option:first-child {
        flex-wrap: nowrap;
        align-items: center;
        gap: 17px;
        padding: 25px 0;
    }

    .ap-option:first-child {
        border-top: 1px solid #ffffff2b;
    }

    .ap-option>div {
        flex: 1;
        order: 0;
    }

    .ap-option h3 {
        font-size: 17px;
    }

    .ap-option p {
        font-size: 11px;
    }

    .ap-business .ap-body-copy {
        font-size: 14px;
    }

    .ap-business-footnote {
        margin-top: 34px;
        flex-direction: column;
        gap: 13px;
    }

    .ap-business-footnote>p {
        font-size: 11px;
    }

    .ap-faq-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .ap-faq h2,
    .ap-inquiry h2 {
        margin-top: 23px;
    }

    .ap-faq-item summary {
        padding: 21px 0;
    }

    .ap-faq-answer {
        font-size: 13px;
        padding: 0 0 23px 26px;
    }

    .ap-inquiry-grid {
        gap: 33px;
    }

    .ap-contact-phone {
        font-size: 29px;
    }

    .ap-inquiry-panel {
        padding: 25px 20px;
    }

    .ap-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ap-form-heading h3 {
        font-size: 22px;
    }

    .ap-form-heading p {
        font-size: 10px;
    }

    .ap-type-options {
        gap: 8px;
    }

    .ap-type-option {
        font-size: 11px;
        padding: 10px 8px;
        gap: 7px;
    }

    .ap-field :where(input, textarea) {
        font-size: 16px;
    }

    .ap-form-notice {
        font-size: 11px;
    }

    .ap-footer {
        padding-top: 43px;
    }

    .ap-footer-top {
        grid-template-columns: 1fr;
        gap: 29px;
        padding-bottom: 35px;
    }

    .ap-footer-visit {
        grid-column: auto;
    }

    .ap-footer h2 {
        margin: 0 0 10px;
    }

    .ap-footer-contact .ap-footer-phone {
        font-size: 24px;
    }

    .ap-footer-brand>p {
        margin-top: 16px;
    }

    .ap-footer-links {
        gap: 10px 20px;
        font-size: 11px;
    }

    .ampoule-page #container.ap-subpage {
        width: calc(100% - 40px);
        padding-block: 40px;
    }
}

@media (max-width: 359px) {
    .ap-shell {
        width: calc(100% - 32px);
    }

    .ap-header.is-enhanced .ap-nav {
        padding-inline: 16px;
    }

    .ap-section h2 {
        font-size: 28px;
    }

    .ap-section-index {
        display: none;
    }

    .ap-type-options {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:has(.ampoule-page) {
        scroll-behavior: auto;
    }

    .ampoule-page *,
    .ampoule-page *::before,
    .ampoule-page *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Image slider and product grid responsive layout */
@media (max-width: 1199px) {
    .ap-hero-controls {
        right: 36px;
    }

    .ap-product-grid {
        gap: 24px;
    }

    .ap-product-copy {
        padding: 32px 28px 36px;
    }

    .ap-product-actions {
        gap: 16px;
    }
}

@media (max-width: 959px) {
    .ap-hero {
        --ap-header-height: 80px;
    }

    .ap-hero-slide::after {
        background: linear-gradient(90deg, rgba(4, 14, 27, .9) 0%, rgba(4, 14, 27, .76) 55%, rgba(4, 14, 27, .62) 82%, rgba(4, 14, 27, .3) 100%);
    }

    .ap-hero-controls {
        right: 24px;
        bottom: 28px;
    }

    .ap-product-grid {
        gap: 20px;
    }

    .ap-product-photo,
    .ap-cellariva-visual {
        height: 330px;
    }

    .ap-product-copy {
        padding: 28px 22px 32px;
    }

    .ap-product h3 {
        font-size: 28px;
    }

    .ap-product-description {
        font-size: 13px;
    }

    .ap-product-description br {
        display: none;
    }

    .ap-product-actions {
        gap: 12px;
    }

    .ap-product-actions .ap-button {
        gap: 14px;
        font-size: 12px;
        padding-inline: 16px;
    }
}

@media (max-width: 699px) {
    .ap-hero {
        --ap-header-height: 76px;
        height: max(560px, calc(100vh - 76px));
        height: max(560px, calc(100svh - 76px));
    }

    .ap-hero-slide {
        align-items: flex-start;
    }

    .ap-hero-copy {
        width: calc(100% - 40px);
        padding-block: 64px 120px;
    }

    .ap-hero :is(h1, h2) {
        font-size: clamp(31px, 7.8vw, 42px);
        line-height: 1.4;
    }

    .ap-hero-description {
        max-width: 380px;
        margin-top: 18px !important;
        font-size: 15px;
        line-height: 1.75;
    }

    .ampoule-page .ap-button-hero {
        margin-top: 26px;
        min-width: 145px;
        padding: 12px 18px;
        font-size: 13px;
    }

    picture.ap-hero-image>img {
        object-position: center bottom;
    }

    .ap-hero-slide::after {
        background: linear-gradient(180deg, rgba(4, 14, 27, .88) 0%, rgba(4, 14, 27, .82) 44%, rgba(4, 14, 27, .62) 68%, rgba(4, 14, 27, .25) 100%);
    }

    .ap-hero-slide-brand .ap-hero-image {
        object-position: 65% center;
    }

    .ap-hero-controls {
        right: 20px;
        bottom: 24px;
        gap: 3px;
    }

    .ap-product-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ap-product-photo,
    .ap-cellariva-visual {
        height: 340px;
    }

    .ap-product-copy {
        padding: 30px 25px 34px;
    }

    .ap-product h3 {
        font-size: 30px;
    }

    .ap-product-description {
        font-size: 13px;
    }

    .ap-product-actions {
        padding-top: 26px;
        gap: 17px;
    }

    .ap-cellariva-brand>strong {
        font-size: 49px;
    }
}

@media (max-width: 359px) {
    .ap-hero-controls {
        right: 16px;
    }

    .ap-hero-copy {
        width: calc(100% - 32px);
    }

    .ap-hero :is(h1, h2) {
        font-size: 30px;
    }

    .ap-product-copy {
        padding-inline: 21px;
    }

    .ap-product h3 {
        font-size: 27px;
    }

    .ap-product-photo,
    .ap-cellariva-visual {
        height: 300px;
    }

    .ap-cellariva-brand>strong {
        font-size: 43px;
    }
}

@media print {
    .ap-header {
        position: static;
    }

    .ap-hero-controls,
    .ap-menu-toggle,
    .ap-inquiry-panel,
    .ap-back-top {
        display: none !important;
    }

    .ap-section {
        padding-block: 35px;
    }

    .ap-shell {
        width: 100%;
    }

    .ap-product,
    .ap-faq-item {
        break-inside: avoid;
    }
}

/* Main-page reveals use the bundled WOW and Animate.css effects. */
.ampoule-home .ap-reveal.animated {
    animation-timing-function: ease-out;
}

.ampoule-home:not(.ap-motion-ready) .ap-reveal {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.ampoule-home.ap-motion-ready .swiper-slide-active .ap-hero-copy > :is(h1, h2, .ap-hero-description, .ap-button) {
    animation: fadeIn .85s ease-out both;
}

.ampoule-home.ap-motion-ready .swiper-slide-active .ap-hero-copy > .ap-hero-description {
    animation-delay: .12s;
}

.ampoule-home.ap-motion-ready .swiper-slide-active .ap-hero-copy > .ap-button {
    animation-delay: .22s;
}

@media print, (prefers-reduced-motion: reduce) {
    .ampoule-home .ap-reveal,
    .ampoule-home .ap-hero-copy > * {
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* Sia's Choice: product guide and source documents */
.ap-sias-guide {
    background: var(--ap-navy);
    color: #fff;
}

.ap-guide-heading {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
}

.ap-guide-heading .ap-eyebrow {
    justify-content: center;
    margin-bottom: 15px;
    font-size: 11px;
}

.ap-guide-heading h2 {
    font-size: clamp(30px, 3.3vw, 44px);
    font-weight: 650;
    line-height: 1.4;
}

.ap-guide-heading .ap-guide-intro {
    margin-top: 20px;
    color: var(--ap-muted);
    font-size: 16px;
    line-height: 1.8;
}

.ap-sias-guide .ap-eyebrow {
    color: var(--ap-gold);
}

.ap-sias-guide .ap-guide-intro {
    color: #c5d2df;
}

.ap-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
}

.ap-guide-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 34px 28px 29px;
    border: 1px solid #e4e7eb;
    border-radius: 6px;
    background: #fff;
    color: var(--ap-ink);
    text-align: center;
}

.ap-guide-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #f4f0e8;
    color: var(--ap-gold-ink);
    font-size: 27px;
    line-height: 1;
}

.ap-guide-card h3 {
    margin-bottom: 13px;
    font-size: 21px;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: -.04em;
}

.ap-guide-card p {
    flex: 1;
    width: 100%;
    color: #536171;
    font-size: 15px;
    line-height: 1.85;
}

.ap-guide-rule {
    width: 32px;
    height: 2px;
    margin-top: 25px;
    background: var(--ap-gold);
}

.ap-guide-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.ampoule-page .ap-button-guide {
    justify-content: center;
    min-width: 230px;
    max-width: 100%;
    border-color: var(--ap-gold);
    background: var(--ap-gold);
    color: var(--ap-navy);
    font-size: 15px;
}

.ampoule-page .ap-button-guide:hover {
    border-color: #ead4af;
    background: #ead4af;
}

.ampoule-page .ap-sias-guide a:focus-visible {
    outline-color: #f1d49d;
}

.ap-guide-source {
    max-width: 920px;
    margin: 22px auto 0 !important;
    color: #b9c7d5;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

.ap-sias-technology {
    background: #fff;
    color: var(--ap-ink);
}

.ap-document-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    max-width: 1140px;
    margin-inline: auto;
}

.ap-document {
    min-width: 0;
    text-align: center;
}

.ap-document-link {
    display: block;
    border: 1px solid #dce1e6;
    background: #f6f7f8;
    transition: border-color .2s, box-shadow .2s;
}

.ap-document-link:hover {
    border-color: var(--ap-gold-ink);
    box-shadow: 0 8px 24px #07172b12;
}

.ap-document-link img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    padding: 20px;
    object-fit: contain;
    object-position: center;
}

.ap-document figcaption {
    padding: 23px 10px 0;
}

.ap-document h3 {
    font-size: 19px;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: -.035em;
}

.ap-document figcaption p {
    margin-top: 9px;
    color: var(--ap-muted);
    font-size: 14px;
    line-height: 1.8;
}

.ap-document-zoom {
    display: inline-block;
    margin-top: 14px;
    color: var(--ap-gold-ink);
    font-size: 14px;
    font-weight: 600;
}

.ap-document-note {
    max-width: 1000px;
    margin: 36px auto 0 !important;
    padding: 21px 26px;
    border-left: 3px solid var(--ap-gold);
    background: #f6f5f1;
    color: #536171;
    font-size: 14px;
    line-height: 1.85;
}

.ap-device-guide {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 64px;
    margin-top: 80px;
    padding-top: 72px;
    border-top: 1px solid var(--ap-line);
}

.ap-device-photo {
    min-width: 0;
    background: #f6f5f1;
}

.ap-device-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 24px;
    object-fit: contain;
}

.ap-device-copy {
    min-width: 0;
}

.ap-device-copy h3 {
    margin-top: 15px;
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 650;
    line-height: 1.45;
    letter-spacing: -.045em;
}

.ap-device-copy > p:not(.ap-eyebrow) {
    margin-top: 20px;
    color: var(--ap-muted);
    font-size: 15px;
    line-height: 1.85;
}

.ap-device-steps {
    display: grid;
    gap: 17px;
    margin: 25px 0 0;
    padding-left: 23px;
    color: var(--ap-gold-ink);
    font-size: 15px;
}

.ap-device-steps li {
    padding-left: 5px;
}

.ap-device-steps li::marker {
    font-weight: 700;
}

.ap-device-steps strong {
    display: block;
    color: var(--ap-ink);
    font-weight: 650;
    line-height: 1.7;
}

.ap-device-steps span {
    display: block;
    margin-top: 3px;
    color: var(--ap-muted);
    font-size: 14px;
    line-height: 1.8;
}

.ap-device-copy .ap-underlink {
    margin-top: 26px;
}

@media (max-width: 959px) {
    .ap-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .ap-document-grid {
        gap: 20px;
    }

    .ap-document-link img {
        padding: 12px;
    }

    .ap-document h3 {
        font-size: 18px;
    }

    .ap-device-guide {
        gap: 36px;
    }
}

@media (max-width: 699px) {
    .ap-guide-heading {
        margin-bottom: 32px;
    }

    .ap-guide-heading h2 {
        font-size: 29px;
    }

    .ap-guide-heading .ap-guide-intro {
        margin-top: 16px;
        font-size: 15px;
    }

    .ap-guide-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ap-guide-card {
        padding: 29px 24px 25px;
    }

    .ap-guide-card h3 {
        font-size: 20px;
    }

    .ap-guide-actions {
        margin-top: 30px;
    }

    .ap-guide-source {
        margin-top: 20px !important;
    }

    .ap-document-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        max-width: 420px;
    }

    .ap-document-link img {
        padding: 18px;
    }

    .ap-document figcaption {
        padding-top: 19px;
    }

    .ap-document-note {
        margin-top: 30px !important;
        padding: 19px 20px;
    }

    .ap-device-guide {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 54px;
        padding-top: 48px;
    }

    .ap-device-photo {
        width: 100%;
        max-width: 420px;
        margin-inline: auto;
    }

    .ap-device-copy h3 {
        font-size: 27px;
    }
}

@media print {
    .ap-sias-guide {
        background: #fff;
        color: var(--ap-ink);
    }

    .ap-sias-guide .ap-eyebrow,
    .ap-sias-guide .ap-guide-intro,
    .ap-guide-source {
        color: var(--ap-muted);
    }

    .ap-guide-card,
    .ap-document,
    .ap-device-guide {
        break-inside: avoid;
    }
}
