/*
Theme Name: ARIA Nail Beauty
Theme URI: https://aria-beauty.jp/
Author: DCM GROUP
Description: Custom WordPress theme for ARIA Nail Beauty.
Version: 0.1.2
Text Domain: aria-nail-beauty
*/

:root {
	--aria-bg: #ffffff;
	--aria-text: #171717;
	--aria-muted: #6f6f6f;
	--aria-line: #e8e8e8;
	--aria-accent: #b89b6a;
	--aria-content-width: 1200px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--aria-bg);
	color: var(--aria-text);
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Noto Sans JP",
		sans-serif;
	line-height: 1.7;
}

a {
	color: inherit;
}

.container {
	width: min(calc(100% - 40px), var(--aria-content-width));
	margin-inline: auto;
}

.site-header-inner,
.site-footer-inner {
	width: min(calc(100% - 40px), var(--aria-content-width));
	margin-inline: auto;
	padding-block: 20px;
}

#site-header {
	border-bottom: 1px solid var(--aria-line);
}

.hero {
	display: flex;
	min-height: 70vh;
	align-items: center;
	padding-block: 80px;
}

.hero-eyebrow {
	margin: 0 0 16px;
	color: var(--aria-muted);
	font-size: 12px;
	letter-spacing: 0.2em;
}

.hero-title {
	margin: 0;
	font-size: clamp(42px, 8vw, 96px);
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1;
}

.hero-description {
	margin: 28px 0 0;
	font-size: clamp(18px, 2vw, 28px);
}

.home-intro {
	padding-block: 100px;
	border-top: 1px solid var(--aria-line);
}

#site-footer {
	border-top: 1px solid var(--aria-line);
	color: var(--aria-muted);
	font-size: 13px;
}

/* =========================
   Luxury Minimal Header
   ========================= */

.site-header {
	position: absolute;
	z-index: 20;
	top: 0;
	left: 0;
	width: 100%;
	border: 0;
	background: transparent;
}

.site-header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 32px;
	width: min(calc(100% - 80px), var(--aria-content-width));
	padding-block: 28px;
}

.site-brand {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	text-decoration: none;
	line-height: 1;
	min-height: 44px;
	justify-content: center;
}

.site-brand-name {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
	letter-spacing: 0.16em;
}

.site-brand-sub {
	margin-top: 6px;
	color: var(--aria-muted);
	font-size: 9px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.primary-nav {
	display: flex;
	justify-content: flex-end;
	gap: clamp(20px, 3vw, 44px);
}

.primary-nav a,
.header-reservation {
	position: relative;
	text-decoration: none;
	font-size: 11px;
	letter-spacing: 0.14em;
}

.primary-nav a::after {
	position: absolute;
	right: 0;
	bottom: -7px;
	left: 0;
	height: 1px;
	background: currentColor;
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left;
}

.header-reservation {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-inline: 20px;
	border: 1px solid var(--aria-text);
	transition:
		background-color 180ms ease,
		color 180ms ease;
}

.header-reservation:hover,
.header-reservation:focus-visible {
	background: var(--aria-text);
	color: var(--aria-bg);
}

/* =========================
   Responsive Header / Mobile Navigation
   ========================= */

.nav-toggle {
	position: relative;
	z-index: 41;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
	display: block;
	width: 22px;
	height: 1px;
	background: var(--aria-text);
}

.nav-toggle-lines {
	position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
	position: absolute;
	left: 0;
	content: "";
}

.nav-toggle-lines::before {
	top: -6px;
}

.nav-toggle-lines::after {
	top: 6px;
}

.nav-toggle:focus-visible {
	outline: 1px solid var(--aria-text);
	outline-offset: 4px;
}

.mobile-nav-overlay {
	position: fixed;
	z-index: 40;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--aria-bg);
}

.mobile-nav-overlay[hidden] {
	display: none;
}

.mobile-nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(28px, 6vw, 44px);
}

