/* ==========================================================================
   Inlet Studio LLC — Refined Dusk
   Palette derived from brand logo: ocean blues, sunset golds, coastal greens
   ========================================================================== */

:root {
    /* Surfaces */
    --color-bg:        #0a1628;
    --color-bg-2:      #0f1d32;
    --color-bg-3:      #152640;

    /* Ocean blues */
    --color-blue:       #1a6fc4;
    --color-blue-light: #3da0e3;
    --color-blue-glow:  #1a8fe855;

    /* Sunset palette */
    --color-gold:       #e8a838;
    --color-orange:     #d4722a;
    --color-sunset:     #c94e2b;
    --color-peach:      #f0c27a;

    /* Coastal greens */
    --color-green:      #2a7a4b;
    --color-green-soft: #3d9e6a;

    /* Text */
    --fg-1: #eaf2fb;
    --fg-2: #c8d6e5;
    --fg-3: #6b829e;

    /* Hairlines */
    --line:        rgba(232, 168, 56, 0.18);
    --line-soft:   rgba(232, 168, 56, 0.10);
    --line-cool:   rgba(26, 111, 196, 0.20);

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Motion */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --dur-slow: 1.2s;
    --dur-med:  0.6s;
    --dur-fast: 0.25s;

    /* Layout */
    --content-max: 1160px;
    --section-pad-y: 120px;
    --section-pad-x: 40px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--fg-2);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

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

::selection {
    background: var(--color-gold);
    color: var(--color-bg);
}

/* Signature italic-light em with sunset gradient */
em {
    font-style: italic;
    font-weight: 300;
    background: linear-gradient(135deg, var(--color-gold), var(--color-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border-bottom: 1px solid var(--line-cool);
}

.nav__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__mark {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--fg-1);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav__mark img {
    border-radius: 50%;
    transition: transform var(--dur-fast) var(--ease-out-expo);
}

.nav__mark:hover img {
    transform: scale(1.08);
}

.nav__links {
    display: flex;
    gap: 28px;
    align-items: center;
    white-space: nowrap;
}

.nav__links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-3);
    transition: color var(--dur-fast);
}

.nav__links a:hover {
    color: var(--fg-1);
}

.nav__cta {
    padding: 8px 16px;
    border: 1px solid var(--color-gold);
    border-radius: 40px;
    color: var(--color-gold) !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap;
    transition: background var(--dur-fast), color var(--dur-fast);
}

.nav__cta:hover {
    background: var(--color-gold);
    color: var(--color-bg) !important;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    padding: 140px var(--section-pad-x) 120px;
    border-bottom: 1px solid var(--line-soft);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(232, 168, 56, 0.18) 0%,
        rgba(201, 78, 43, 0.08) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.hero__watermark {
    position: absolute;
    top: 50%;
    right: -80px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    opacity: 0.22;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
    animation: watermarkFloat 12s ease-in-out infinite alternate;
    filter: saturate(0.85);
}

@keyframes watermarkFloat {
    from { transform: translate(0, -52%) scale(1); opacity: 0.20; }
    to   { transform: translate(-12px, -48%) scale(1.03); opacity: 0.26; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__watermark { animation: none; }
}

.hero__grid {
    max-width: var(--content-max);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero__eyebrow {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--color-gold);
    font-size: 15px;
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(44px, 7vw, 88px);
    font-weight: 600;
    line-height: 1.05;
    color: var(--fg-1);
    max-width: 960px;
    margin: 0 0 48px;
    letter-spacing: -0.01em;
}

.hero__lede {
    font-size: 19px;
    line-height: 1.6;
    max-width: 640px;
    color: var(--fg-2);
    margin: 0 0 64px;
}

.hero__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 840px;
    padding-top: 28px;
    border-top: 1px solid var(--line-soft);
}

.hero__k {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    color: var(--color-gold);
    font-size: 13px;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.hero__v {
    font-size: 15px;
    color: var(--fg-1);
    font-weight: 500;
}

.hero__dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-green-soft);
    box-shadow: 0 0 10px var(--color-green-soft);
    margin-right: 6px;
    vertical-align: middle;
}

/* ==========================================================================
   Sections (shared)
   ========================================================================== */

.section {
    padding: var(--section-pad-y) var(--section-pad-x);
    border-bottom: 1px solid var(--line-soft);
}

.section--tinted {
    background: var(--color-bg-2);
}

.section__inner {
    max-width: var(--content-max);
    margin: 0 auto;
}

.eyebrow {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--color-gold);
    font-size: 15px;
    margin-bottom: 14px;
}

.h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 600;
    color: var(--fg-1);
    margin: 0 0 64px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-soft);
}

.service {
    padding: 40px 32px 40px 0;
    border-right: 1px solid var(--line-soft);
}

.service:last-child {
    border-right: none;
    padding-right: 0;
}

.service:not(:first-child) {
    padding-left: 32px;
}

.service__num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    color: var(--color-gold);
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.service h3 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 600;
    color: var(--fg-1);
    margin: 0 0 14px;
    line-height: 1.15;
}

.service p {
    font-size: 15px;
    color: var(--fg-2);
    margin: 0 0 24px;
    line-height: 1.65;
}

.service ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service li {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: var(--fg-3);
    padding: 6px 0;
    border-top: 1px solid var(--line-soft);
}

.service li:first-child {
    border-top: none;
    padding-top: 16px;
}

.service li span {
    color: var(--color-gold);
}

