@charset "UTF-8";

/* ==========================================================================
   ReGo — Editorial / Architectural redesign
   Quiet Intelligence. Business × Place × Culture × Nature.
   ========================================================================== */

:root {
	--bg: #F5F4F0;
	--bg-raised: #EFEEE9;
	--fg: #111111;
	--fg-secondary: #777777;
	--line: #D8D8D3;
	--line-strong: #B9B7AF;
	--accent: #11E262;

	/* Shared type size for the two parallel taglines — "Pull the lever."
	   (Hero) and "Do more with less." (Vision) — set to the midpoint of
	   what each previously used, so neither headline outweighs the other. */
	--headline-size: clamp(2.8rem, 7.8vw, 6.8rem);

	--font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
	--font-jp: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", sans-serif;

	--max-width: 1560px;
	--gutter: clamp(20px, 5vw, 80px);

	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--dur: 0.6s;
}

* { box-sizing: border-box; }

body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure {
	margin: 0;
	padding: 0;
}
ul, ol {
	list-style: none;
}

html {
	background: var(--bg);
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-jp);
	font-size: 16px;
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a {
	color: inherit;
	text-decoration: none;
}

.en {
	font-family: var(--font-en);
}

.wrap {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* ----- reveal-on-scroll ----- */
.reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ==========================================================================
   Header
   ========================================================================== */

header.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px var(--gutter);
	background: transparent;
	transition: background-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease), border-color var(--dur) var(--ease);
	border-bottom: 1px solid transparent;
}
header.site-header.is-scrolled {
	background: rgba(245, 244, 240, 0.82);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.site-header .logo {
	margin: 0;
	line-height: 1;
}
.site-header .logo a {
	display: block;
}
.site-header .logo img {
	height: 30px;
	width: auto;
}

.site-header nav.nav {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 40px);
}
.site-header nav.nav ul {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 40px);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	line-height: 1;
}
.site-header nav.nav a {
	font-family: var(--font-en);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fg);
	position: relative;
	padding: 4px 0;
}
.site-header nav.nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 0;
	height: 1px;
	background: var(--fg);
	transition: right var(--dur) var(--ease);
}
.site-header nav.nav a:hover::after {
	right: 0;
}
.site-header .nav-sub {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-left: clamp(18px, 2.4vw, 40px);
	border-left: 1px solid var(--line-strong);
}
.site-header .nav-sub img {
	height: 16px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.55;
	transition: opacity var(--dur) var(--ease);
}
.site-header .nav-sub img.logo-atelier {
	height: 19.2px;
}
.site-header .nav-sub a:hover img {
	opacity: 1;
}

.nav-toggle {
	display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	position: relative;
	padding: 140px 0 80px;
	color: #F5F4F0;
	background-color: #111111;
	overflow: hidden;
}

.hero .hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.hero .hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.08) brightness(0.6);
}
.hero .hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero .hero-grid {
	position: relative;
	z-index: 1;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 24px;
	align-items: end;
}

.hero h1 {
	grid-column: 1 / 9;
	margin: 0;
	font-family: var(--font-en);
	font-weight: 700;
	text-transform: uppercase;
	font-size: var(--headline-size);
	line-height: 0.96;
	letter-spacing: -0.01em;
}
.hero h1 span {
	display: block;
	width: fit-content;
}
.hero h1 .thin {
	font-weight: 300;
}
.hero h1 .hl {
	background-image: linear-gradient(transparent 68%, var(--accent) 68%, var(--accent) 92%, transparent 92%);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	padding-right: 0.02em;
}

.hero .hero-side {
	grid-column: 9 / 13;
}

.hero .hero-lead {
	font-size: 0.95rem;
	color: #E4E3DD;
	line-height: 2;
	padding-bottom: 0.4em;
}

/* ==========================================================================
   Section shell
   ========================================================================== */

section.section {
	padding: clamp(80px, 12vw, 180px) var(--gutter);
	border-top: 1px solid var(--line);
}

.section-head {
	display: flex;
	align-items: baseline;
	gap: 20px;
	margin-bottom: clamp(48px, 8vw, 96px);
}
.section-num {
	font-family: var(--font-en);
	font-size: 12px;
	letter-spacing: 0.12em;
	color: var(--fg-secondary);
}
.section-label {
	font-family: var(--font-en);
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fg-secondary);
}

/* ==========================================================================
   01 — Vision
   ========================================================================== */

section.vision {
	position: relative;
	overflow: hidden;
	color: #F5F4F0;
	background-color: #111111;
	border-top: none;
}

.vision .vision-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.vision .vision-bg video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.05) brightness(0.55);
}
.vision .vision-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}

.vision .wrap {
	position: relative;
	z-index: 1;
}

