:root {
	--ink: #1e3350;
	--muted: #536174;
	--paper: #fdfcf9;
	--frostly-turquoise: #84d7d0;
	--accent: var(--frostly-turquoise);
	--deep: #173151;
	--link: #1d4ed8;
	--border: #d3dce8;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	min-height: 100vh;
	background:
		radial-gradient(circle at 12% 0%, rgba(132, 215, 208, 0.22), transparent 42%),
		linear-gradient(180deg, #fdfcf9, #fdfcf9 48%, #fdfcf9);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.nav,
.page {
	width: min(1080px, calc(100% - 2rem));
	margin: 0 auto;
}

.nav {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 0 0.5rem;
}

.nav__mark {
	margin: 0;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.nav__note {
	margin: 0;
	color: var(--muted);
	font-size: 0.85rem;
}

.page {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
	gap: 2rem;
	align-items: center;
	padding: 2rem 0 3rem;
}

h1 {
	margin: 0.35rem 0 0.85rem;
	font-size: clamp(2rem, 5vw, 3.2rem);
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.eyebrow {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #1d4ed8;
}

.lede {
	margin: 0 0 1.25rem;
	max-width: 36rem;
	color: var(--muted);
	line-height: 1.55;
}

.picks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.picks button {
	min-height: 2.5rem;
	padding: 0 0.9rem;
	border: 1px solid #d3dce8;
	border-radius: 999px;
	background: white;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.picks button.is-on {
	background: var(--deep);
	color: white;
	border-color: var(--deep);
}

.status {
	margin: 1rem 0 0;
	min-height: 1.4rem;
	color: var(--muted);
	font-size: 0.9rem;
}

.status.is-error { color: #a42f48; }

.cake {
	display: block;
	width: min(100%, 22rem);
	aspect-ratio: 1;
	height: auto;
	border: 1px solid #d3dce8;
	border-radius: 1.5rem;
	background: #f7f4ed;
}

.caption {
	margin: 0.65rem 0 0;
	color: var(--muted);
	font-size: 0.82rem;
}

@media (max-width: 840px) {
	.page { grid-template-columns: 1fr; }
	.cake { width: 100%; }
}

.nav__links {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.nav__links a {
	color: var(--muted);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 700;
}

.nav__links a[aria-current="page"],
.nav__links a:hover {
	color: var(--ink);
}

.office {
	width: min(1080px, calc(100% - 2rem));
	margin: 0 auto;
	padding: 2rem 0 3rem;
}

.office-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.office-card {
	padding: 1.1rem 1.2rem;
	border: 1px solid #d3dce8;
	border-radius: 1.1rem;
	background: white;
}

.office-card h2 {
	margin: 0 0 0.6rem;
	font-size: 1rem;
}

.office-card p {
	margin: 0.35rem 0;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

.office-card code {
	font-size: 0.82rem;
}

.office-card--wide {
	grid-column: 1 / -1;
}

.office-table-wrap {
	overflow: auto;
	margin-top: 0.75rem;
}

.office-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
}

.office-table th,
.office-table td {
	text-align: left;
	padding: 0.4rem 0.5rem;
	border-bottom: 1px solid #dcebe5;
	vertical-align: top;
}

.office-table th {
	color: var(--ink);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.price-edit {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	color: var(--muted);
}

.price-edit input {
	width: 6.5rem;
	padding: 0.3rem 0.45rem;
	border: 1px solid #d3dce8;
	border-radius: 0.45rem;
	font: inherit;
}

:is(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--link); outline-offset: 4px; }
.picks button:hover { border-color: var(--link); background: #fdfcf9; }
.picks button.is-on:hover { background: #164e53; color: #fff; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--link); }
.price-edit input { background: #fdfcf9; color: var(--ink); }
.office-table tbody tr:hover { background: #fdfcf9; }

/* Keyboard, reflow, target size and motion support. */
.skip-link { position:absolute; left:1rem; top:-8rem; z-index:100; padding:1rem; background:#fdfcf9; color:#1e3350; }
.skip-link:focus { top:1rem; }
:is(a,button,input,select,textarea,summary,[tabindex]):focus-visible { outline:3px solid #1d4ed8; outline-offset:3px; scroll-margin-block:5rem; }
button, summary { min-height:44px; }
input:not([type=checkbox]):not([type=radio]), select, textarea { border-color:#7a8798; }
nav a { display:inline-flex; align-items:center; min-height:44px; }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
@media(forced-colors:active) { :is(button,input,select,textarea) { border:1px solid ButtonText!important; } :focus-visible { outline:3px solid Highlight!important; } }

.nav { flex-wrap:wrap; } .nav__links { flex-wrap:wrap; } .office-grid { min-width:0; } .office-table-wrap { max-width:100%; }


body,.cake { background:var(--paper); }


/* Keep dropdown text clear of a consistently inset chevron. */
select:not([multiple]):not([size]) {
  appearance:none;
  -webkit-appearance:none;
  padding-inline-end:3rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%231e3350' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 1rem center;
  background-size:1rem 1rem;
}
@media(forced-colors:active) {
  select:not([multiple]):not([size]) { appearance:auto; -webkit-appearance:auto; background-image:none; padding-inline-end:1rem; }
}

body { background:var(--paper); }
