/* Main Styles - Page-specific and layout */

/* Global Layout */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Temporary coming-soon landing page */
.soon-body {
    --ink: #2b2118;
    --ink-soft: rgba(43, 33, 24, 0.64);
    --grid: rgba(43, 33, 24, 0.06);
    --card: #f0ece4;
    --post-it: #efe5c8;
    font-size: 14px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px),
        #f7f3eb;
    background-size: 24px 24px, 24px 24px, auto;
    color: var(--ink);
    font-family: var(--font-mono);
}

.soon-desk {
    width: 100vw;
    height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.view-toggle {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 80;
    display: none;
    gap: 8px;
    padding: 10px 12px 8px;
    background: #f5efe3;
    border: 1.5px solid var(--ink);
    box-shadow: var(--shadow-sm);
    transform: translateX(-50%);
}

.view-toggle.is-visible {
    display: flex;
}

.view-button {
    min-width: 72px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid var(--ink);
    background: #fff;
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.view-button:hover,
.view-button:focus-visible {
    background: #f7f7f7;
}

.mobile-warning {
    position: fixed;
    inset: 12px;
    z-index: 200;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px;
    overflow-y: auto;
    background: transparent;
}

.mobile-warning .mobile-warning-card {
    position: relative;
    inset: auto;
    width: min(440px, calc(100vw - 36px));
    transform: none;
}

.mobile-warning .mobile-warning-note {
    position: relative;
    inset: auto;
    width: min(540px, calc(100vw - 36px));
    height: auto;
    min-height: 280px;
    padding: 30px 20px 18px;
    transform: none;
    background: #efe6c6;
    border: 0;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.mobile-warning p {
    margin: 0;
}

.mobile-warning .mobile-warning-note p {
    margin-top: 4px;
    font-family: "Reenie Beanie", "Bradley Hand", "Segoe Print", cursive;
    font-size: clamp(20px, 5.4vw, 42px);
    line-height: 0.9;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.mobile-warning .mobile-warning-note strong {
    font-weight: 700;
}

.mobile-warning a {
    color: var(--ink);
    text-decoration: underline;
}

.soon-paper {
    position: relative;
    width: 720px;
    height: 500px;
    display: block;
    overflow: visible;
    background: #f7f3eb;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-lg);
    transform: none;
}

.soon-paper::before {
    content: "";
    position: absolute;
    inset: 13px;
    border: 1px solid rgba(43, 33, 24, 0.12);
    pointer-events: none;
}

.card-pin {
    position: absolute;
    top: -10px;
    left: 160px;
    z-index: 25;
    width: 18px;
    height: 18px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: #b65743;
    box-shadow: var(--shadow-sm);
    pointer-events: none;
    transform: translateX(-50%) scaleX(-1);
}

.card-pin::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
}

.card-pin::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 13px;
    width: 2px;
    height: 12px;
    background: var(--ink);
    transform: rotate(-32deg);
    transform-origin: top;
}

.contact-card,
.post-it,
.hint-note,
.moodboard-note,
.soon-copy,
.soon-footer {
    position: absolute;
}

.contact-card {
    inset: -62.3239px auto auto 428.758px;
    z-index: 22;
    width: 260px;
    padding: 14px;
    background: var(--card);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-sm);
    transform: none;
}

.card-label {
    margin-bottom: 12px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.contact-card h2 {
    max-width: 220px;
    margin-bottom: 14px;
    font-family: var(--font-primary);
    font-size: 17px;
    line-height: 1.05;
}

.social-links-card {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.social-links-card a {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border: 1px solid var(--ink);
    background: rgba(248, 240, 223, 0.72);
    color: var(--ink);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 160ms ease, background-color 160ms ease;
}

.social-links-card a:hover,
.social-links-card a:focus-visible {
    background: #f6f4ef;
    transform: translateY(-1px);
}

.soon-copy {
    left: 44px;
    top: 56px;
    z-index: 9;
    max-width: 440px;
    padding: 18px 20px 22px;
    text-align: left;
}

.drawing-kicker {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: left;
}

.soon-copy h1 {
    margin: 6px 0 12px;
    font-family: "Reenie Beanie", "Bradley Hand", "Segoe Print", cursive;
    font-size: 92px;
    font-weight: 400;
    line-height: 0.84;
    text-align: left;
}

.soon-copy p:last-child {
    font-family: "Reenie Beanie", "Bradley Hand", "Segoe Print", cursive;
    font-size: 24px;
    line-height: 1.25;
    text-align: left;
    margin: 0;
}

.post-it {
    inset: 157.33px auto auto 532.798px;
    z-index: 29;
    width: 220px;
    height: 220px;
    padding: 30px 20px 18px;
    background: var(--post-it);
    box-shadow: var(--shadow-sm);
    transform: none;
}

.tape {
    position: absolute;
    top: -10px;
    left: 50%;
    width: 76px;
    height: 22px;
    background: #e5dcc9;
    border-left: 1px solid rgba(43, 33, 24, 0.08);
    border-right: 1px solid rgba(43, 33, 24, 0.08);
    transform: translateX(-50%);
}

.post-it h2 {
    margin: 0 0 12px;
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.post-it ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.post-it li {
    position: relative;
    padding-left: 20px;
    font-family: "Reenie Beanie", "Bradley Hand", "Segoe Print", cursive;
    font-size: 19px;
    line-height: 1.08;
}

.post-it li::before {
    content: "";
    position: absolute;
    top: 0.25em;
    left: 0;
    width: 12px;
    height: 12px;
    border: 1.5px solid var(--ink);
    background: rgba(255, 255, 255, 0.18);
}

.hint-note {
    inset: 282.794px auto auto -92.3978px;
    z-index: 23;
    width: 150px;
    min-height: 120px;
    padding: 28px 17px 16px;
    background: #f1c1cf;
    box-shadow: var(--shadow-sm);
    transform: none;
}

.hint-note p {
    margin: 0;
    font-family: "Reenie Beanie", "Bradley Hand", "Segoe Print", cursive;
    font-size: 20px;
    line-height: 1.05;
}

.moodboard-note {
    inset: 477.447px auto auto 29.6379px;
    z-index: 25;
    width: 230px;
    min-height: 128px;
    padding: 28px 18px 16px;
    background: #c9dfbd;
    box-shadow: var(--shadow-sm);
    transform: none;
}

.moodboard-note h2 {
    margin: 0 0 8px;
    font-family: var(--font-mono);
    font-size: 18px;
    line-height: 1;
    text-transform: lowercase;
}

.moodboard-note p {
    margin: 0 0 10px;
    font-family: "Reenie Beanie", "Bradley Hand", "Segoe Print", cursive;
    font-size: 21px;
    line-height: 1;
}

.moodboard-note a {
    display: inline-block;
    padding: 6px 8px;
    border: 1.5px solid var(--ink);
    background: #fff;
    color: var(--ink);
    font-size: 10px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.moodboard-note a:hover,
.moodboard-note a:focus-visible {
    background: #f7f7f7;
}

.soon-footer {
    left: 80px;
    right: 80px;
    bottom: 58px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(43, 33, 24, 0.16);
    color: var(--ink-soft);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.movable {
    touch-action: none;
    cursor: grab;
    user-select: none;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.movable:hover {
    transform: translateY(-1px);
}

.movable.is-dragging {
    z-index: 40;
    cursor: grabbing;
    transform: translateY(-4px);
    transition: none;
}

.contact-card.movable.is-dragging,
.post-it.movable.is-dragging,
.hint-note.movable.is-dragging,
.moodboard-note.movable.is-dragging {
    box-shadow: var(--shadow-lg);
}

@media (max-width: 700px) {
    .soon-paper {
        width: 520px;
        height: 400px;
    }

    .soon-copy {
        left: 28px;
        top: 42px;
        max-width: 460px;
    }

    .soon-copy h1 {
        font-size: 68px;
    }

    .soon-copy p:last-child {
        font-size: 18px;
    }

    .contact-card {
        inset: -8px auto auto 310px;
    }

    .post-it {
        inset: 130px auto auto 370px;
    }

    .hint-note {
        inset: 340px auto auto -40px;
    }

    .moodboard-note {
        inset: 402px auto auto 190px;
    }

    .soon-footer {
        left: 50px;
        right: 50px;
        bottom: 40px;
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .soon-paper {
        width: 380px;
        height: 310px;
    }

    .soon-copy {
        left: 20px;
        top: 32px;
        max-width: 340px;
    }

    .soon-copy h1 {
        font-size: 50px;
        margin: 4px 0 8px;
    }

    .soon-copy p:last-child {
        font-size: 14px;
    }

    .drawing-kicker {
        font-size: 12px;
    }

    .soon-body {
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        height: auto;
        min-height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .view-toggle {
        top: calc(18px + env(safe-area-inset-top, 0px));
    }

    .soon-desk {
        height: auto;
        min-height: 760px;
        overflow: visible;
        align-items: start;
        padding: 80px 0 120px;
        padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    }

    .contact-card {
        inset: -156.69px auto auto 60.8307px;
        z-index: 26;
    }

    .post-it {
        inset: 288.336px auto auto 157.215px;
        z-index: 34;
    }

    .hint-note {
        inset: 397.569px auto auto 2.15115px;
        z-index: 35;
    }

    .moodboard-note {
        inset: 538px auto auto 76px;
        z-index: 25;
    }

    .soon-footer {
        left: 30px;
        right: 30px;
        bottom: 30px;
        font-size: 7px;
        gap: 8px;
        padding-top: 8px;
    }
}

@media (max-width: 380px) {
    .soon-paper {
        width: 330px;
        height: 270px;
    }

    .soon-copy {
        left: 16px;
        top: 28px;
        max-width: 290px;
    }

    .soon-copy h1 {
        font-size: 42px;
    }

    .soon-copy p:last-child {
        font-size: 12px;
    }

    .soon-body {
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        height: auto;
        min-height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .view-toggle {
        top: calc(18px + env(safe-area-inset-top, 0px));
    }

    .soon-desk {
        height: auto;
        min-height: 620px;
        overflow: visible;
        align-items: start;
        padding: 80px 0 120px;
        padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    }

    .contact-card {
        inset: -4px auto auto 196px;
        z-index: 31;
    }

    .post-it {
        inset: 88px auto auto 236px;
        z-index: 32;
    }

    .hint-note {
        inset: 224px auto auto -20px;
        z-index: 24;
    }

    .moodboard-note {
        inset: 418px auto auto 64px;
        z-index: 33;
        width: 200px;
    }

    .soon-footer {
        left: 20px;
        right: 20px;
        bottom: 24px;
        font-size: 6px;
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    .soon-body {
        height: auto;
        min-height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .soon-desk {
        height: auto;
        min-height: 760px;
        overflow: visible;
        align-items: start;
        padding: 88px 0 120px;
        padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    }

    .soon-paper {
        transform: scale(0.55);
        transform-origin: center;
    }

    .contact-card {
        inset: 10px auto auto 425.096px;
        z-index: 27;
    }

    .post-it {
        inset: 176px auto auto 532.798px;
        z-index: 29;
    }

    .hint-note {
        inset: 308px auto auto -92.3978px;
        z-index: 23;
    }

    .moodboard-note {
        inset: 416px auto auto 260px;
        z-index: 25;
    }

    .view-toggle {
        top: calc(12px + env(safe-area-inset-top, 0px));
        left: auto;
        right: max(12px, env(safe-area-inset-right, 0px));
        transform: none;
        padding: 6px 8px 4px;
    }

    .view-button {
        min-width: 52px;
        min-height: 24px;
        padding: 0 6px;
        font-size: 8px;
    }
}

@media (max-width: 700px) and (pointer: coarse), (orientation: landscape) and (max-height: 600px) and (pointer: coarse) {
    .view-toggle,
    .soon-desk {
        display: none !important;
    }

    body {
        overflow: hidden;
    }

    .mobile-warning {
        display: flex;
    }

    .mobile-warning .mobile-warning-card h2 {
        font-size: 15px;
    }

    .mobile-warning .mobile-warning-card .social-links-card a {
        font-size: 9px;
    }

    .mobile-warning .mobile-warning-note {
        min-height: 260px;
    }
}

@media (orientation: landscape) and (max-height: 600px) and (pointer: coarse) {
    .mobile-warning {
        inset: 0;
        justify-content: flex-start;
        padding:
            calc(10px + env(safe-area-inset-top, 0px))
            calc(12px + env(safe-area-inset-right, 0px))
            calc(12px + env(safe-area-inset-bottom, 0px))
            calc(12px + env(safe-area-inset-left, 0px));
        gap: 10px;
    }

    .mobile-warning .mobile-warning-card {
        width: min(360px, calc(100vw - 24px));
    }

    .mobile-warning .mobile-warning-note {
        width: min(520px, calc(100vw - 24px));
        height: auto;
        min-height: 220px;
        padding: 26px 18px 16px;
    }

    .mobile-warning .mobile-warning-note p {
        font-size: clamp(16px, 3.4vw, 28px);
        line-height: 0.88;
    }
}

/* Single-page engineering drawing concept */
.bom-body {
    --sheet-paper: #efe6d4;
    --sheet-paper-light: #f8f0df;
    --sheet-paper-dark: #d3bea0;
    --sheet-ink: #2b2118;
    --sheet-ink-soft: rgba(43, 33, 24, 0.62);
    --sheet-grid: rgba(93, 67, 42, 0.08);
    --sheet-green: #bdcdb8;
    --sheet-green-dark: #8d9c86;
    min-height: 100%;
    background:
        linear-gradient(var(--sheet-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--sheet-grid) 1px, transparent 1px),
        #f4ede2;
    background-size: 24px 24px, 24px 24px, auto;
    color: var(--sheet-ink);
    font-family: var(--font-mono);
    padding: clamp(12px, 2vw, 28px);
}

.drawing-sheet {
    position: relative;
    width: min(1680px, 100%);
    min-height: calc(100vh - clamp(24px, 4vw, 56px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(760px, 1fr) minmax(420px, 0.68fr);
    background: var(--sheet-paper-light);
    border: 3px solid var(--sheet-ink);
    box-shadow: var(--shadow-lg);
}

.drawing-sheet::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}

.drawing-board {
    position: relative;
    min-height: 980px;
    border-right: 2px solid var(--sheet-ink);
    overflow: hidden;
    background: #fbf9f5;
}

.drawing-board::before,
.drawing-board::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(43, 33, 24, 0.22);
    pointer-events: none;
}

.drawing-board::after {
    inset: 34px;
    border-style: dashed;
    opacity: 0.35;
}

.sheet-mark {
    position: absolute;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-color: var(--sheet-ink);
}

.sheet-mark-top-left {
    top: 20px;
    left: 20px;
    border-top: 2px solid;
    border-left: 2px solid;
}

.sheet-mark-top-right {
    top: 20px;
    right: 20px;
    border-top: 2px solid;
    border-right: 2px solid;
}

.drawing-heading {
    position: relative;
    z-index: 3;
    width: min(470px, calc(100% - 64px));
    padding: 46px 0 0 52px;
}

.drawing-kicker,
.view-label,
.feature-key h2,
.bom-table caption,
.title-block p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.drawing-heading h1 {
    margin: 6px 0 10px;
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 5.7rem);
    letter-spacing: -0.06em;
    line-height: 0.9;
}

.drawing-heading p:last-child {
    max-width: 36rem;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
}

.orthographic-view {
    position: absolute;
    z-index: 2;
    color: var(--sheet-ink);
}

.top-view {
    top: 70px;
    right: 54px;
    width: 270px;
    height: 150px;
}

.side-view {
    left: 62px;
    bottom: 70px;
    width: 310px;
    height: 190px;
}

.view-label {
    display: block;
    margin-bottom: 10px;
}

.browser-top,
.browser-front {
    border: 2px solid var(--sheet-ink);
    background: #f4efe5;
}

.browser-top {
    width: 230px;
    height: 72px;
    margin-left: 22px;
}

.browser-front {
    width: 250px;
    height: 86px;
    margin-left: 30px;
}

.panel-line {
    position: absolute;
    height: 1px;
    background: var(--sheet-ink);
}

.panel-line-a {
    top: 68px;
    left: 0;
    width: 270px;
}

.panel-line-b {
    top: 101px;
    left: 0;
    width: 270px;
}

.panel-line-c {
    top: 34px;
    left: 136px;
    width: 1px;
    height: 112px;
}

.stand-left,
.stand-right {
    position: absolute;
    bottom: 28px;
    width: 42px;
    height: 62px;
    border: 2px solid var(--sheet-ink);
    border-top: 0;
}

.stand-left {
    left: 72px;
    transform: skewX(-12deg);
}

.stand-right {
    right: 66px;
    transform: skewX(12deg);
}

.website-assembly {
    position: absolute;
    z-index: 3;
    top: 285px;
    right: 44px;
    width: clamp(460px, 42vw, 560px);
    margin: 0;
}

.svg-screen {
    fill: url(#screenFace);
    stroke: var(--sheet-ink);
    stroke-width: 3;
}

.svg-edge,
.svg-edge-dark,
.svg-base,
.svg-base-side,
.svg-base-dark,
.svg-leg {
    stroke: var(--sheet-ink);
    stroke-width: 3;
}

.svg-edge,
.svg-base {
    fill: url(#edgeFace);
}

.svg-edge-dark,
.svg-base-dark {
    fill: var(--sheet-green-dark);
}

.svg-base-side,
.svg-leg {
    fill: #d9d6c8;
}

.svg-shadow {
    fill: rgba(43, 33, 24, 0.08);
}

.svg-toolbar {
    fill: none;
    stroke: var(--sheet-ink);
    stroke-width: 9;
    stroke-linejoin: round;
    opacity: 0.18;
}

.svg-line {
    fill: none;
    stroke: var(--sheet-ink-soft);
    stroke-width: 2;
}

.svg-accent,
.svg-block {
    stroke: var(--sheet-ink);
    stroke-width: 2.5;
}

.svg-accent {
    fill: var(--sheet-green);
}

.svg-block {
    fill: #f6edda;
}

.callout path {
    fill: none;
    stroke: var(--sheet-ink);
    stroke-width: 2;
}

.callout circle {
    fill: var(--sheet-paper-light);
    stroke: var(--sheet-ink);
    stroke-width: 2;
}

.callout text {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    text-anchor: middle;
}

.feature-key {
    align-self: start;
    border-bottom: 2px solid var(--sheet-ink);
    background: #f3ecdf;
}

.feature-key h2 {
    margin: 0;
    padding: 8px 10px;
    border-bottom: 2px solid var(--sheet-ink);
    font-family: var(--font-mono);
}

.feature-key ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-key li {
    display: grid;
    grid-template-columns: 38px 1fr;
    min-height: 36px;
    border-bottom: 1px solid var(--sheet-ink);
    font-size: 0.72rem;
    line-height: 1.35;
}

.feature-key li:last-child {
    border-bottom: 0;
}

.feature-key span {
    display: grid;
    place-items: center;
    border-right: 1px solid var(--sheet-ink);
    font-weight: 700;
}

.feature-key li {
    align-items: center;
}

.feature-key li::after {
    content: "";
}

.bom-panel {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-width: 0;
    background: #f7f2e8;
}

.bom-table {
    width: 100%;
    border-collapse: collapse;
    align-self: end;
    font-size: clamp(0.68rem, 0.95vw, 0.82rem);
}

.bom-table caption {
    caption-side: top;
    padding: 12px;
    border-bottom: 2px solid var(--sheet-ink);
    font-weight: 700;
    text-align: left;
}

.bom-table th,
.bom-table td {
    border-bottom: 1px solid var(--sheet-ink);
    border-right: 1px solid var(--sheet-ink);
    padding: 8px 9px;
    vertical-align: top;
    text-align: left;
}

.bom-table th:last-child,
.bom-table td:last-child {
    border-right: 0;
}

.bom-table thead th {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bom-table tbody td:first-child,
.bom-table tbody td:nth-child(4) {
    text-align: center;
    font-weight: 700;
}

.title-block {
    display: grid;
    grid-template-columns: 100px 1fr 1.35fr 86px 120px;
    border-top: 2px solid var(--sheet-ink);
    min-height: 136px;
}

.title-block > div {
    min-width: 0;
    border-right: 1px solid var(--sheet-ink);
    padding: 9px 10px;
}

.title-block > div:last-child {
    border-right: 0;
}

.projection-symbol {
    position: relative;
    display: grid;
    place-items: center;
}

.projection-symbol span:first-child {
    width: 46px;
    height: 46px;
    border: 2px solid var(--sheet-ink);
    border-radius: 50%;
    box-shadow: inset 0 0 0 10px var(--sheet-paper-light), inset 0 0 0 12px var(--sheet-ink);
}

.projection-symbol span:last-child {
    width: 30px;
    height: 56px;
    border: 2px solid var(--sheet-ink);
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 85%);
}

.title-meta {
    display: grid;
    align-content: space-between;
}

.title-meta p,
.title-name p,
.title-scale p,
.title-drawing p {
    margin: 0;
}

.title-meta strong {
    display: inline-block;
    min-width: 62px;
}

.title-name h2 {
    margin: 10px 0 0;
    font-family: var(--font-primary);
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 0.98;
    text-transform: uppercase;
}

.title-scale,
.title-drawing {
    display: grid;
    align-content: end;
    gap: 10px;
}

.title-scale strong,
.title-drawing strong {
    font-size: 0.9rem;
}

@media (max-width: 1220px) {
    .drawing-sheet {
        grid-template-columns: 1fr;
    }

    .drawing-board {
        min-height: 1080px;
        border-right: 0;
        border-bottom: 2px solid var(--sheet-ink);
    }

    .website-assembly {
        top: 300px;
        width: min(680px, calc(100% - 32px));
    }
}

@media (max-width: 760px) {
    .bom-body {
        padding: 8px;
    }

    .drawing-sheet {
        border-width: 2px;
    }

    .drawing-board {
        min-height: 880px;
    }

    .drawing-heading {
        width: calc(100% - 36px);
        padding: 36px 0 0 28px;
    }

    .top-view {
        top: 218px;
        left: 28px;
        right: auto;
        transform: scale(0.85);
        transform-origin: left top;
    }

    .website-assembly {
        top: 330px;
        right: 8px;
        width: calc(100% - 16px);
    }

    .side-view {
        left: 20px;
        bottom: 18px;
        transform: scale(0.76);
        transform-origin: left bottom;
    }

    .bom-panel {
        overflow-x: auto;
    }

    .bom-table,
    .title-block {
        min-width: 680px;
    }
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-green);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Page-specific styles will be added as we create more pages */

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Print Styles */
@media print {

    .navigation,
    .nav-controls,
    .btn {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .grid-background {
        display: none;
    }
}