.vision .vision-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 24px;
}
.vision h2 {
	grid-column: 1 / 9;
	margin: 0;
	font-family: var(--font-en);
	font-weight: 700;
	text-transform: uppercase;
	font-size: var(--headline-size);
	line-height: 0.96;
	color: #F5F4F0;
}
.vision h2 .under {
	background-image: linear-gradient(transparent 70%, var(--accent) 70%, var(--accent) 92%, transparent 92%);
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.vision .vision-copy {
	grid-column: 9 / 13;
	font-size: 0.95rem;
	line-height: 2.1;
	color: #E4E3DD;
	align-self: end;
}
.vision .vision-copy .accent-phrase {
	font-family: var(--font-en);
	font-style: normal;
	border-bottom: 2px solid var(--accent);
}

/* ==========================================================================
   02 — Services
   ========================================================================== */

.service-row {
	display: grid;
	grid-template-columns: 90px 1fr 1fr;
	gap: 24px;
	align-items: start;
	padding: clamp(32px, 5vw, 56px) 0;
	border-top: 1px solid var(--line);
	transition: background-color var(--dur) var(--ease);
	position: relative;
}
.service-row:last-child {
	border-bottom: 1px solid var(--line);
}
.service-row .service-index {
	font-family: var(--font-en);
	font-size: 13px;
	color: var(--fg-secondary);
	padding-top: 0.3em;
}
.service-row .service-title {
	font-family: var(--font-en);
	font-weight: 700;
	text-transform: uppercase;
	font-size: clamp(1.8rem, 4vw, 3.2rem);
	line-height: 1;
	transition: transform var(--dur) var(--ease);
}
.service-row .service-title .en-label {
	display: block;
}
.service-row .service-title .jp-label {
	display: block;
	font-family: var(--font-jp);
	font-weight: 500;
	font-size: 1.05rem;
	text-transform: none;
	color: var(--fg-secondary);
	margin-top: 10px;
	letter-spacing: 0.02em;
}
.service-row .service-copy {
	font-size: 0.92rem;
	line-height: 2;
	color: var(--fg-secondary);
	max-width: 44em;
}
.service-row:hover {
	background: var(--bg-raised);
}
.service-row:hover .service-title {
	transform: translateX(10px);
}

@media (min-width: 641px) {
	.service-row {
		margin-left: calc(var(--gutter) * -1);
		margin-right: calc(var(--gutter) * -1);
		padding-left: var(--gutter);
		padding-right: var(--gutter);
	}
}

/* ==========================================================================
   03 — Partner
   ========================================================================== */

.partner-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(12px, 2vw, 28px);
}
.partner-grid li {
	aspect-ratio: 2 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(4px, 0.75vw, 8px);
}
.partner-grid img {
	max-height: 153px;
	max-width: 100%;
	width: auto;
	filter: grayscale(1);
	opacity: 0.65;
	transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.partner-grid img.logo-boost {
	max-height: 184px;
}
.partner-grid a:hover img {
	filter: grayscale(0);
	opacity: 1;
}
.partner-grid img.logo-givespace {
	filter: invert(1) grayscale(1);
	opacity: 0.65;
}
.partner-grid a:hover img.logo-givespace {
	filter: invert(1) grayscale(1);
	opacity: 1;
}

@media (max-width: 900px) {
	.partner-grid { grid-template-columns: repeat(2, 1fr); }
	.partner-grid img { max-height: 126px; }
	.partner-grid img.logo-boost { max-height: 151px; }
}
@media (max-width: 560px) {
	.partner-grid { grid-template-columns: repeat(2, 1fr); }
	.partner-grid li { aspect-ratio: 3 / 2; }
	.partner-grid img { max-height: 96px; }
	.partner-grid img.logo-boost { max-height: 115px; }
}

/* ==========================================================================
   04 — About / Company
   ========================================================================== */

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: clamp(40px, 6vw, 100px);
}
.about-grid h2 {
	margin: 0;
	font-family: var(--font-en);
	font-weight: 700;
	text-transform: uppercase;
	font-size: clamp(2rem, 4.4vw, 3.4rem);
	line-height: 1.05;
	position: sticky;
	top: 120px;
}
.about-table dl {
	margin: 0;
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 0;
}
.about-table > div {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 24px;
	padding: 22px 0;
	border-top: 1px solid var(--line);
}
.about-table > div:last-child {
	border-bottom: 1px solid var(--line);
}
.about-table dt {
	font-family: var(--font-en);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fg-secondary);
	padding-top: 0.2em;
}
.about-table dd {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.9;
}
.about-table dd a {
	border-bottom: 1px solid var(--fg);
}

@media (max-width: 900px) {
	.about-grid { grid-template-columns: 1fr; }
	.about-grid h2 { position: static; }
	.about-table > div,
	.about-table dl { grid-template-columns: 130px 1fr; }
}

/* ==========================================================================
   05 — Contact
   ========================================================================== */

.contact-head h2 {
	margin: 0;
	font-family: var(--font-en);
	font-weight: 700;
	text-transform: uppercase;
	font-size: clamp(3rem, 9vw, 7rem);
	line-height: 0.95;
}