.mobile-nav a {
	text-decoration: none;
	color: var(--aria-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(24px, 5vw, 32px);
	letter-spacing: 0.04em;
}

.mobile-nav a:focus-visible {
	outline: 1px solid var(--aria-text);
	outline-offset: 6px;
}

/* =========================
   Luxury Minimal Hero
   ========================= */

.hero {
	position: relative;
	display: grid;
	min-height: 100svh;
	align-items: end;
	overflow: hidden;
	padding: 160px 0 72px;
	background: var(--aria-bg);
}

.hero-media {
	position: absolute;
	z-index: 0;
	top: 0;
	right: 0;
	width: 38%;
	height: 100%;
}

.hero-media::before {
	position: absolute;
	top: -12%;
	right: -15%;
	bottom: -12%;
	left: -20%;
	background: radial-gradient(
		ellipse at 68% 45%,
		rgba(184, 155, 106, 0.18) 0%,
		rgba(184, 155, 106, 0.09) 40%,
		rgba(184, 155, 106, 0) 72%
	);
	content: "";
	pointer-events: none;
}

.hero-media-placeholder {
	position: absolute;
	top: 14%;
	left: -10%;
	display: block;
	width: clamp(340px, 27vw, 480px);
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: 50% 50%;
}

.hero-content {
	position: relative;
	z-index: 2;
	padding-bottom: clamp(40px, 7vw, 100px);
}

.hero-eyebrow,
.section-eyebrow {
	margin: 0 0 22px;
	color: var(--aria-muted);
	font-size: 10px;
	letter-spacing: 0.26em;
}

.hero-title {
	display: flex;
	flex-direction: column;
	max-width: 680px;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(64px, 9vw, 138px);
	font-weight: 400;
	letter-spacing: -0.055em;
	line-height: 0.83;
}

.hero-title span:last-child {
	margin-top: 0.18em;
	margin-left: 0.45em;
	font-size: 0.42em;
	letter-spacing: 0.04em;
}

.hero-description {
	margin: 36px 0 0;
	font-family:
		"Noto Serif JP",
		"Yu Mincho",
		serif;
	font-size: clamp(18px, 1.8vw, 26px);
	letter-spacing: 0.08em;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	min-width: 220px;
	margin-top: 38px;
	padding: 17px 20px;
	text-decoration: none;
	font-size: 11px;
	letter-spacing: 0.15em;
}

.button-primary {
	border: 1px solid var(--aria-text);
	background: var(--aria-text);
	color: var(--aria-bg);
	transition:
		background-color 180ms ease,
		color 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
	background: transparent;
	color: var(--aria-text);
}

.hero-scroll {
	position: absolute;
	z-index: 2;
	right: 16px;
	bottom: 42px;
	margin: 0;
	color: var(--aria-muted);
	font-size: 9px;
	letter-spacing: 0.26em;
	transform: rotate(90deg);
	transform-origin: center;
}

.home-intro {
	padding-block: clamp(100px, 13vw, 180px);
	border-top: 1px solid var(--aria-line);
}

.home-intro h2 {
	max-width: 850px;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(42px, 6vw, 84px);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1;
}

.home-intro > .container > p:last-child {
	max-width: 560px;
	margin: 36px 0 0 auto;
	color: var(--aria-muted);
	font-size: clamp(15px, 1.5vw, 18px);
}

/* =========================
   Responsive
   ========================= */

@media (min-width: 1101px) {
	.hero-media-placeholder {
		left: calc(-10% - 50px);
	}

	.hero-content {
		padding-bottom: calc(clamp(40px, 7vw, 100px) + 70px);
	}

	.hero-media::before {
		background: radial-gradient(
			ellipse at 68% 45%,
			rgba(184, 155, 106, 0.23) 0%,
			rgba(184, 155, 106, 0.12) 40%,
			rgba(184, 155, 106, 0) 74%
		);
	}
}

@media (min-width: 901px) and (max-width: 1100px) {
	.hero-media {
		width: 34%;
	}

	.hero-media-placeholder {
		top: 12%;
		left: -6%;
		width: clamp(240px, 30vw, 320px);
	}
}

@media (max-width: 900px) {
	.site-header-inner {
		grid-template-columns: 1fr auto auto;
		width: min(calc(100% - 40px), var(--aria-content-width));
		padding-block: 20px;
	}

	.primary-nav {
		display: none;
	}

	.header-reservation {
		min-height: 40px;
		padding-inline: 14px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.hero {
		min-height: 100svh;
		padding: 120px 0 48px;
	}

	.hero-media {
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 44%;
		background: linear-gradient(180deg, rgba(184, 155, 106, 0.1), rgba(184, 155, 106, 0.05));
	}

	.hero-media::before {
		content: none;
	}

	.hero-media-placeholder {
		top: -8%;
		right: 10%;
		left: auto;
		width: min(58vw, 300px);
	}

	.hero-content {
		align-self: start;
		padding-top: 10vh;
		padding-bottom: 0;
	}

	.hero-title {
		font-size: clamp(58px, 18vw, 100px);
	}

	.hero-title span:last-child {
		margin-left: 0;
	}

	.hero-scroll {
		display: none;
	}
}

@media (max-width: 560px) {
	.site-brand-name {
		font-size: 20px;
	}

	.header-reservation {
		font-size: 9px;
		letter-spacing: 0.1em;
	}

	.hero-title {
		font-size: clamp(54px, 20vw, 82px);
	}

	.hero-description {
		margin-top: 24px;
	}

	.button {
		min-width: 200px;
	}

	.home-intro > .container > p:last-child {
		margin-left: 0;
	}
}

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

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}

#site-header.site-header {
	border: 0;
	background: transparent;
}

