/* ------------------------------
   ROOT / GLOBAL
------------------------------ */

:root {
    --bg: #ffffff;
    --ink: #111111;
    --ink-muted: #777777;
    --pink: #dda28a;      /* subtle accent */
    --grid-max-width: 1180px;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ------------------------------
   PAGE WRAPPER
------------------------------ */

.page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
}

/* thin pink rule on the far left */
.page-border {
    background: var(--pink);
}

/* everything else sits in column 2 */
.page > *:not(.page-border) {
    grid-column: 2 / -1;
}

/* ------------------------------
   HEADER
------------------------------ */

.site-header {
    max-width: var(--grid-max-width);
    margin: 32px auto 40px;
    padding: 0 32px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-name {
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand-tagline {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.site-nav {
    display: flex;
    gap: 24px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-nav a {
    text-decoration: none;
    color: var(--ink);
    position: relative;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 140ms ease-out;
}

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

/* ------------------------------
   HERO LAYOUT
------------------------------ */

.hero {
    max-width: var(--grid-max-width);
    margin: 0 auto 60px;
    padding: 0 32px 40px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: flex-start;
}

/* left column */

.hero-text {
    padding-top: 20px;
}

.hero-eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.hero-title {
    margin: 0 0 20px;
    font-weight: 700;
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.12;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-body {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.7;
    max-width: 30rem;
}

.hero-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.meta-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 4px;
}

.meta-value {
    font-size: 13px;
}

.hero-link {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: var(--ink);
    padding-bottom: 4px;
    border-bottom: 1px solid var(--ink);
}

.hero-link:hover {
    border-color: var(--pink);
}

/* right column */

.hero-media {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.media-frame {
    border: 1px solid #e0e0e0;
    padding: 12px;
}

/* placeholder that you will replace with <img> */
.media-placeholder {
    position: relative;
    height: clamp(240px, 40vh, 340px);
    background: #f4f4f4;
    overflow: hidden;
}

/* simple “product/engineering” blocks for now */
.placeholder-block {
    position: absolute;
    border-radius: 4px;
}

.placeholder-block--left {
    left: 7%;
    bottom: 10%;
    width: 40%;
    height: 55%;
    background: #222;
}

.placeholder-block--right {
    right: 10%;
    top: 12%;
    width: 36%;
    height: 60%;
    background: #888;
}

/* caption */

.media-caption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.caption-title {
    font-weight: 600;
}

.caption-meta {
    color: var(--ink-muted);
}

/* ------------------------------
   STUB SECTIONS (for anchors only)
------------------------------ */

.stub-section {
    max-width: var(--grid-max-width);
    margin: 0 auto 40px;
    padding: 0 32px;
    border-top: 1px solid #f0f0f0;
    padding-top: 24px;
}

.stub-section h2 {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.stub-section p {
    margin: 0;
    font-size: 13px;
    color: var(--ink-muted);
}

/* ------------------------------
   RESPONSIVE
------------------------------ */

@media (max-width: 880px) {
    .site-header {
        flex-direction: column;
        gap: 16px;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .hero-text {
        padding-top: 0;
    }

    .media-placeholder {
        height: 260px;
    }
}

@media (max-width: 640px) {
    .page {
        grid-template-columns: 5px minmax(0, 1fr);
    }

    .site-header,
    .hero,
    .stub-section {
        padding-inline: 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-body {
        font-size: 13px;
    }
}
