@charset "utf-8";

/*===========================================================
 HEADER
===========================================================*/
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	padding: 14px clamp(10px, 0.9vw, 16px);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: clamp(10px, 1.5vw, 22px);
	width: 100%;
}
.logo-group {
	display: flex;
	align-items: center;
	gap: clamp(10px, 1.2vw, 18px);
	min-width: 0;
}
.logo-gsc img { height: clamp(36px, 3vw, 52px); width: auto; }
.logo-work { line-height: 0; }
.logo-work img { height: clamp(34px, 2.7vw, 48px); width: auto; }

.header-nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: clamp(8px, 1vw, 16px);
}

/* language switcher pill */
.language {
	display: flex;
	align-items: center;
	gap: 0.55em;
	background: var(--taupe);
	color: var(--white);
	border-radius: 100px;
	height: clamp(38px, 3vw, 50px); /* match share + reserve buttons */
	padding: 0 1.3em;
	font-family: var(--serif-en);
	font-size: clamp(14px, 1.05vw, 18px);
	line-height: 1;
}
.language .lang-label { letter-spacing: 0.02em; }
.language .divider { width: 1px; height: 1.3em; background: rgba(255, 255, 255, 0.6); }
.language a { color: var(--white); padding: 0 0.15em; opacity: 0.85; transition: opacity 0.2s; }
.language a:hover { opacity: 1; }
.language a.active { color: var(--pink); opacity: 1; }
.language .sep { color: rgba(255, 255, 255, 0.5); }

.header-reserve { font-size: clamp(14px, 1.05vw, 18px); white-space: nowrap; height: clamp(38px, 3vw, 50px); padding: 0 1.8em; }

/* share */
.share-btn {
	position: relative;
	width: clamp(38px, 3vw, 50px);
	height: clamp(38px, 3vw, 50px);
	border-radius: 50%;
	background: var(--taupe);
	display: grid;
	place-items: center;
	cursor: pointer;
	flex: none;
}
.share-btn > svg { width: 52%; height: auto; fill: var(--white); }
.share-dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	padding-top: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	pointer-events: none;
}
.share-btn:hover .share-dropdown { pointer-events: auto; }
.share-dropdown a {
	width: 36px;
	height: 36px;
	line-height: 0;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.share-btn:hover .share-dropdown a { opacity: 1; transform: none; }
.share-btn:hover .share-dropdown a:nth-child(2) { transition-delay: 0.05s; }
.share-btn:hover .share-dropdown a:nth-child(3) { transition-delay: 0.1s; }

/* hamburger + mobile menu (hidden on desktop) */
.btn-nav { display: none; }
.menu-sp { display: none; }

/*===========================================================
 HERO
===========================================================*/
#mv {
	position: relative;
	width: 100%;
	min-height: 100vh;
	background: var(--white);
	z-index: 3; /* above the sections below so the figure can overflow on top */
}
/* two-tone background (light-blue band + sakura over white) — static within the hero */
.mv-bg {
	position: absolute;
	inset: -1px 0;
	z-index: 1;
	background: var(--white);
}
/* crisp white divider line between the two tones */
.mv-bg::after {
	content: "";
	position: absolute;
	left: 0; right: 0;
	top: 52%;
	height: 6px;
	background: var(--white);
	z-index: 2;
}
.mv-sky {
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 54%;
	background: var(--sky);
	overflow: hidden;
}
/* faint sakura/cloud wash over the blue band */
.mv-sky::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url(../images/bg_sky.jpg) center top / cover no-repeat;
	mix-blend-mode: color;
	opacity: 0.55;
}
.mv-inner {
	position: relative;
	z-index: 2;
	width: 92%;
	max-width: 1860px;
	margin: 0 auto;
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr minmax(0, 1fr);
	align-items: center;
}
/* decorative english wordmark — sits in FRONT of the hero figure */
.mv-wordmark {
	position: absolute;
	top: clamp(108px, 11.8vw, 216px);
	left: 0;
	font-family: var(--serif-en);
	font-weight: 700;
	font-size: clamp(34px, 4.8vw, 92px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: rgba(255, 255, 255, 0.62);
	z-index: 4;
	pointer-events: none;
}
/* floating sakura petals over the figure, streaming off (clipped by) the page
   edge; parallaxes slightly against the background */
.mv-petals {
	position: absolute;
	z-index: 2;
	left: 30%;
	top: 44%;
	width: 116%;
	aspect-ratio: 1024 / 607;
	background:
		url(../images/petals.png) center / contain no-repeat,
		url(../images/petals_far.png) center / contain no-repeat;
	pointer-events: none;
	will-change: transform;
}
/* product name — sits low, inside the white band */
.mv-titles { position: relative; z-index: 5; align-self: end; padding-bottom: clamp(70px, 15vh, 170px); }
.mv-titles .scale { font-size: clamp(20px, 2.2vw, 42px); font-weight: 700; letter-spacing: 0.1em; }
.mv-titles .name { font-size: clamp(42px, 4vw, 72px); font-weight: 700; letter-spacing: 0.1em; line-height: 1.2; }
.mv-titles .ver { font-size: clamp(20px, 2.2vw, 42px); font-weight: 700; letter-spacing: 0.08em; }

/* arch-framed hero figure (behind the wordmark) */
.mv-arch {
	position: relative;
	justify-self: end;
	align-self: end;
	/* negative bottom margin pushes the figure past the hero into the section below;
	   width is also capped by viewport height so the top never reaches the header */
	margin-bottom: clamp(-130px, -10vh, -60px);
	width: min(72vw, 1120px, 101vh);
	min-width: 0; /* overflow the grid track instead of squeezing the title column */
	aspect-ratio: 990 / 978;
	border-radius: 50% 50% 0 0 / 56% 56% 0 0;
	z-index: 2;
}
.mv-arch img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	border-radius: inherit; /* clip the figure to the arch */
}
/* white frame OUTSIDE the figure (peeks out behind it as a ring): 6px weight to
   match the two-tone divider, crisp over the blue band, faded out partway down
   so it dissolves into the white band without bleeding over the image */