@media (max-width: 560px) {
	.hero-content {
		padding-top: 7vh;
	}

	.hero-title span:last-child {
		margin-top: 0.12em;
	}

	.hero-description {
		position: relative;
		z-index: 2;
	}

	.button-primary {
		position: relative;
		z-index: 2;
	}
}

/* WordPress admin bar compatibility */
body.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

/* =========================
   Concept
   ========================= */

.concept-section {
	padding-block: clamp(110px, 14vw, 200px);
	background: var(--aria-bg);
}

.concept-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
	gap: 80px 72px;
	align-items: start;
}

.concept-heading h2 {
	max-width: 760px;
	margin: 0;
	font-family:
		"Noto Serif JP",
		"Yu Mincho",
		serif;
	font-size: clamp(40px, 4.2vw, 60px);
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.45;
}

@media (min-width: 801px) {
	.concept-heading h2 span {
		display: block;
		white-space: nowrap;
	}
}

@media (max-width: 800px) {
	.concept-heading h2 span {
		display: block;
	}
}

.concept-copy {
	max-width: 480px;
	padding-top: 44px;
	color: var(--aria-muted);
	font-size: 15px;
	line-height: 2;
}

.concept-copy p {
	margin: 0;
}

.concept-copy p + p {
	margin-top: 28px;
}

