Coworking — Coworking Landing
A warm-industrial marketing landing for a fictional coworking studio set in a restored foundry. Sticky nav with mobile menu, a hero pairing a validated book-a-tour form with a live desks-free badge and warm gradient photo blocks, membership benefits, a tap-to-zoom spaces gallery with occupancy chips, a dark community and events band, a three-tier pricing teaser, member testimonials, a CTA band, and a footer newsletter — all driven by accessible vanilla JS with scroll reveals and toasts.
MCP
Code
:root {
--concrete: #efeae3;
--concrete-d: #e2dcd2;
--amber: #e8902b;
--amber-d: #cc7918;
--amber-50: #fdf1e2;
--char: #1c1b19;
--ink: #26241f;
--ink-2: #4a463e;
--muted: #7b766c;
--bg: #f6f3ee;
--surface: #ffffff;
--plant: #5f7a52;
--line: rgba(28, 27, 25, 0.1);
--line-2: rgba(28, 27, 25, 0.18);
--ok: #2f9e6f;
--warn: #d98a2b;
--danger: #d4503e;
--occupied: #d4503e;
--free: #2f9e6f;
--reserved: #d98a2b;
--r-sm: 8px;
--r-md: 14px;
--r-lg: 20px;
--sh-sm: 0 1px 2px rgba(28, 27, 25, 0.06), 0 2px 8px rgba(28, 27, 25, 0.05);
--sh-md: 0 4px 14px rgba(28, 27, 25, 0.08), 0 12px 30px rgba(28, 27, 25, 0.07);
--sh-lg: 0 18px 50px rgba(28, 27, 25, 0.14);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
font-family: "Inter", system-ui, -apple-system, sans-serif;
background: var(--bg);
color: var(--ink);
line-height: 1.5;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1160px, 92vw); margin-inline: auto; }
.sr-only {
position: absolute; width: 1px; height: 1px; padding: 0;
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
position: absolute; left: 12px; top: -60px; z-index: 200;
background: var(--char); color: #fff; padding: 10px 16px;
border-radius: var(--r-sm); transition: top 0.2s;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2.5px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
/* ===== BUTTONS ===== */
.btn {
--b: var(--amber);
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
font: inherit; font-weight: 600; font-size: 0.94rem;
padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn.full { width: 100%; }
.btn-amber { background: var(--amber); color: #fff; box-shadow: 0 6px 16px rgba(232, 144, 43, 0.32); }
.btn-amber:hover { background: var(--amber-d); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(232, 144, 43, 0.4); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--concrete); border-color: var(--char); }
.btn-char { background: var(--char); color: var(--concrete); }
.btn-char:hover { background: #000; transform: translateY(-1px); }
.kicker {
display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em;
text-transform: uppercase; color: var(--amber-d); margin-bottom: 12px;
}
.eyebrow {
display: inline-flex; align-items: center; gap: 8px;
font-size: 0.8rem; font-weight: 600; color: var(--ink-2);
background: var(--surface); border: 1px solid var(--line);
padding: 6px 14px; border-radius: 999px; box-shadow: var(--sh-sm); margin-bottom: 20px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--plant); box-shadow: 0 0 0 4px rgba(95, 122, 82, 0.18); }
/* ===== NAV ===== */
.nav {
position: sticky; top: 0; z-index: 100;
background: rgba(246, 243, 238, 0.82);
backdrop-filter: saturate(150%) blur(12px);
border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
width: 26px; height: 26px; border-radius: 7px;
background: linear-gradient(145deg, var(--amber), var(--amber-d));
box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.3), 0 2px 6px rgba(204, 121, 24, 0.4);
}
.brand-name { font-size: 1.18rem; letter-spacing: -0.02em; color: var(--char); }
.brand-amber { color: var(--amber-d); }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; }
.nav-links a { font-weight: 500; color: var(--ink-2); font-size: 0.94rem; position: relative; padding: 4px 0; }
.nav-links a::after {
content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
background: var(--amber); transition: width 0.22s;
}
.nav-links a:hover { color: var(--char); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 10px; }
.hamburger {
display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
align-items: center; justify-content: center; background: var(--surface);
border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; margin-inline-start: auto;
}
.hamburger span { width: 20px; height: 2px; background: var(--char); border-radius: 2px; transition: 0.25s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; padding: 12px 4vw 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.mobile-nav a { padding: 12px 8px; font-weight: 600; color: var(--ink); border-radius: var(--r-sm); }
.mobile-nav a:hover { background: var(--concrete); }
.mobile-nav .btn { margin-top: 8px; }
/* ===== HERO ===== */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 {
font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: 1.04; letter-spacing: -0.03em;
color: var(--char); margin-bottom: 18px;
}
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 46ch; margin-bottom: 26px; }
.tour-form {
background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
padding: 20px; box-shadow: var(--sh-md); display: grid; gap: 14px; max-width: 460px;
}
.field { display: grid; gap: 6px; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }
.field input {
font: inherit; padding: 11px 14px; border-radius: var(--r-sm);
border: 1.5px solid var(--line-2); background: var(--bg); color: var(--ink); width: 100%;
transition: border-color 0.18s, background 0.18s;
}
.field input::placeholder { color: var(--muted); }
.field input:focus { outline: none; border-color: var(--amber); background: var(--surface); box-shadow: 0 0 0 3px rgba(232, 144, 43, 0.16); }
.field input.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(212, 80, 62, 0.14); }
.form-note { font-size: 0.82rem; color: var(--muted); text-align: center; }
.form-note.err { color: var(--danger); font-weight: 600; }
.form-note.ok { color: var(--ok); font-weight: 600; }
.hero-stats { list-style: none; display: flex; gap: 28px; padding: 0; margin-top: 26px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; color: var(--char); letter-spacing: -0.02em; }
.hero-stats span { font-size: 0.82rem; color: var(--muted); }
/* hero media */
.hero-media {
display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
gap: 14px; height: 460px; position: relative;
}
.photo {
border-radius: var(--r-lg); position: relative; overflow: hidden;
box-shadow: var(--sh-md); display: flex; align-items: flex-end; padding: 14px;
}
.photo-tall { grid-row: span 2; }
.photo-tag {
font-size: 0.74rem; font-weight: 600; color: #fff; background: rgba(28, 27, 25, 0.55);
backdrop-filter: blur(4px); padding: 5px 11px; border-radius: 999px;
}
.ph-amber { background: linear-gradient(150deg, #f3a64a, #d4781b 70%, #b8650f); }
.ph-amber2 { background: linear-gradient(150deg, #f5b968, #e0892c 70%, #c2700f); }
.ph-plant { background: linear-gradient(150deg, #7b9166, #57704a 70%, #455c3b); }
.ph-plant2 { background: linear-gradient(150deg, #8ba377, #5f7a52 70%, #4a6240); }
.ph-char { background: linear-gradient(150deg, #57534b, #2c2a26 75%, #1c1b19); }
.ph-ink { background: linear-gradient(150deg, #6a655c, #423e37 75%, #2a2722); }
.hero-badge {
position: absolute; left: -14px; bottom: 22px; z-index: 3;
background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
padding: 12px 16px; box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 12px;
}
.hero-badge strong { display: block; font-size: 0.96rem; color: var(--char); }
.hero-badge small { color: var(--muted); font-size: 0.76rem; }
.badge-dot { width: 11px; height: 11px; border-radius: 50%; }
.badge-dot.free { background: var(--free); box-shadow: 0 0 0 4px rgba(47, 158, 111, 0.18); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(47, 158, 111, 0.18); } 50% { box-shadow: 0 0 0 7px rgba(47, 158, 111, 0.06); } }
/* ===== TRUST ===== */
.trust { padding: 8px 0 44px; border-bottom: 1px solid var(--line); }
.trust-label { text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.trust-logos {
list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center;
gap: 14px 38px; color: var(--ink-2); font-weight: 700; font-size: 1.04rem; letter-spacing: -0.01em;
}
.trust-logos li { opacity: 0.55; transition: opacity 0.2s; }
.trust-logos li:hover { opacity: 1; }
/* ===== SECTIONS ===== */
.section { padding: 76px 0; }
.sec-head { max-width: 620px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: -0.025em; color: var(--char); line-height: 1.1; }
.sec-head p { color: var(--ink-2); margin-top: 12px; font-size: 1.04rem; }
.muted { color: var(--muted); }
/* ===== BENEFITS ===== */
.benefits { background: linear-gradient(180deg, var(--surface), var(--bg)); border-block: 1px solid var(--line); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit {
background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
padding: 26px 24px; box-shadow: var(--sh-sm); transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-2); }
.benefit h3 { font-size: 1.08rem; color: var(--char); margin-bottom: 8px; }
.benefit p { color: var(--ink-2); font-size: 0.94rem; }
.bicon {
display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
background: var(--amber-50); margin-bottom: 16px; position: relative;
}
.bicon::before { content: ""; width: 22px; height: 22px; background: var(--amber-d); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.ic-wifi::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12.5a10 10 0 0 1 14 0M8 16a5 5 0 0 1 8 0'/%3E%3Ccircle cx='12' cy='19' r='1' fill='black'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12.5a10 10 0 0 1 14 0M8 16a5 5 0 0 1 8 0'/%3E%3Ccircle cx='12' cy='19' r='1' fill='black'/%3E%3C/svg%3E"); }
.ic-cup::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h13v5a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4Z'/%3E%3Cpath d='M17 9h2a2 2 0 0 1 0 4h-2'/%3E%3Cpath d='M6 3v2M10 3v2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h13v5a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4Z'/%3E%3Cpath d='M17 9h2a2 2 0 0 1 0 4h-2'/%3E%3Cpath d='M6 3v2M10 3v2'/%3E%3C/svg%3E"); }
.ic-door::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21V4a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v17'/%3E%3Cpath d='M4 21h14'/%3E%3Ccircle cx='12' cy='12' r='1' fill='black'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21V4a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v17'/%3E%3Cpath d='M4 21h14'/%3E%3Ccircle cx='12' cy='12' r='1' fill='black'/%3E%3C/svg%3E"); }
.ic-room::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='12' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='12' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E"); }
.ic-plant::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-7'/%3E%3Cpath d='M12 14C9 14 6 11 6 7c4 0 6 3 6 7Z'/%3E%3Cpath d='M12 11c0-3 2-6 6-6 0 4-3 6-6 6Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-7'/%3E%3Cpath d='M12 14C9 14 6 11 6 7c4 0 6 3 6 7Z'/%3E%3Cpath d='M12 11c0-3 2-6 6-6 0 4-3 6-6 6Z'/%3E%3C/svg%3E"); }
.ic-people::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20a6 6 0 0 1 12 0'/%3E%3Cpath d='M16 6a3 3 0 0 1 0 6M21 20a6 6 0 0 0-5-5.9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20a6 6 0 0 1 12 0'/%3E%3Cpath d='M16 6a3 3 0 0 1 0 6M21 20a6 6 0 0 0-5-5.9'/%3E%3C/svg%3E"); }
/* ===== GALLERY ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gcard {
position: relative; border: none; cursor: pointer; min-height: 200px; padding: 16px;
border-radius: var(--r-md); overflow: hidden; text-align: left;
display: flex; align-items: flex-end; box-shadow: var(--sh-sm);
transition: transform 0.22s, box-shadow 0.25s; font: inherit; color: #fff;
}
.gcard::after {
content: ""; position: absolute; inset: 0;
background: linear-gradient(180deg, transparent 40%, rgba(28, 27, 25, 0.55));
}
.gcard:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.gcard-meta { position: relative; z-index: 2; }
.gcard-meta strong { display: block; font-size: 1.06rem; }
.gcard-meta small { font-size: 0.8rem; opacity: 0.88; }
.chip {
position: absolute; top: 14px; right: 14px; z-index: 2;
font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
background: var(--surface); display: inline-flex; align-items: center; gap: 6px;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.chip.free { color: var(--ok); } .chip.free::before { background: var(--free); }
.chip.reserved { color: var(--amber-d); } .chip.reserved::before { background: var(--reserved); }
.chip.occupied { color: var(--danger); } .chip.occupied::before { background: var(--occupied); }
/* ===== COMMUNITY ===== */
.community { background: var(--char); color: var(--concrete); }
.community .kicker { color: var(--amber); }
.community h2 { color: #fff; }
.community-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.community .muted { color: rgba(239, 234, 227, 0.62); font-size: 1.04rem; margin-top: 12px; max-width: 40ch; }
.member-row { list-style: none; padding: 0; display: flex; margin-top: 26px; }
.ava {
width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
font-weight: 700; font-size: 0.84rem; color: #fff; border: 2.5px solid var(--char);
margin-inline-start: -10px; box-shadow: var(--sh-sm);
}
.member-row .ava:first-child { margin-inline-start: 0; }
.ava.a1 { background: linear-gradient(140deg, #e8902b, #cc7918); }
.ava.a2 { background: linear-gradient(140deg, #5f7a52, #455c3b); }
.ava.a3 { background: linear-gradient(140deg, #6a655c, #3b3833); }
.ava.a4 { background: linear-gradient(140deg, #d4781b, #b8650f); }
.ava.a5 { background: linear-gradient(140deg, #7b9166, #57704a); }
.ava.more { background: var(--ink-2); font-size: 0.76rem; }
.events { list-style: none; padding: 0; display: grid; gap: 12px; }
.event {
display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: var(--r-md); padding: 16px 18px; transition: background 0.2s, transform 0.2s;
}
.event:hover { background: rgba(255, 255, 255, 0.08); transform: translateX(4px); }
.ev-date {
display: grid; place-items: center; width: 54px; height: 54px;
background: var(--amber-50); color: var(--char); border-radius: var(--r-sm);
}
.ev-date strong { font-size: 1.25rem; line-height: 1; }
.ev-date small { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; color: var(--amber-d); }
.ev-body h3 { font-size: 1.02rem; color: #fff; }
.ev-body p { font-size: 0.88rem; color: rgba(239, 234, 227, 0.6); margin-top: 3px; }
.event .chip { position: static; }
/* ===== PRICING ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
padding: 30px 26px; box-shadow: var(--sh-sm); display: flex; flex-direction: column;
position: relative; transition: transform 0.2s, box-shadow 0.25s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.plan.featured { border-color: var(--amber); box-shadow: var(--sh-md); }
.plan.featured::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); border: 2px solid var(--amber); pointer-events: none; }
.plan-flag {
position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
background: var(--amber); color: #fff; font-size: 0.72rem; font-weight: 700;
padding: 5px 14px; border-radius: 999px; box-shadow: 0 4px 12px rgba(232, 144, 43, 0.4);
}
.plan h3 { font-size: 1.12rem; color: var(--char); }
.price { font-size: 2.6rem; font-weight: 800; color: var(--char); letter-spacing: -0.03em; margin: 8px 0 18px; line-height: 1; }
.price span { font-size: 1.2rem; vertical-align: top; color: var(--ink-2); margin-inline-end: 2px; }
.price small { font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; display: grid; gap: 10px; margin-bottom: 24px; flex: 1; }
.plan li { font-size: 0.92rem; color: var(--ink-2); padding-inline-start: 26px; position: relative; }
.plan li::before {
content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px;
border-radius: 50%; background: var(--amber-50);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cc7918' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E");
background-size: 11px; background-repeat: no-repeat; background-position: center;
}
/* ===== QUOTES ===== */
.quotes { background: linear-gradient(180deg, var(--bg), var(--surface)); border-top: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote {
background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
padding: 26px 24px; box-shadow: var(--sh-sm);
}
.quote blockquote { font-size: 1.04rem; color: var(--ink); line-height: 1.55; }
.quote figcaption { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 0.88rem; font-weight: 600; color: var(--ink-2); }
.quote .ava { width: 38px; height: 38px; margin: 0; border-color: var(--surface); }
/* ===== CTA BAND ===== */
.cta-band { padding: 0 0 76px; }
.cta-inner {
background: linear-gradient(135deg, #f5b968, var(--amber) 55%, var(--amber-d));
border-radius: var(--r-lg); padding: 44px 48px;
display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
box-shadow: var(--sh-lg); position: relative; overflow: hidden;
}
.cta-inner::after {
content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px;
background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 70%); border-radius: 50%;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: -0.02em; }
.cta-inner p { color: rgba(255, 255, 255, 0.9); margin-top: 8px; }
.cta-inner .btn { position: relative; z-index: 2; min-width: 200px; }
/* ===== FOOTER ===== */
.footer { background: var(--char); color: var(--concrete); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.foot-brand .brand-name { color: #fff; font-size: 1.3rem; }
.foot-brand p { color: rgba(239, 234, 227, 0.6); margin-top: 12px; font-size: 0.9rem; max-width: 30ch; }
.footer h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber); margin-bottom: 14px; }
.footer nav { display: flex; flex-direction: column; gap: 9px; }
.footer nav a { color: rgba(239, 234, 227, 0.7); font-size: 0.92rem; width: fit-content; transition: color 0.18s; }
.footer nav a:hover { color: #fff; }
.news-form { display: flex; gap: 8px; margin-bottom: 8px; }
.news-form input {
flex: 1; font: inherit; padding: 10px 12px; border-radius: var(--r-sm);
border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); color: #fff;
}
.news-form input::placeholder { color: rgba(239, 234, 227, 0.45); }
.news-form input:focus { outline: none; border-color: var(--amber); }
.foot-news small { color: rgba(239, 234, 227, 0.5); font-size: 0.8rem; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; color: rgba(239, 234, 227, 0.5); font-size: 0.85rem; }
.foot-legal a:hover { color: #fff; }
/* ===== LIGHTBOX ===== */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(28, 27, 25, 0.7); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lb-card {
background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
width: min(760px, 94vw); box-shadow: var(--sh-lg); position: relative;
display: grid; grid-template-columns: 1.1fr 0.9fr; animation: pop 0.22s ease;
}
@keyframes pop { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lb-photo { min-height: 300px; }
.lb-meta { padding: 30px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.lb-meta h3 { font-size: 1.45rem; color: var(--char); letter-spacing: -0.02em; }
.lb-meta p { color: var(--ink-2); }
.lb-meta .btn { margin-top: auto; }
.lb-close {
position: absolute; top: 12px; right: 12px; z-index: 4; width: 36px; height: 36px;
border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--char);
font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: var(--sh-sm);
}
.lb-close:hover { background: #fff; transform: rotate(90deg); transition: transform 0.2s; }
/* ===== TOAST ===== */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
background: var(--char); color: var(--concrete); padding: 13px 20px; border-radius: 999px;
box-shadow: var(--sh-lg); font-size: 0.92rem; font-weight: 500; display: flex; align-items: center; gap: 10px;
animation: toastIn 0.3s cubic-bezier(0.2, 0.8, 0.3, 1); border: 1px solid rgba(255, 255, 255, 0.1);
}
.toast.out { animation: toastOut 0.3s forwards; }
.toast .tdot { width: 8px; height: 8px; border-radius: 50%; background: var(--free); }
@keyframes toastIn { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes toastOut { to { transform: translateY(16px); opacity: 0; } }
/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
.reveal { opacity: 1; transform: none; transition: none; }
html { scroll-behavior: auto; }
.badge-dot.free { animation: none; }
}
/* ===== RESPONSIVE ===== */
@media (max-width: 940px) {
.nav-links, .nav-cta { display: none; }
.hamburger { display: flex; }
.hero-grid { grid-template-columns: 1fr; gap: 40px; }
.hero-media { height: 360px; }
.community-grid { grid-template-columns: 1fr; gap: 32px; }
.benefit-grid, .gallery, .price-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
.footer-grid { grid-template-columns: 1fr 1fr; }
.lb-card { grid-template-columns: 1fr; }
.lb-photo { min-height: 200px; }
}
@media (max-width: 520px) {
.hero { padding: 36px 0 44px; }
.section { padding: 56px 0; }
.benefit-grid, .gallery, .price-grid, .quote-grid, .footer-grid { grid-template-columns: 1fr; }
.hero-media { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
.photo { min-height: 130px; }
.photo-tall { grid-row: auto; }
.hero-badge { position: static; margin-top: 4px; }
.hero-stats { gap: 20px; }
.cta-inner { padding: 30px 26px; }
.cta-inner .btn { width: 100%; }
.event { grid-template-columns: auto 1fr; }
.event .chip { grid-column: 2; justify-self: start; }
.foot-base { flex-direction: column; gap: 8px; }
}// Foundry Works — coworking landing interactions (vanilla JS)
(function () {
"use strict";
/* ---------- toast helper ---------- */
const toastWrap = document.getElementById("toastWrap");
function toast(msg, kind) {
const el = document.createElement("div");
el.className = "toast";
const dot = document.createElement("span");
dot.className = "tdot";
if (kind === "warn") dot.style.background = "var(--warn)";
if (kind === "err") dot.style.background = "var(--danger)";
el.append(dot, document.createTextNode(msg));
toastWrap.appendChild(el);
setTimeout(() => {
el.classList.add("out");
el.addEventListener("animationend", () => el.remove(), { once: true });
}, 3200);
}
/* ---------- mobile nav ---------- */
const hamburger = document.getElementById("hamburger");
const mobileNav = document.getElementById("mobileNav");
function closeNav() {
hamburger.setAttribute("aria-expanded", "false");
mobileNav.hidden = true;
}
hamburger.addEventListener("click", () => {
const open = hamburger.getAttribute("aria-expanded") === "true";
hamburger.setAttribute("aria-expanded", String(!open));
mobileNav.hidden = open;
});
mobileNav.querySelectorAll("a").forEach((a) => a.addEventListener("click", closeNav));
document.addEventListener("keydown", (e) => {
if (e.key === "Escape") closeNav();
});
/* ---------- tour form ---------- */
const form = document.getElementById("tourForm");
const note = document.getElementById("formNote");
const dateInput = document.getElementById("tDate");
// default the date to tomorrow, min = today
const today = new Date();
const iso = (d) => d.toISOString().slice(0, 10);
dateInput.min = iso(today);
const tomorrow = new Date(today.getTime() + 86400000);
dateInput.value = iso(tomorrow);
function setError(input, on) {
input.classList.toggle("invalid", on);
input.setAttribute("aria-invalid", on ? "true" : "false");
}
form.addEventListener("submit", (e) => {
e.preventDefault();
const name = form.name;
const email = form.email;
let ok = true;
if (!name.value.trim()) { setError(name, true); ok = false; } else setError(name, false);
const emailOk = /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email.value.trim());
if (!emailOk) { setError(email, true); ok = false; } else setError(email, false);
if (!dateInput.value) { setError(dateInput, true); ok = false; } else setError(dateInput, false);
if (!ok) {
note.textContent = "Please check the highlighted fields.";
note.className = "form-note err";
return;
}
const when = new Date(dateInput.value + "T00:00:00").toLocaleDateString(undefined, {
weekday: "long", month: "long", day: "numeric",
});
const first = name.value.trim().split(/\s+/)[0];
note.textContent = "Tour booked — see you " + when + "!";
note.className = "form-note ok";
toast("Thanks " + first + "! We'll confirm your tour by email.");
form.reset();
dateInput.min = iso(today);
dateInput.value = iso(tomorrow);
});
// clear error styling as the member types
form.querySelectorAll("input").forEach((inp) =>
inp.addEventListener("input", () => setError(inp, false))
);
/* ---------- newsletter ---------- */
const newsForm = document.getElementById("newsForm");
const newsNote = document.getElementById("newsNote");
newsForm.addEventListener("submit", (e) => {
e.preventDefault();
const input = document.getElementById("news");
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(input.value.trim())) {
newsNote.textContent = "Enter a valid email to subscribe.";
newsNote.style.color = "var(--danger)";
input.focus();
return;
}
newsNote.textContent = "You're on the list. Welcome!";
newsNote.style.color = "var(--ok)";
toast("Subscribed to the Foundry monthly note.");
newsForm.reset();
});
/* ---------- gallery lightbox ---------- */
const lightbox = document.getElementById("lightbox");
const lbPhoto = document.getElementById("lbPhoto");
const lbTitle = document.getElementById("lbTitle");
const lbDesc = document.getElementById("lbDesc");
const lbClose = document.getElementById("lbClose");
let lastFocused = null;
function openLightbox(card) {
lastFocused = card;
lbTitle.textContent = card.dataset.title;
lbDesc.textContent = card.dataset.desc;
// mirror the card's gradient class onto the lightbox photo
lbPhoto.className = "lb-photo";
card.classList.forEach((c) => { if (c.startsWith("ph-")) lbPhoto.classList.add(c); });
lightbox.hidden = false;
document.body.style.overflow = "hidden";
lbClose.focus();
}
function closeLightbox() {
lightbox.hidden = true;
document.body.style.overflow = "";
if (lastFocused) lastFocused.focus();
}
document.querySelectorAll(".gcard").forEach((card) =>
card.addEventListener("click", () => openLightbox(card))
);
lbClose.addEventListener("click", closeLightbox);
lightbox.addEventListener("click", (e) => { if (e.target === lightbox) closeLightbox(); });
document.addEventListener("keydown", (e) => {
if (e.key === "Escape" && !lightbox.hidden) closeLightbox();
});
/* ---------- scroll reveal ---------- */
const reveals = document.querySelectorAll(".reveal");
if ("IntersectionObserver" in window) {
const io = new IntersectionObserver(
(entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
entry.target.classList.add("in");
io.unobserve(entry.target);
}
});
},
{ threshold: 0.12, rootMargin: "0px 0px -40px 0px" }
);
reveals.forEach((el) => io.observe(el));
} else {
reveals.forEach((el) => el.classList.add("in"));
}
/* ---------- live "desks free" ticker on the hero badge ---------- */
const badge = document.querySelector(".hero-badge strong");
const badgeTime = document.querySelector(".hero-badge small");
if (badge) {
let free = 18;
setInterval(() => {
free += Math.random() > 0.5 ? 1 : -1;
free = Math.max(11, Math.min(24, free));
badge.textContent = free + " desks free";
badgeTime.textContent = "updated just now";
}, 5000);
}
})();<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Foundry Works — Coworking & Studio Space</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<a class="skip" href="#main">Skip to content</a>
<!-- ===== NAV ===== -->
<header class="nav" id="top">
<div class="wrap nav-inner">
<a class="brand" href="#top" aria-label="Foundry Works home">
<span class="brand-mark" aria-hidden="true"></span>
<span class="brand-name">Foundry<span class="brand-amber">Works</span></span>
</a>
<nav class="nav-links" aria-label="Primary">
<a href="#spaces">Spaces</a>
<a href="#benefits">Membership</a>
<a href="#community">Community</a>
<a href="#pricing">Pricing</a>
</nav>
<div class="nav-cta">
<a class="btn btn-ghost" href="#community">Sign in</a>
<a class="btn btn-amber" href="#tour">Book a tour</a>
</div>
<button class="hamburger" id="hamburger" aria-label="Open menu" aria-expanded="false" aria-controls="mobileNav">
<span></span><span></span><span></span>
</button>
</div>
<!-- Mobile nav -->
<div class="mobile-nav" id="mobileNav" hidden>
<a href="#spaces">Spaces</a>
<a href="#benefits">Membership</a>
<a href="#community">Community</a>
<a href="#pricing">Pricing</a>
<a class="btn btn-amber full" href="#tour">Book a tour</a>
</div>
</header>
<main id="main">
<!-- ===== HERO ===== -->
<section class="hero" id="tour">
<div class="wrap hero-grid">
<div class="hero-copy reveal">
<span class="eyebrow"><span class="dot"></span> Now open in the Warehouse District</span>
<h1>A warm place to do your best work.</h1>
<p class="lead">
Foundry Works is a community-run coworking studio set in a restored 1920s metal foundry —
concrete floors, big windows, leafy corners, and desks that feel like home.
</p>
<form class="tour-form" id="tourForm" novalidate>
<div class="field">
<label for="tName">Your name</label>
<input id="tName" name="name" type="text" placeholder="Maya Okafor" autocomplete="name" required />
</div>
<div class="field">
<label for="tEmail">Email</label>
<input id="tEmail" name="email" type="email" placeholder="maya@studio.com" autocomplete="email" required />
</div>
<div class="field">
<label for="tDate">Preferred day</label>
<input id="tDate" name="date" type="date" required />
</div>
<button class="btn btn-amber full" type="submit">Book my tour →</button>
<p class="form-note" id="formNote" role="status" aria-live="polite">Free 20-minute walkthrough. No commitment.</p>
</form>
<ul class="hero-stats">
<li><strong>240+</strong><span>members</span></li>
<li><strong>6</strong><span>studio floors</span></li>
<li><strong>24/7</strong><span>keycard access</span></li>
</ul>
</div>
<div class="hero-media reveal" aria-hidden="true">
<figure class="photo photo-tall ph-amber">
<span class="photo-tag">Main hall</span>
</figure>
<figure class="photo ph-plant">
<span class="photo-tag">Green nook</span>
</figure>
<figure class="photo ph-char">
<span class="photo-tag">Focus pods</span>
</figure>
<div class="hero-badge">
<span class="badge-dot free"></span>
<div>
<strong>18 desks free</strong>
<small>updated just now</small>
</div>
</div>
</div>
</div>
</section>
<!-- ===== LOGOS / TRUST ===== -->
<section class="trust">
<div class="wrap">
<p class="trust-label">Home base for teams from</p>
<ul class="trust-logos">
<li>Northwind Studio</li>
<li>Cedar & Co.</li>
<li>Loom Labs</li>
<li>Pivot Type</li>
<li>Brightline</li>
<li>Marrow Design</li>
</ul>
</div>
</section>
<!-- ===== BENEFITS ===== -->
<section class="section benefits" id="benefits">
<div class="wrap">
<header class="sec-head reveal">
<span class="kicker">Membership</span>
<h2>Everything you need to show up and focus.</h2>
<p>One flat membership covers the desk, the coffee, the meeting rooms, and the people.</p>
</header>
<div class="benefit-grid">
<article class="benefit reveal">
<span class="bicon ic-wifi" aria-hidden="true"></span>
<h3>Gigabit fibre</h3>
<p>Symmetric 1 Gbps with a backup line and a private VLAN for every team.</p>
</article>
<article class="benefit reveal">
<span class="bicon ic-cup" aria-hidden="true"></span>
<h3>Bottomless coffee</h3>
<p>Single-origin beans, oat milk on tap, and a barista on Thursdays.</p>
</article>
<article class="benefit reveal">
<span class="bicon ic-door" aria-hidden="true"></span>
<h3>24/7 access</h3>
<p>QR + keycard entry, lockers, and a friendly front desk 8am–8pm.</p>
</article>
<article class="benefit reveal">
<span class="bicon ic-room" aria-hidden="true"></span>
<h3>Meeting rooms</h3>
<p>Six bookable rooms with screens, credits included in every plan.</p>
</article>
<article class="benefit reveal">
<span class="bicon ic-plant" aria-hidden="true"></span>
<h3>Plant-filled floors</h3>
<p>Sixty-plus plants, north light, and quiet corners to think in.</p>
</article>
<article class="benefit reveal">
<span class="bicon ic-people" aria-hidden="true"></span>
<h3>Real community</h3>
<p>Weekly lunches, lightning talks, and a members directory worth browsing.</p>
</article>
</div>
</div>
</section>
<!-- ===== SPACES / GALLERY ===== -->
<section class="section spaces" id="spaces">
<div class="wrap">
<header class="sec-head reveal">
<span class="kicker">The space</span>
<h2>Six floors, one feeling.</h2>
<p>Tap a space to take a closer look at where you could land.</p>
</header>
<div class="gallery reveal" id="gallery">
<button class="gcard ph-amber" data-title="The Main Hall" data-desc="Open-plan hot desks under twelve-foot windows — the social heart of Foundry." aria-label="View The Main Hall">
<span class="gcard-meta"><strong>The Main Hall</strong><small>Hot desks · 60 seats</small></span>
<span class="chip free">12 free</span>
</button>
<button class="gcard ph-plant" data-title="Green Nook" data-desc="A quiet, plant-walled lounge for calls, reading, and slow mornings." aria-label="View Green Nook">
<span class="gcard-meta"><strong>Green Nook</strong><small>Lounge · quiet zone</small></span>
<span class="chip reserved">2 reserved</span>
</button>
<button class="gcard ph-char" data-title="Focus Pods" data-desc="Soundproofed solo pods for deep work and head-down sprints." aria-label="View Focus Pods">
<span class="gcard-meta"><strong>Focus Pods</strong><small>Solo · 8 pods</small></span>
<span class="chip occupied">Full</span>
</button>
<button class="gcard ph-amber2" data-title="The Foundry Room" data-desc="Our flagship meeting room — seats ten, screen, whiteboard wall." aria-label="View The Foundry Room">
<span class="gcard-meta"><strong>The Foundry Room</strong><small>Meeting · 10 seats</small></span>
<span class="chip free">Free 2pm</span>
</button>
<button class="gcard ph-plant2" data-title="Roof Garden" data-desc="Open-air deck with shaded tables and a view over the district." aria-label="View Roof Garden">
<span class="gcard-meta"><strong>Roof Garden</strong><small>Outdoor · seasonal</small></span>
<span class="chip free">Open</span>
</button>
<button class="gcard ph-ink" data-title="Studio 6" data-desc="Private team studio with lockable storage and your own door." aria-label="View Studio 6">
<span class="gcard-meta"><strong>Studio 6</strong><small>Private · 6 desks</small></span>
<span class="chip reserved">1 left</span>
</button>
</div>
</div>
</section>
<!-- ===== COMMUNITY / EVENTS ===== -->
<section class="section community" id="community">
<div class="wrap community-grid">
<div class="reveal">
<span class="kicker">Community</span>
<h2>The best part isn't the desk.</h2>
<p class="muted">
Foundry runs on its members. Every week there's something to learn, a lunch to share,
and a handful of new faces to meet.
</p>
<ul class="member-row" aria-label="A few of our members">
<li class="ava a1" title="Maya Okafor">MO</li>
<li class="ava a2" title="Theo Brandt">TB</li>
<li class="ava a3" title="Priya Nair">PN</li>
<li class="ava a4" title="Lena Soto">LS</li>
<li class="ava a5" title="Idris Khan">IK</li>
<li class="ava more">+235</li>
</ul>
</div>
<ul class="events reveal" aria-label="Upcoming events">
<li class="event">
<span class="ev-date"><strong>18</strong><small>JUN</small></span>
<div class="ev-body">
<h3>Members Lunch — Tacos & talk</h3>
<p>Long-table lunch on the roof. Bring a project, leave with a collaborator.</p>
</div>
<span class="chip free">Open</span>
</li>
<li class="event">
<span class="ev-date"><strong>22</strong><small>JUN</small></span>
<div class="ev-body">
<h3>Lightning Talks: Side Projects</h3>
<p>Five members, five minutes each. Show the thing you built at midnight.</p>
</div>
<span class="chip reserved">RSVP</span>
</li>
<li class="event">
<span class="ev-date"><strong>27</strong><small>JUN</small></span>
<div class="ev-body">
<h3>Foundry Friday — Vinyl & drinks</h3>
<p>Wind-down session in the Main Hall with a guest DJ from the neighbourhood.</p>
</div>
<span class="chip free">Open</span>
</li>
</ul>
</div>
</section>
<!-- ===== PRICING TEASER ===== -->
<section class="section pricing" id="pricing">
<div class="wrap">
<header class="sec-head reveal">
<span class="kicker">Pricing</span>
<h2>Simple plans. Cancel anytime.</h2>
<p>Every plan includes coffee, fibre, and meeting-room credits.</p>
</header>
<div class="price-grid">
<article class="plan reveal">
<h3>Day Pass</h3>
<p class="price"><span>$</span>29<small>/ day</small></p>
<ul>
<li>Any open hot desk</li>
<li>Coffee & fast wifi</li>
<li>2 meeting-room credits</li>
</ul>
<a class="btn btn-ghost full" href="#tour">Try a day</a>
</article>
<article class="plan featured reveal">
<span class="plan-flag">Most popular</span>
<h3>Resident</h3>
<p class="price"><span>$</span>320<small>/ mo</small></p>
<ul>
<li>Dedicated desk & locker</li>
<li>24/7 keycard access</li>
<li>10 meeting-room credits</li>
<li>All member events</li>
</ul>
<a class="btn btn-amber full" href="#tour">Book a tour</a>
</article>
<article class="plan reveal">
<h3>Studio</h3>
<p class="price"><span>$</span>1,450<small>/ mo</small></p>
<ul>
<li>Private lockable room</li>
<li>Up to 6 team desks</li>
<li>Unlimited room credits</li>
</ul>
<a class="btn btn-ghost full" href="#tour">Talk to us</a>
</article>
</div>
</div>
</section>
<!-- ===== TESTIMONIALS ===== -->
<section class="section quotes">
<div class="wrap">
<header class="sec-head reveal">
<span class="kicker">Members</span>
<h2>What it feels like to work here.</h2>
</header>
<div class="quote-grid">
<figure class="quote reveal">
<blockquote>“I came for the fibre and stayed for the people. My best clients all came from a Friday lunch.”</blockquote>
<figcaption><span class="ava a1">MO</span> Maya Okafor · Brand designer</figcaption>
</figure>
<figure class="quote reveal">
<blockquote>“The focus pods saved my deadlines. Quietest hour of my whole week, every day.”</blockquote>
<figcaption><span class="ava a3">PN</span> Priya Nair · Indie dev</figcaption>
</figure>
<figure class="quote reveal">
<blockquote>“We moved our six-person studio into a Foundry room. Cheaper than an office, ten times warmer.”</blockquote>
<figcaption><span class="ava a2">TB</span> Theo Brandt · Studio lead</figcaption>
</figure>
</div>
</div>
</section>
<!-- ===== CTA BAND ===== -->
<section class="cta-band">
<div class="wrap cta-inner reveal">
<div>
<h2>Come see the light.</h2>
<p>Book a free 20-minute walkthrough — we'll have the coffee ready.</p>
</div>
<a class="btn btn-char full" href="#tour">Book a tour →</a>
</div>
</section>
</main>
<!-- ===== FOOTER ===== -->
<footer class="footer">
<div class="wrap footer-grid">
<div class="foot-brand">
<span class="brand-name">Foundry<span class="brand-amber">Works</span></span>
<p>14 Anvil Lane, Warehouse District. Open 8am–8pm, members 24/7.</p>
</div>
<nav aria-label="Spaces">
<h4>Spaces</h4>
<a href="#spaces">Hot desks</a>
<a href="#spaces">Focus pods</a>
<a href="#spaces">Private studios</a>
<a href="#spaces">Meeting rooms</a>
</nav>
<nav aria-label="Foundry">
<h4>Foundry</h4>
<a href="#community">Community</a>
<a href="#pricing">Pricing</a>
<a href="#tour">Book a tour</a>
<a href="#benefits">Membership</a>
</nav>
<div class="foot-news">
<h4>Stay in the loop</h4>
<form class="news-form" id="newsForm" novalidate>
<label class="sr-only" for="news">Email address</label>
<input id="news" type="email" placeholder="you@studio.com" required />
<button class="btn btn-amber" type="submit">Join</button>
</form>
<small id="newsNote">One short note a month. No spam.</small>
</div>
</div>
<div class="wrap foot-base">
<span>© 2026 Foundry Works — a fictional coworking studio.</span>
<span class="foot-legal"><a href="#top">Privacy</a> · <a href="#top">Terms</a></span>
</div>
</footer>
<!-- ===== LIGHTBOX ===== -->
<div class="lightbox" id="lightbox" hidden role="dialog" aria-modal="true" aria-labelledby="lbTitle">
<div class="lb-card">
<button class="lb-close" id="lbClose" aria-label="Close">×</button>
<div class="lb-photo" id="lbPhoto"></div>
<div class="lb-meta">
<h3 id="lbTitle">Space</h3>
<p id="lbDesc">Description</p>
<a class="btn btn-amber" href="#tour" id="lbBook">Book a tour of this space →</a>
</div>
</div>
</div>
<div class="toast-wrap" id="toastWrap" aria-live="polite" aria-atomic="true"></div>
<script src="script.js"></script>
</body>
</html>Coworking Landing
A full marketing landing page for Foundry Works, a fictional community-run coworking studio in a restored 1920s metal foundry. The warm-industrial design system pairs concrete tones, an amber accent, and a plant-green secondary with Inter type and soft shadows. The page runs top to bottom: sticky nav, a split hero, a trust strip, membership benefits, a spaces gallery, a dark community/events band, a pricing teaser, testimonials, a CTA band, and a footer.
Interactions are all vanilla JS. The hero carries a real book-a-tour form with inline email/date validation, a sensible default date (tomorrow, never in the past), success messaging, and a toast on submit. The spaces gallery is keyboard-usable buttons that open a lightbox mirroring each space’s gradient, occupancy chip, and copy — closable by button, backdrop, or Escape, with focus returned to the trigger. A hamburger drives the mobile nav, an IntersectionObserver reveals sections on scroll (respecting reduced-motion), the footer newsletter validates and toasts, and a small ticker keeps the hero’s “desks free” badge feeling live.
Everything is responsive down to ~360px, with WCAG AA contrast, visible focus rings, aria labels on interactive regions, and graceful fallbacks when IntersectionObserver is unavailable.
Illustrative UI only — fictional coworking space, not a real booking system.