.mv-arch::before {
	content: "";
	position: absolute;
	inset: -6px;
	z-index: 0;
	background: var(--white);
	border-radius: 50% 50% 0 0 / 56% 56% 0 0;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 50%, rgba(0, 0, 0, 0) 76%);
	        mask-image: linear-gradient(to bottom, #000 0%, #000 50%, rgba(0, 0, 0, 0) 76%);
}

/*===========================================================
 STICKY RESERVE BAR
===========================================================*/
#stickybar {
	position: fixed;
	left: 0; bottom: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 14px;
	z-index: 9999;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
}
#stickybar.visible { opacity: 1; transform: none; pointer-events: auto; }
.btn-sticky {
	flex-direction: column;
	gap: 0;
	background: var(--white);
	color: var(--taupe);
	border: 2px solid var(--taupe);
	box-shadow: 0 6px 20px rgba(115, 99, 87, 0.3);
	padding: 0.55em 3em;
	line-height: 1.3;
	position: relative;
}
.btn-sticky .small { font-size: clamp(11px, 1vw, 13px); font-weight: 700; }
.btn-sticky .large { font-size: clamp(16px, 1.4vw, 20px); font-weight: 900; }
.btn-sticky .chev { position: absolute; right: 1.4em; top: 50%; transform: translateY(-50%) rotate(45deg); }
.btn-sticky:hover { background: var(--taupe); color: var(--white); }

/*===========================================================
 INTRODUCTION
===========================================================*/
#introduction {
	position: relative;
	z-index: 2;
	padding: clamp(70px, 8vw, 150px) 0 clamp(60px, 7vw, 120px);
}
.intro-grid {
	position: relative;
	width: 92%;
	max-width: 1640px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: clamp(24px, 4vw, 90px);
	row-gap: clamp(30px, 4vw, 64px);
	align-items: start;
	grid-template-areas:
		"leftfig heading"
		"leftfig rightfig"
		"body    rightfig";
}
.intro-fig-left  { grid-area: leftfig; }
.intro-fig-right { grid-area: rightfig; }
.intro-heading   { grid-area: heading; }
.intro-body      { grid-area: body; }

