/*
Theme Name: Mobius
Theme URI: https://mobius-create.com
Description: The bespoke public theme for Mobius Studio.
Version: 0.1.0
Text Domain: mobius
*/

:root {
	--paper: #e9e6df;
	--ink: #171715;
	--muted: #66655f;
	--line: rgba(23, 23, 21, .18);
	--night: #121310;
	--lime: #c7dc59;
	--shell: min(1320px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.site-header { position: absolute; z-index: 3; inset: 0 0 auto; padding: 23px 0; color: #fff; }
.header-inner { width: var(--shell); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 15px; font-weight: 700; letter-spacing: .16em; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); list-style: none; padding: 0; margin: 0; }
.primary-nav a { font-size: 11px; letter-spacing: .11em; text-transform: uppercase; opacity: .92; }
.primary-nav a:hover, .primary-nav a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

.hero { min-height: min(760px, 100svh); position: relative; display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--night); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 65% 83% at 68% 40%, rgba(202, 224, 130, .29), transparent 60%), linear-gradient(119deg, #10110d 3%, #303624 45%, #9aaf63 100%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .62; background: linear-gradient(90deg, rgba(0,0,0,.58), transparent 60%), linear-gradient(0deg, rgba(0,0,0,.52), transparent 44%); }
.hero-grid { position: absolute; inset: -14%; z-index: 1; transform: rotate(-9deg); opacity: .36; background-image: linear-gradient(rgba(255,255,255,.24) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.24) 1px, transparent 1px); background-size: 84px 84px; mask-image: linear-gradient(90deg, #000, transparent 82%); }
.hero-mass { position: absolute; z-index: 1; right: -4vw; bottom: -13vh; width: min(70vw, 1050px); height: min(73vw, 1020px); border: 1px solid rgba(255,255,255,.36); border-radius: 49% 51% 0 0; box-shadow: inset 0 0 0 34px rgba(18,19,16,.13), inset 0 0 0 35px rgba(255,255,255,.2); transform: skewY(-5deg); }
.hero-inner { position: relative; z-index: 2; width: var(--shell); margin: 0 auto; padding: 170px 0 64px; }
.hero-kicker { margin: 0 0 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.hero-title { max-width: 820px; margin: 0; font-size: clamp(42px, 7.5vw, 112px); line-height: .91; letter-spacing: -.065em; font-weight: 500; }
.hero-caption { max-width: 390px; margin: 27px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.85); }
.hero-state { position: absolute; right: 0; bottom: 66px; display: flex; align-items: center; gap: 9px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.hero-state i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

.identity { width: var(--shell); margin: 0 auto; padding: 26px 0 70px; display: grid; grid-template-columns: 1fr minmax(240px, 510px); gap: 30px; border-bottom: 1px solid var(--line); }
.identity p { margin: 0; }
.identity-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.identity-copy { font-size: clamp(21px, 2.4vw, 34px); line-height: 1.14; letter-spacing: -.04em; }

.section { width: var(--shell); margin: 0 auto; padding: clamp(76px, 11vw, 166px) 0; }
.section-label { margin: 0 0 18px; font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.featured { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); gap: clamp(28px, 6vw, 100px); align-items: end; }
.featured-visual { min-height: 440px; position: relative; overflow: hidden; background: linear-gradient(145deg, #a5aa83, #535642 49%, #23251d); }
.featured-visual::before { content: ""; position: absolute; width: 115%; height: 76%; left: -12%; bottom: -20%; border: 1px solid rgba(255,255,255,.7); border-radius: 50% 50% 0 0; transform: rotate(-9deg); }
.featured-visual::after { content: "Kaew Boutique"; position: absolute; left: 23px; bottom: 19px; color: #fff; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.featured h2 { margin: 0; font-size: clamp(36px, 5vw, 74px); line-height: .94; letter-spacing: -.06em; font-weight: 500; }
.featured p { max-width: 440px; margin: 24px 0; font-size: 18px; line-height: 1.42; }
.text-link { display: inline-flex; gap: 10px; align-items: center; padding-bottom: 4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; }

.award { width: var(--shell); margin: 0 auto; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: clamp(16px, 2vw, 25px); letter-spacing: -.03em; }
.award span { color: var(--muted); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; margin-right: 22px; }

.projects { background: var(--night); color: #f1efe8; }
.projects .section { padding-bottom: 0; }
.projects .section-label { color: rgba(241,239,232,.6); }
.project-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.22); }
.project-row { display: grid; grid-template-columns: 55px minmax(0,1fr) auto; gap: 18px; align-items: baseline; min-height: 112px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.project-row-number, .project-row-meta { font-size: 11px; letter-spacing: .11em; color: rgba(241,239,232,.6); text-transform: uppercase; }
.project-row-title { font-size: clamp(27px, 4.1vw, 62px); line-height: .95; letter-spacing: -.055em; }
.project-row:hover .project-row-title { color: var(--lime); }
.project-empty { padding: 36px 0 90px; color: rgba(241,239,232,.72); }
.project-rail-note { margin: 0; padding: 18px 0 32px; font-size: 12px; color: rgba(241,239,232,.6); }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; }
.contact h2 { margin: 0; max-width: 620px; font-size: clamp(42px, 6vw, 91px); font-weight: 500; letter-spacing: -.065em; line-height: .9; }
.contact p { margin: 0; max-width: 380px; font-size: 17px; }
.site-footer { width: var(--shell); margin: 0 auto; padding: 28px 0; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 700px) {
	:root { --shell: min(100% - 32px, 1320px); }
	.site-header { padding-top: 18px; }
	.primary-nav { display: none; }
	.hero { min-height: 680px; }
	.hero-inner { padding-bottom: 43px; }
	.hero-title { font-size: clamp(52px, 15vw, 76px); }
	.hero-state { bottom: 44px; }
	.hero-mass { width: 125vw; height: 102vw; right: -41vw; bottom: -1vh; }
	.identity, .featured, .contact { grid-template-columns: 1fr; }
	.identity { padding-bottom: 50px; }
	.featured-visual { min-height: 360px; }
	.project-row { grid-template-columns: 35px minmax(0,1fr); min-height: 95px; }
	.project-row-meta { grid-column: 2; }
	.site-footer { display: block; }
	.site-footer span + span { display: block; margin-top: 7px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