.contact-form {
	margin-top: clamp(48px, 6vw, 80px);
	max-width: 760px;
}
.field {
	position: relative;
	margin-bottom: 40px;
}
.field label {
	display: block;
	font-family: var(--font-en);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fg-secondary);
	margin-bottom: 10px;
}
.field .req {
	color: var(--fg-secondary);
	margin-left: 4px;
}
.field input,
.field textarea {
	width: 100%;
	border: none;
	border-bottom: 1px solid var(--line-strong);
	background: transparent;
	font-family: var(--font-jp);
	font-size: 1rem;
	color: var(--fg);
	padding: 8px 2px;
	resize: vertical;
	transition: border-color var(--dur) var(--ease);
}
.field input::placeholder,
.field textarea::placeholder {
	color: #B3B1A8;
}
.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--fg);
}

.form-note {
	font-size: 0.82rem;
	color: var(--fg-secondary);
	margin-bottom: 32px;
}

.form-error {
	font-size: 0.85rem;
	color: var(--fg);
	border-left: 2px solid var(--fg);
	padding-left: 12px;
	margin-bottom: 24px;
}

.btn-submit {
	appearance: none;
	background: none;
	border: none;
	border-bottom: 1px solid var(--fg);
	padding: 8px 0;
	font-family: var(--font-en);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: gap var(--dur) var(--ease);
}
.btn-submit:hover {
	gap: 18px;
}
.btn-submit:disabled {
	opacity: 0.5;
	cursor: default;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer.site-footer {
	border-top: 1px solid var(--line);
	padding: clamp(48px, 6vw, 80px) var(--gutter) 40px;
}
.footer-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
}
.footer-brand .logo-mark {
	margin: 0;
	line-height: 1;
}
.footer-brand .logo-mark img {
	height: 26px;
	width: auto;
}
.footer-brand .tagline {
	font-family: var(--font-en);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--fg-secondary);
	margin-top: 10px;
}
.footer-meta {
	font-family: var(--font-en);
	font-size: 11px;
	letter-spacing: 0.08em;
	color: var(--fg-secondary);
	text-align: right;
}
.footer-meta a {
	border-bottom: 1px solid var(--line-strong);
}
.footer-meta a:hover {
	border-color: var(--fg);
}
.footer-meta p {
	margin: 0 0 8px;
}
.footer-meta p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Simple pages (privacy / thanks)
   ========================================================================== */

.page-hero {
	padding: 160px var(--gutter) 60px;
	border-bottom: 1px solid var(--line);
}
.page-hero .section-label {
	display: block;
	margin-bottom: 20px;
}
.page-hero h1 {
	margin: 0;
	font-family: var(--font-en);
	font-weight: 700;
	text-transform: uppercase;
	font-size: clamp(2.2rem, 6vw, 4rem);
	line-height: 1.05;
}
.page-hero h1.jp {
	font-family: var(--font-jp);
	text-transform: none;
	font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.page-body {
	padding: clamp(60px, 8vw, 120px) var(--gutter);
	max-width: 900px;
}
.page-body p {
	margin: 0 0 1.6em;
	color: var(--fg);
}
.page-body ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: policy;
}
.page-body ol li {
	counter-increment: policy;
	padding: 28px 0;
	border-top: 1px solid var(--line);
	position: relative;
	padding-left: 52px;
}
.page-body ol li:last-child {
	border-bottom: 1px solid var(--line);
}
.page-body ol li::before {
	content: counter(policy, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 28px;
	font-family: var(--font-en);
	font-size: 12px;
	color: var(--fg-secondary);
}
.linktop {
	margin-top: 40px !important;
}
.linktop a {
	font-family: var(--font-en);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--fg);
}

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

@media (max-width: 900px) {
	.hero h1 { grid-column: 1 / 13; }
	.hero .hero-side { grid-column: 1 / 13; margin-top: 32px; }

	.vision h2 { grid-column: 1 / 13; }
	.vision .vision-copy { grid-column: 1 / 13; margin-top: 32px; }

	.service-row { grid-template-columns: 1fr; gap: 12px; }
	.service-row .service-index { padding-top: 0; }

	.footer-meta { text-align: left; }
}

@media (max-width: 640px) {
	header.site-header { padding: 16px var(--gutter); align-items: flex-start; flex-wrap: wrap; gap: 12px; }
	.site-header nav.nav { width: 100%; flex-direction: column; align-items: flex-start; gap: 12px; }
	header.site-header nav.nav ul {
		overflow-x: auto;
		flex-wrap: nowrap;
		gap: 16px;
		width: 100%;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
	header.site-header nav.nav ul::-webkit-scrollbar { display: none; }
	header.site-header nav.nav ul li { flex: 0 0 auto; }
	.site-header .nav-sub { padding-left: 0; border-left: none; gap: 14px; flex: 0 0 auto; }
	.hero { padding-top: 150px; }
}