.intro-figure {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	aspect-ratio: 705 / 1003;
	box-shadow: 0 14px 40px rgba(115, 99, 87, 0.16);
}
/* white frame, uniform inset from the edges (fixed px = equal gap on all sides) */
.intro-figure::after {
	content: "";
	position: absolute;
	inset: 20px;
	border: 2px solid var(--white);
	border-radius: 2px;
	pointer-events: none;
}
.intro-figure img { width: 100%; height: 100%; object-fit: cover; }
.intro-heading {
	/* low min so the size scales down with the column instead of wrapping a line */
	font-size: clamp(14px, 1.7vw, 32px);
	font-weight: 900;
	line-height: 1.95;
	letter-spacing: 0.08em;
	padding-top: clamp(10px, 2vw, 40px);
}
.intro-body {
	/* scales with the column so each sentence stays on one line across desktop widths */
	font-size: clamp(11px, 1vw, 17px);
	font-weight: 700;
	line-height: 2;
}
.intro-body .em { display: inline-block; margin: 0.8em 0; }

/*===========================================================
 POINT (3 columns)
===========================================================*/
#point {
	position: relative;
	z-index: 2;
	padding: clamp(40px, 5vw, 90px) 0 clamp(60px, 7vw, 120px);
}
.point-grid {
	width: 92%;
	max-width: 1740px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(28px, 3.2vw, 56px);
}
.point-figure {
	overflow: hidden;
	aspect-ratio: 540 / 592;
	box-shadow: 0 12px 32px rgba(115, 99, 87, 0.14);
}
.point-figure img { width: 100%; height: 100%; object-fit: cover; }
.point-title { font-size: clamp(20px, 1.5vw, 28px); font-weight: 900; margin: 1em 0 0.4em; letter-spacing: 0.06em; }
.point-text { font-size: clamp(14px, 1.05vw, 20px); font-weight: 500; line-height: 1.8; }

/*===========================================================
 GALLERY
===========================================================*/
#gallery {
	position: relative;
	z-index: 2;
	padding: clamp(20px, 3vw, 50px) 0 clamp(50px, 6vw, 100px);
}
.gallery-swiper {
	width: 100%;
	padding: 10px clamp(16px, 4vw, 60px);
	overflow: hidden;
}
.gallery-swiper .swiper-slide {
	aspect-ratio: 451 / 632;
	overflow: hidden;
}
.gallery-swiper .swiper-slide a { display: block; width: 100%; height: 100%; }
.gallery-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-swiper .swiper-slide:hover img { transform: scale(1.05); }

.gallery-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 34px;
}
.gallery-nav {
	width: 26px; height: 26px;
	border: none; background: none; cursor: pointer;
	display: grid; place-items: center;
	color: var(--taupe);
	flex: none;
}
.gallery-nav i {
	width: 13px; height: 13px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}
.gallery-nav.prev i { transform: rotate(-135deg); }
.gallery-nav.next i { transform: rotate(45deg); }
.gallery-nav:hover { color: var(--coral); }
.gallery-scrollbar {
	width: min(361px, 50vw);
	height: 2px;
	background: var(--white);
	position: relative;
}
.gallery-scrollbar .swiper-scrollbar-drag { background: var(--taupe); height: 2px; top: 0; }

