/* =========================================================================
   LAYOUT — the page shell: grain, curtain, header, menus, sections, footer
   ====================================================================== */

/* -------------------------------------------------------------------------
   Film grain
   A fixed SVG noise plate at 5% over the whole viewport. It is the single
   element most responsible for the "shot on film" feel, so it is preserved
   exactly, including the stepped animation.
   ---------------------------------------------------------------------- */

.sk-grain {
	position: fixed;
	inset: -60px;
	z-index: 60;
	pointer-events: none;
	opacity: .05;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
	animation: sk-grain 7s steps(5) infinite;
}

/* -------------------------------------------------------------------------
   Intro curtain
   ---------------------------------------------------------------------- */

.sk-curtain {
	position: fixed;
	inset: 0;
	z-index: 120;
	background: var(--sk-black);
	display: grid;
	place-items: center;
	transition: opacity .7s ease;
}

.sk-curtain.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.sk-curtain__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
}

.sk-curtain__mark {
	width: 74px;
	height: 74px;
	border: 1px solid rgba(200, 164, 92, .4);
	display: grid;
	place-items: center;
	animation: sk-fade-in .8s ease both;
}

.sk-curtain__mark span {
	font-family: var(--sk-serif);
	font-size: 30px;
	letter-spacing: .04em;
	color: var(--sk-gold);
}

.sk-curtain__name {
	font-size: 11px;
	letter-spacing: .52em;
	color: var(--sk-dim-60);
	animation: sk-fade-in 1s ease .25s both;
}

.sk-curtain__track {
	width: 180px;
	height: 1px;
	background: var(--sk-line-4);
	overflow: hidden;
}

.sk-curtain__bar {
	height: 1px;
	background: var(--sk-gold);
	transform-origin: left;
	animation: sk-grow-x 1.7s var(--sk-ease) both;
}

/* -------------------------------------------------------------------------
   Header
   ---------------------------------------------------------------------- */

.sk-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: var(--sk-black-glass);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--sk-line);
	transition: background .45s var(--sk-ease), border-color .45s var(--sk-ease);
}

.sk-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-inline: var(--sk-gut-tight);
	height: var(--sk-nav-h);
	transition: height .45s var(--sk-ease);
}

.sk-brand {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex: 0 0 auto;
	color: var(--sk-white);
}

.sk-brand:hover {
	color: var(--sk-white);
}

.sk-brand__mark {
	font-family: var(--sk-serif);
	font-size: clamp(15px, 1.5vw, 19px);
	letter-spacing: .2em;
	color: var(--sk-white);
	white-space: nowrap;
}

.sk-brand__logo img {
	max-height: 40px;
	width: auto;
	height: auto;
}

/* Desktop navigation ------------------------------------------------- */

.sk-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(12px, 1.6vw, 26px);
}

.sk-nav__list > li {
	position: relative;
}

.sk-nav__list > li > a {
	position: relative;
	display: block;
	padding: 6px 0;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .19em;
	text-transform: uppercase;
	color: var(--sk-dim-58);
	transition: color .3s ease;
	white-space: nowrap;
}

.sk-nav__list > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--sk-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .4s var(--sk-ease);
}

.sk-nav__list > li > a:hover,
.sk-nav__list > li.current-menu-item > a,
.sk-nav__list > li.current-menu-parent > a,
.sk-nav__list > li.current_page_item > a {
	color: var(--sk-white);
}

.sk-nav__list > li > a:hover::after,
.sk-nav__list > li.current-menu-item > a::after,
.sk-nav__list > li.current-menu-parent > a::after,
.sk-nav__list > li.current_page_item > a::after {
	transform: scaleX(1);
}

/* Sub-menus are not part of the design language; if an editor nests an item
   we show it as a plain dark panel rather than dropping the link entirely. */
.sk-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: var(--sk-elevated);
	border: 1px solid var(--sk-line-4);
	padding: 10px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .3s ease, transform .3s ease, visibility .3s;
}

.sk-nav__list > li:hover .sub-menu,
.sk-nav__list > li:focus-within .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.sk-nav__list .sub-menu a {
	display: block;
	padding: 9px 18px;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sk-dim-60);
}

.sk-nav__list .sub-menu a:hover {
	color: var(--sk-white);
}

/* Header tools -------------------------------------------------------- */

.sk-header__tools {
	display: flex;
	align-items: center;
	gap: clamp(10px, 1.4vw, 18px);
	flex: 0 0 auto;
}

.sk-iconbtn {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border: 1px solid var(--sk-line-5);
	border-radius: 50%;
	color: var(--sk-white);
	transition: border-color .3s ease, color .3s ease;
}

.sk-iconbtn:hover,
.sk-iconbtn:focus-visible {
	border-color: var(--sk-gold);
	color: var(--sk-gold);
}

.sk-burger {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 8px 0 8px 8px;
}

.sk-burger span {
	display: block;
	width: 26px;
	height: 1px;
	background: var(--sk-white);
}

/* -------------------------------------------------------------------------
   Mobile menu
   ---------------------------------------------------------------------- */

.sk-menu {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: var(--sk-black);
	display: flex;
	flex-direction: column;
	animation: sk-fade-in .35s ease both;
}

.sk-menu[hidden] {
	display: none;
}

.sk-menu__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px clamp(20px, 6vw, 48px);
	border-bottom: 1px solid var(--sk-line);
}

.sk-menu__mark {
	font-family: var(--sk-serif);
	font-size: 16px;
	letter-spacing: .2em;
	color: var(--sk-white);
}

.sk-menu__close {
	font-size: 10.5px;
	letter-spacing: .24em;
	color: var(--sk-dim-60);
}