.concept-lead {
	color: var(--aria-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-style: italic;
	line-height: 1.5;
}

.concept-visual {
	grid-column: 1 / -1;
	width: min(82%, 980px);
	margin: 30px 0 0 auto;
}

.concept-visual-placeholder {
	aspect-ratio: 16 / 8;
	background:
		linear-gradient(
			135deg,
			rgba(250, 248, 245, 0.2),
			rgba(184, 155, 106, 0.12)
		),
		#d8cec4;
}

@media (max-width: 800px) {
	.concept-grid {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.concept-copy {
		max-width: 100%;
		padding-top: 0;
	}

	.concept-visual {
		grid-column: auto;
		width: calc(100% - 28px);
		margin: 20px 0 0 auto;
	}

	.concept-visual-placeholder {
		aspect-ratio: 4 / 5;
	}
}

/* =========================
   Menu
   ========================= */

.menu-section {
	padding-block: clamp(110px, 14vw, 200px);
	border-top: 1px solid var(--aria-line);
	background: var(--aria-bg);
}

.menu-header {
	max-width: 640px;
	margin-bottom: clamp(56px, 8vw, 96px);
}

.menu-header h2 {
	margin: 18px 0 0;
	font-family:
		"Noto Serif JP",
		"Yu Mincho",
		serif;
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.menu-header h2 span {
	display: block;
}

.menu-lead {
	max-width: 480px;
	margin: 18px 0 0;
	color: var(--aria-muted);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	font-style: italic;
	line-height: 1.5;
}

.menu-list {
	border-top: 1px solid var(--aria-line);
}

.menu-item {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	align-items: baseline;
	gap: 32px;
	padding-block: 40px;
	border-bottom: 1px solid var(--aria-line);
}

.menu-number {
	margin: 0;
	color: var(--aria-accent);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	letter-spacing: 0.08em;
}

.menu-item-content h3 {
	margin: 0 0 12px;
	font-family:
		"Noto Serif JP",
		"Yu Mincho",
		serif;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 400;
	letter-spacing: 0.02em;
}

.menu-item-category {
	margin: 0 0 8px;
	color: var(--aria-accent);
	font-size: 12px;
	letter-spacing: 0.04em;
	word-break: keep-all;
}

.menu-item-services {
	max-width: 520px;
	margin: 0;
	color: var(--aria-muted);
	font-size: 14px;
	line-height: 1.9;
	word-break: keep-all;
	overflow-wrap: break-word;
}

.menu-price {
	margin: 0;
	color: var(--aria-muted);
	font-size: 13px;
	letter-spacing: 0.04em;
	text-align: right;
	white-space: nowrap;
}

@media (max-width: 800px) {
	.menu-item {
		grid-template-columns: 32px 1fr;
		row-gap: 12px;
		padding-block: 32px;
	}

	.menu-price {
		grid-column: 2 / 3;
		text-align: left;
	}

	.menu-item-services {
		max-width: 100%;
	}
}

@media (max-width: 560px) {
	.menu-header {
		margin-bottom: 48px;
	}

	.menu-header h2 {
		font-size: 28px;
	}

	.menu-item {
		padding-block: 28px;
	}

	.menu-item-content h3 {
		font-size: 22px;
	}
}

/* Gallery */

.gallery-section {
	padding-block: clamp(110px, 14vw, 200px);
}

.gallery-header {
	margin-bottom: 56px;
}

.gallery-header h2 {
	margin: 0;
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 500;
}

.gallery-grid {
	display: grid;
	grid-template-columns: 2fr 1.2fr 1fr;
	grid-template-rows: 1fr 1fr;
	grid-template-areas:
		"feature supporting-a portrait"
		"feature supporting-b portrait";
	gap: 24px;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	margin: 0;
	background: var(--aria-bg);
}

.gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-item--feature {
	grid-area: feature;
	aspect-ratio: 4 / 3;
}

.gallery-item--supporting-a {
	grid-area: supporting-a;
	aspect-ratio: 4 / 3;
}

.gallery-item--supporting-b {
	grid-area: supporting-b;
	aspect-ratio: 4 / 3;
}

.gallery-item--portrait {
	grid-area: portrait;
	aspect-ratio: 3 / 4;
	margin-top: 56px;
}

@media (max-width: 900px) {
	.gallery-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
		grid-template-areas:
			"feature feature"
			"supporting-a supporting-b"
			"portrait portrait";
		row-gap: 32px;
		column-gap: 16px;
	}

	.gallery-header {
		margin-bottom: 40px;
	}

	.gallery-header h2 {
		font-size: 26px;
	}

	.gallery-item--portrait {
		width: 68%;
		margin: 0 0 0 auto;
	}
}
 
/* Salon access and booking */
section[id] { scroll-margin-top: 6rem; }
.salon-visit { background: #f5f1ed; padding: clamp(4rem, 9vw, 8rem) 0; color: #302822; }
.salon-visit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 7vw, 6rem); }
.salon-visit section + section { border-inline-start: 1px solid #cec2b7; padding-inline-start: clamp(2rem, 6vw, 5rem); }
.salon-visit h2 { margin: .75rem 0 1.5rem; font-family: "Yu Mincho", serif; font-weight: 500; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.salon-visit address { font-style: normal; line-height: 1.9; }
.salon-visit p:not(.section-eyebrow) { line-height: 1.95; margin: .75rem 0 1.25rem; }
.salon-link { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; text-underline-offset: .35em; text-decoration: underline; color: inherit; }
.menu-section .salon-link, .gallery-section .salon-link { margin-top: 1.2rem; }
.salon-visit .button { margin-inline-end: 1rem; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 700px) {
  .salon-visit-grid { grid-template-columns: 1fr; }
  .salon-visit section + section { padding: 2rem 0 0; border-inline-start: 0; border-top: 1px solid #cec2b7; }
}
@media (max-width: 900px) {
  .header-reservation { min-height: 44px; font-size: .75rem; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* v0.1.1: screen-reader-only text and gallery fallback */
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.gallery-fallback { margin: 0 0 1rem; padding: 2.5rem 1.5rem; background: #f5f1ed; color: #302822; line-height: 1.9; text-align: center; }

/* Salon photography */
.salon-photo { max-width: 100%; margin-bottom: 0; }
.salon-photo img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; object-position: center; }
.salon-designs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: clamp(12px, 2vw, 32px); }
.design-card, .design-viewer figure { margin: 0; }
.design-card:nth-child(even) { margin-top: clamp(18px, 3vw, 44px); }
.design-photo { display: block; position: relative; cursor: zoom-in; }
.design-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #f3f0eb; }
.design-enlarge { position: absolute; bottom: 8px; right: 8px; background: #fff; color: #272321; width: 28px; height: 28px; line-height: 28px; border-radius: 50%; text-align: center; }
.design-card figcaption, .design-viewer figcaption { padding: .6rem 0; color: #433d38; font-size: .9rem; letter-spacing: .04em; }
.design-viewer { width: fit-content; max-width: min(92vw, 820px); max-height: 92vh; padding: 10px 16px; color: #282421; background: white; border: 0; }
.design-viewer:not([open]) { display: none; }
.design-viewer::backdrop { background: rgb(25 22 20 / 76%); }
.design-viewer img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(70vh, 740px); margin: auto; }
.design-close { display: flex; gap: .6rem; align-items: center; justify-content: center; min-height: 44px; margin-inline-start: auto; font: inherit; background: transparent; color: inherit; border: 0; cursor: pointer; }
.design-close span { font-size: 1.4rem; }
@media (max-width: 760px) {
  .salon-designs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .design-card:nth-child(even) { margin-top: 14px; }
  .salon-photo { width: 100%; margin-inline: 0; }
}

@media (min-width: 801px) {
  .concept-grid:has(.salon-photo) { grid-template-columns: minmax(0, 1.3fr) minmax(255px, .8fr); row-gap: 2rem; align-items: center; }
  .concept-grid:has(.salon-photo) .concept-copy { grid-column: 1; padding: 0; }
  .concept-grid .salon-photo { grid-column: 2; grid-row: 1 / span 2; width: min(100%, 380px); margin: 0 auto; }
}
@media (max-width: 800px) {
  .concept-grid .salon-photo { width: min(100%, 390px); margin-inline: auto; }
}