/*===========================================================
 RESERVE
===========================================================*/
#reserve {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: clamp(40px, 5vw, 80px) 5% clamp(40px, 5vw, 80px);
}
.reserve-label { font-size: min(clamp(18px, 1.5vw, 28px), 3.6vw); font-weight: 900; letter-spacing: 0.04em; white-space: nowrap; }
.reserve-period { font-size: min(clamp(24px, 2.3vw, 44px), 4.6vw); font-weight: 900; letter-spacing: 0.02em; margin: 0.2em 0 0.9em; }
.btn-reserve {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1em;
	position: relative;
	background: var(--white);
	color: var(--taupe);
	font-size: clamp(16px, 1.5vw, 28px);
	font-weight: 900;
	letter-spacing: 0.01em;
	padding: 0.7em 1.6em;
	border-radius: 100px;
	border: 2px solid var(--taupe);
	box-shadow: 0 0 0 6px var(--white), 0 12px 28px rgba(115, 99, 87, 0.18);
	transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-reserve .chev { width: 0.55em; height: 0.55em; border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: rotate(45deg); }
.btn-reserve:hover { transform: translateY(-3px); background: var(--taupe); color: var(--white); border-color: var(--taupe); }
.reserve-note { font-size: clamp(15px, 1.15vw, 22px); font-weight: 700; line-height: 1.9; margin-top: 1.6em; }

/*===========================================================
 SHOP INFO (グッスマとは)
===========================================================*/
#shop {
	position: relative;
	z-index: 3; /* above #specs so the specs petal sits behind this section */
	background: var(--white);
	padding: clamp(50px, 5vw, 90px) 0;
	overflow: hidden;
}
/* full-width brown rules, inset from the top/bottom edges (matches Figma) */
#shop::before,
#shop::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--taupe);
	z-index: 1;
	pointer-events: none;
}
#shop::before { top: clamp(16px, 1.3vw, 24px); }
#shop::after { bottom: clamp(16px, 1.3vw, 24px); }
#shop .deco { position: absolute; opacity: 0.5; pointer-events: none; width: 40vw; max-width: 700px; }
#shop .deco-1 { top: -4%; left: -8%; }
#shop .deco-2 { bottom: -6%; right: -6%; transform: rotate(-12deg); }
.shop-inner { width: 88%; max-width: 1020px; margin: 0 auto; position: relative; z-index: 1; }
.shop-block + .shop-block { margin-top: clamp(30px, 3.5vw, 56px); }
.shop-block h3 { font-size: min(clamp(20px, 1.65vw, 30px), 4vw); font-weight: 700; margin-bottom: 0.6em; white-space: nowrap; }
.shop-block p { font-size: clamp(15px, 1.1vw, 20px); font-weight: 500; line-height: 1.85; }
.shop-block p + p { margin-top: 0.9em; }
.shop-cta { text-align: center; margin-top: clamp(36px, 4vw, 60px); }
.shop-cta .btn-taupe { font-size: clamp(17px, 1.3vw, 25px); width: min(400px, 88vw); padding: 0.7em 2.6em; position: relative; }
.shop-cta .btn-taupe .chev { position: absolute; right: 1.5em; top: 50%; transform: translateY(-50%) rotate(45deg); }

/*===========================================================
 PRODUCT INFORMATION (specs)
===========================================================*/
#specs {
	position: relative;
	z-index: 2;
	padding: clamp(60px, 7vw, 110px) 0 clamp(40px, 5vw, 80px);
}
.specs-title {
	text-align: center;
	font-family: var(--serif-en);
	font-weight: 700;
	font-size: clamp(28px, 2.3vw, 44px);
	letter-spacing: 0.02em;
	margin-bottom: clamp(24px, 2.5vw, 40px);
}
.specs-table {
	width: 88%;
	max-width: 1200px;
	margin: 0 auto;
	border-top: 1px solid var(--taupe);
	border-bottom: 1px solid var(--taupe);
	/* content indented from the full-width rules (matches Figma) */
	padding: clamp(32px, 4vw, 76px) clamp(20px, 9vw, 132px);
}
.specs-table dl { display: grid; }
.spec-row { display: flex; align-items: baseline; padding: 0.45em 0; font-size: clamp(15px, 1.1vw, 20px); }
.spec-row dt { width: clamp(120px, 16vw, 230px); flex: none; font-weight: 700; }
.spec-row dd { flex: 1; font-weight: 500; }

/*===========================================================
 FOOTER
===========================================================*/
footer {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: clamp(30px, 4vw, 60px) 5% clamp(90px, 10vw, 130px);
}
.footer-logo img { height: clamp(48px, 4vw, 64px); width: auto; }
.footer-copy { margin-top: 1.4em; font-size: clamp(11px, 0.9vw, 16px); font-weight: 500; line-height: 1.9; }

/*===========================================================
 BOTTOM SAKURA (decorations revealed past the shop section)
===========================================================*/
#bottom-sakura {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: min(1050px, 92vh);
	overflow: hidden;
	pointer-events: none;
	z-index: 1;
}
.sakura-deco {
	position: absolute;
	aspect-ratio: 1024 / 607;
	background: url(../images/deco.png) center / contain no-repeat;
	opacity: 0.5; /* matches #specs .specs-top */
}
.sakura-right { right: -10%; bottom: -5%; width: min(70vw, 960px); transform: rotate(-11.7deg); transform-origin: bottom right; }
@media screen and (max-width: 768px) {
	.sakura-deco { opacity: 0.35; }
	.sakura-right { width: min(150vw, 600px); }
}
/* upper asset — anchored to the bottom edge of the shop pane, spilling down into
   the section below (where it's visible over the watercolor) */