.sk-menu__body {
	flex: 1;
	overflow-y: auto;
	padding: clamp(24px, 7vw, 54px) clamp(20px, 6vw, 48px) 40px;
	display: flex;
	flex-direction: column;
}

.sk-menu__list {
	counter-reset: sk-menu;
	display: flex;
	flex-direction: column;
}

.sk-menu__list > li > a {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 15px 0;
	border-bottom: 1px solid rgba(239, 234, 225, .07);
	font-family: var(--sk-serif);
	font-size: clamp(30px, 9vw, 44px);
	line-height: 1;
	color: var(--sk-dim-58);
	animation: sk-rise .5s var(--sk-ease) both;
}

.sk-menu__list > li > a::before {
	counter-increment: sk-menu;
	content: counter(sk-menu, decimal-leading-zero);
	font-family: var(--sk-sans);
	font-size: 9.5px;
	letter-spacing: .2em;
	color: var(--sk-gold);
	width: 22px;
	flex: 0 0 22px;
}

.sk-menu__list > li.current-menu-item > a,
.sk-menu__list > li > a:hover {
	color: var(--sk-white);
}

/* Stagger, one step per item. Nine steps covers the ten-item design menu. */
.sk-menu__list > li:nth-child(1) > a { animation-delay: 0ms; }
.sk-menu__list > li:nth-child(2) > a { animation-delay: 45ms; }
.sk-menu__list > li:nth-child(3) > a { animation-delay: 90ms; }
.sk-menu__list > li:nth-child(4) > a { animation-delay: 135ms; }
.sk-menu__list > li:nth-child(5) > a { animation-delay: 180ms; }
.sk-menu__list > li:nth-child(6) > a { animation-delay: 225ms; }
.sk-menu__list > li:nth-child(7) > a { animation-delay: 270ms; }
.sk-menu__list > li:nth-child(8) > a { animation-delay: 315ms; }
.sk-menu__list > li:nth-child(9) > a { animation-delay: 360ms; }
.sk-menu__list > li:nth-child(n+10) > a { animation-delay: 405ms; }

.sk-menu__foot {
	margin-top: 34px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sk-menu__socials {
	display: flex;
	gap: 20px;
	padding-top: 10px;
	flex-wrap: wrap;
}

.sk-menu__socials a {
	font-size: 10.5px;
	letter-spacing: .18em;
	color: var(--sk-dim-50);
}

.sk-menu__socials a:hover {
	color: var(--sk-white);
}

/* -------------------------------------------------------------------------
   Main + sections
   ---------------------------------------------------------------------- */

.sk-main {
	padding-top: var(--sk-nav-h);
}

.sk-section {
	padding: var(--sk-section-y) var(--sk-gut);
	border-bottom: 1px solid var(--sk-line);
}

/* Rails bleed to the viewport edge, so their own padding is handled inside. */
.sk-section--flush {
	padding-inline: 0;
}

.sk-section--last {
	border-bottom: 0;
}

.sk-section--paper {
	background: var(--sk-paper);
	color: var(--sk-ink);
	padding-inline: 0;
	border-bottom: 0;
}

.sk-sechead {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: clamp(30px, 4vw, 56px);
}

.sk-sechead__lead .sk-eyebrow {
	margin-bottom: 18px;
}

/* -------------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------- */

.sk-footer {
	border-top: 1px solid var(--sk-line-3);
	background: var(--sk-black-deep);
}

.sk-footer__inner {
	max-width: var(--sk-max);
	margin-inline: auto;
	padding: clamp(48px, 6vw, 100px) var(--sk-gut) 40px;
}

.sk-footer__wordmark-wrap {
	overflow: hidden;
}

.sk-footer__wordmark {
	font-family: var(--sk-serif);
	font-weight: 400;
	font-size: clamp(46px, 13.5vw, 224px);
	line-height: .82;
	letter-spacing: -.03em;
	color: var(--sk-white);
	white-space: nowrap;
}

.sk-footer__cols {
	margin-top: clamp(34px, 4vw, 64px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: clamp(26px, 3vw, 48px);
}

.sk-footer__title {
	font-size: 9.5px;
	letter-spacing: .26em;
	color: var(--sk-gold);
	margin-bottom: 20px;
}

.sk-footer__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sk-footer__list a,
.sk-footer__lines span {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	letter-spacing: .06em;
	color: var(--sk-dim-60);
	transition: color .3s ease;
}

.sk-footer__list a:hover {
	color: var(--sk-white);
}

.sk-footer__list a .sk-arrow {
	color: rgba(200, 164, 92, .9);
	transition: transform .3s ease;
}

.sk-footer__list a:hover .sk-arrow {
	transform: translateX(7px);
}

.sk-footer__lines {
	display: flex;
	flex-direction: column;
	gap: 12px;
	line-height: 1.7;
}

.sk-footer__statement {
	max-width: 34ch;
}

.sk-footer__statement p {
	font-family: var(--sk-serif);
	font-style: italic;
	font-size: clamp(17px, 1.8vw, 22px);
	line-height: 1.35;
	color: var(--sk-dim-75);
	text-wrap: pretty;
}

.sk-footer__base {
	margin-top: clamp(34px, 4vw, 60px);
	padding-top: 24px;
	border-top: 1px solid var(--sk-line-2);
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	align-items: center;
}

.sk-footer__copy,
.sk-footer__legal a,
.sk-footer__legal span {
	font-size: 10.5px;
	letter-spacing: .14em;
	color: var(--sk-dim-58);
}

.sk-footer__legal {
	display: flex;
	gap: 22px;
	align-items: center;
	flex-wrap: wrap;
}

.sk-footer__legal a:hover {
	color: var(--sk-gold);
}