/* ==========================================================================
   About
   ========================================================================== */

.about__body {
    max-width: 720px;
}

.about__body p {
    font-size: 18px;
    line-height: 1.65;
    color: var(--fg-2);
    margin: 0 0 20px;
}

.about__body p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Process
   ========================================================================== */

.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-soft);
}

.steps li {
    padding: 32px 28px 32px 0;
    border-right: 1px solid var(--line-soft);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.steps li:last-child {
    border-right: none;
    padding-right: 0;
}

.steps li:not(:first-child) {
    padding-left: 28px;
}

.steps__n {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    color: var(--color-gold);
    font-size: 42px;
    line-height: 1;
    flex-shrink: 0;
}

.steps h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--fg-1);
    margin: 0 0 8px;
}

.steps p {
    font-size: 14px;
    color: var(--fg-3);
    margin: 0;
    line-height: 1.55;
}

/* ==========================================================================
   Inquiry
   ========================================================================== */

.inquiry {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.inquiry__body {
    font-size: 17px;
    line-height: 1.65;
    color: var(--fg-2);
    max-width: 380px;
    margin: 0 0 40px;
}

.inquiry__contact {
    padding-top: 24px;
    border-top: 1px solid var(--line-soft);
}

.inquiry__k {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--color-gold);
    font-size: 13px;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.inquiry__contact a {
    color: var(--fg-1);
    font-size: 15px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
    transition: border-color var(--dur-fast);
}

.inquiry__contact a:hover {
    border-bottom-color: var(--color-gold);
}

/* Form */
.form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

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

.form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    color: var(--color-gold);
    font-size: 13px;
    letter-spacing: 0.08em;
}

.form input,
.form select,
.form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    color: var(--fg-1);
    font-family: var(--font-body);
    font-size: 15px;
    font-style: normal;
    letter-spacing: 0;
    outline: none;
    transition: border-color var(--dur-fast);
    width: 100%;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-bottom-color: var(--color-gold);
}

.form textarea {
    resize: vertical;
    font-family: var(--font-body);
    line-height: 1.5;
}

.form select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--color-gold) 50%),
        linear-gradient(135deg, var(--color-gold) 50%, transparent 50%);
    background-position:
        calc(100% - 14px) 14px,
        calc(100% - 9px) 14px;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    padding-right: 24px;
}

.form option {
    background: var(--color-bg-2);
    color: var(--fg-1);
}

/* Honeypot — visually hidden, still in the tab order off-screen */
.form__hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Submit status */
.form__status {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    margin-top: 4px;
    min-height: 1.2em;
}

.form__status--ok {
    color: var(--color-green-soft);
}

.form__status--err {
    color: var(--color-sunset);
}

.cta:disabled {
    cursor: wait;
    opacity: 0.7;
}

/* Shared pill CTA */
.cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border: 1px solid var(--color-gold);
    border-radius: 40px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-gold);
    background: transparent;
    cursor: pointer;
    align-self: flex-start;
    transition: color var(--dur-fast) var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-gold);
    opacity: 0;
    transition: opacity var(--dur-fast);
    border-radius: inherit;
}

.cta:hover {
    color: var(--color-bg);
}

.cta:hover::before {
    opacity: 1;
}

.cta__text,
.cta__arrow {
    position: relative;
    z-index: 1;
}

.cta__arrow {
    transition: transform var(--dur-fast) var(--ease-out-expo);
}

.cta:hover .cta__arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding: 40px var(--section-pad-x);
    border-top: 1px solid var(--line-cool);
}

.footer__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--fg-1);
}

.footer__logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    opacity: 0.85;
}

.footer__meta {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    color: var(--fg-3);
    font-size: 13px;
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--dur-slow) var(--ease-out-expo),
                transform var(--dur-slow) var(--ease-out-expo);
    will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
    :root {
        --section-pad-y: 88px;
        --section-pad-x: 28px;
    }

    .hero {
        padding: 100px 28px 88px;
    }

    .services,
    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .service,
    .steps li {
        border-right: none;
        border-bottom: 1px solid var(--line-soft);
        padding: 32px 0;
    }

    .service:not(:first-child),
    .steps li:not(:first-child) {
        padding-left: 0;
    }

    .services .service:nth-child(odd),
    .steps li:nth-child(odd) {
        border-right: 1px solid var(--line-soft);
        padding-right: 28px;
    }

    .services .service:nth-child(even),
    .steps li:nth-child(even) {
        padding-left: 28px;
    }

    .inquiry {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__meta {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    :root {
        --section-pad-y: 72px;
        --section-pad-x: 20px;
    }

    .nav__inner {
        padding: 12px 20px;
    }

    .nav__links {
        gap: 16px;
    }

    .nav__links a:not(.nav__cta) {
        font-size: 12px;
    }

    .hero {
        padding: 88px 20px 72px;
    }

    .hero::before {
        width: 400px;
        height: 400px;
        top: -120px;
        right: -120px;
    }

    .hero__watermark {
        width: 340px;
        height: 340px;
        right: -140px;
        opacity: 0.15;
    }

    .hero__title {
        font-size: clamp(36px, 9vw, 56px);
    }

    .hero__lede {
        font-size: 17px;
        margin-bottom: 48px;
    }

    .services,
    .steps {
        grid-template-columns: 1fr;
    }

    .services .service,
    .steps li {
        border-right: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .services .service:last-child,
    .steps li:last-child {
        border-bottom: none;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav__mark span {
        display: none;
    }
}