#specs .specs-top {
	position: absolute;
	left: -6%;
	top: clamp(-300px, -20vw, -120px);
	width: min(64vw, 900px);
	aspect-ratio: 1024 / 607;
	background: url(../images/deco.png) center / contain no-repeat;
	opacity: 0.5;
	pointer-events: none;
	z-index: -1; /* behind the product-info text */
}
/* phones: larger, fainter backdrop that stays behind the text */
@media screen and (max-width: 768px) {
	#specs .specs-top {
		left: -18%;
		top: clamp(-160px, -22vw, -50px);
		width: min(150vw, 560px);
		opacity: 0.35;
	}
}

/*===========================================================
 RESPONSIVE
===========================================================*/
@media screen and (max-width: 1080px) {
	.point-grid { gap: 22px; }
	.intro-col-right { padding-top: clamp(20px, 6vw, 90px); }
}

/* tablet / mobile menu */
@media screen and (max-width: 900px) {
	.header-nav { display: none; }
	.btn-nav {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 5px;
		margin-left: auto;
		width: 44px; height: 44px;
		border-radius: 50%;
		background: var(--taupe);
		border: none;
		cursor: pointer;
		z-index: 200;
	}
	.btn-nav span { display: block; width: 20px; height: 2px; background: var(--white); transition: transform 0.25s ease, opacity 0.25s ease; }
	.btn-nav.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.btn-nav.active span:nth-child(2) { opacity: 0; }
	.btn-nav.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	.menu-sp {
		display: block;
		position: fixed;
		top: 0; left: 0;
		width: 100%;
		background: rgba(115, 99, 87, 0.97);
		padding: 90px 24px 36px;
		transform: translateY(-100%);
		transition: transform 0.3s ease;
		z-index: 99;
		text-align: center;
	}
	.menu-sp.active { transform: none; }
	.menu-sp .language {
		justify-content: center;
		background: none;
		font-size: 18px;
		flex-wrap: wrap;
	}
	.menu-sp .share-sp { display: flex; justify-content: center; gap: 18px; margin-top: 24px; }
	.menu-sp .share-sp a { width: 38px; height: 38px; }
	.menu-sp .menu-reserve { margin-top: 26px; display: inline-flex; }
}

/* hero stacks */
@media screen and (max-width: 1250px) {
	#mv { min-height: 0; }
	.mv-inner {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 0 0 40px;
		text-align: center;
	}
	.mv-wordmark {
		position: relative;
		top: 0;
		margin-top: clamp(96px, 24vw, 150px);
		text-align: center;
		font-size: clamp(26px, 8vw, 52px);
	}
	.mv-titles { padding-top: 1.2em; padding-bottom: 0; align-self: auto; order: 3; }
	.mv-arch {
		order: 2;
		align-self: auto;
		justify-self: center;
		width: min(82vw, 440px);
		margin-top: 1em;
		margin-bottom: 0;
	}
	.mv-sky { height: 58%; }
}

@media screen and (max-width: 768px) {
	.point-grid { grid-template-columns: 1fr; max-width: 460px; gap: 40px; }
	/* stack: heading, both figures, body */
	.intro-grid {
		grid-template-columns: 1fr;
		max-width: 520px;
		grid-template-areas: "heading" "leftfig" "rightfig" "body";
	}
	.intro-heading { text-align: center; padding-top: 0; font-size: clamp(15px, 4vw, 24px); }
	.intro-body { font-size: clamp(14px, 3.8vw, 16px); }
	.spec-row { flex-direction: column; }
	.spec-row dt { width: 100%; }
	.gallery-controls { gap: 14px; }
}

@media screen and (max-width: 480px) {
	.language { font-size: 16px; }
	.reserve-period { letter-spacing: 0; }
	.btn-reserve { box-shadow: 0 0 0 4px var(--white), 0 8px 18px rgba(115, 99, 87, 0.18); }
}

/* English text reads better without the JP-tuned letter-spacing */
html[lang="en"] .lang-label,
html[lang="en"] .mv-wordmark,
html[lang="en"] .mv-titles .scale,
html[lang="en"] .mv-titles .name,
html[lang="en"] .mv-titles .ver,
html[lang="en"] .intro-heading,
html[lang="en"] .point-title,
html[lang="en"] .reserve-label,
html[lang="en"] .reserve-period,
html[lang="en"] .btn-reserve,
html[lang="en"] .specs-title {
	letter-spacing: normal;
}
