/*
 * Hashi — site chrome and sections.
 *
 * Translated from the inline styles in .design/index.html. The reference is a
 * single static page and can lean on `data-r` attributes and element-position
 * selectors; a WordPress page cannot, because the markup around any block
 * changes the moment somebody edits the page. Every rule here keys off an
 * explicit `hs-` class carried on the block's className.
 */

/* ============================================================
 * 1. Base
 * ============================================================ */

/*
 * Core applies border-box to its own block wrappers and nothing else, so an
 * element inside a wp:html block — the clock bar, the header, the drawer —
 * would otherwise be content-box and size differently from the blocks around
 * it (platform gotcha 59).
 */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/*
 * The page-level clip. The reference wraps everything in a div with
 * overflow:hidden; a block theme has no such wrapper. `clip` and not `hidden`,
 * and on the site wrapper and not on html or body: anything that creates a
 * scrollport here un-sticks the sticky header (platform gotchas 57 and 58).
 */
.wp-site-blocks { overflow-x: clip; }

body {
	background: var(--hs-paper);
	color: var(--hs-ink);
	font-family: var(--hs-display);
	-webkit-font-smoothing: antialiased;
}

.hs-mono { font-family: var(--hs-mono); }
.hs-jp { font-family: var(--hs-jp); }

/*
 * The label tier runs at the browser's default leading, not the body's 1.55.
 *
 * theme.json sets a comfortable 1.55 for running text, which is right for
 * prose and wrong for a one-line mono label: the reference leaves all of
 * these at `normal`, and inheriting 1.55 quietly added a few pixels to every
 * clock, eyebrow, meta row and statistic label — about 7% over the length of
 * the page. Measured against the reference rather than guessed.
 */
.hs-topbar,
.hs-eyebrow,
.hs-stat__label,
.hs-marquee__text,
.hs-row__meta,
.hs-band__meta,
.hs-band__name,
.hs-mailcard__label,
.hs-mailcard__address,
.hs-office__clock,
.hs-office__native,
.hs-drawer__clocks,
.hs-wordmark__text,
.hs-footer__row { line-height: normal; }

.hs-shell { max-width: var(--hs-max); margin-inline: auto; padding-inline: var(--hs-gutter); }

.hs-g12 {
	display: grid;
	grid-template-columns: var(--hs-cols);
	column-gap: var(--hs-colgap);
}

.hs-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	font-family: var(--hs-mono);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hs-muted);
}
.hs-eyebrow--ruled::before {
	content: "";
	flex: none;
	width: 48px;
	height: 2px;
	background: var(--hs-acc);
	transform-origin: left;
	animation: hs-line-grow 1.2s var(--hs-ease-draw) both;
}
.hs-on-ink .hs-eyebrow { color: var(--hs-on-dark-muted); }

.hs-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

:where(a, button, [tabindex]):focus-visible {
	outline: 3px solid var(--hs-acc);
	outline-offset: 3px;
	border-radius: 2px;
}
.hs-on-ink :where(a, button, [tabindex]):focus-visible { outline-color: var(--hs-acc-light); }

/* Core's flow layout spaces children with a block-gap margin; every component
   below does its own spacing with `gap`. `.hs-x :is(p)` is (0,1,1) and beats
   core's (0,1,0) without !important. */
.hs-hero :is(p, h1, h2, h3, figure),
.hs-practice :is(p, h2, h3, figure),
.hs-offices :is(p, h2, h3, figure),
.hs-work :is(p, h2, h3, figure),
.hs-contact :is(p, h2, h3, figure),
.hs-footer :is(p, h2, h3, figure),
.hs-bandwrap :is(p, figure) { margin-block: 0; }

.hs-hero .wp-block-group,
.hs-offices .wp-block-group,
.hs-work .wp-block-group,
.hs-contact .wp-block-group { max-width: none; }

/* ============================================================
 * 2. Buttons
 *
 * Two shapes reach these: a bare <a class="hs-btn"> in the PHP chrome, and a
 * core/button block, whose className lands on the wrapping div and never on
 * the <a> inside it.
 * ============================================================ */
.hs-btn:not(.wp-block-button),
.hs-btn.wp-block-button > .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	border-radius: var(--hs-r-pill);
	font-family: var(--hs-display);
	font-weight: 600;
	line-height: 1;
	border: 1.5px solid transparent;
	transition: transform 0.25s, background 0.25s, color 0.25s;
}
.hs-btn--solid:not(.wp-block-button),
.hs-btn--solid.wp-block-button > .wp-block-button__link {
	background: var(--hs-ink);
	color: var(--hs-paper);
	padding: 18px 28px;
	font-size: 17px;
}
.hs-btn--outline:not(.wp-block-button),
.hs-btn--outline.wp-block-button > .wp-block-button__link {
	background: transparent;
	color: var(--hs-ink);
	border-color: var(--hs-ink);
	padding: 17px 26px;
	font-size: 17px;
}
.hs-btn:not(.wp-block-button):hover,
.hs-btn.wp-block-button > .wp-block-button__link:hover { transform: translateY(-2px); }

/* ============================================================
 * 3. Clock bar
 * ============================================================ */
.hs-topbar {
	background: var(--hs-ink);
	color: var(--hs-paper);
	font-family: var(--hs-mono);
	font-size: 13px;
	letter-spacing: 0.06em;
}
.hs-topbar__inner {
	max-width: var(--hs-max);
	margin-inline: auto;
	padding: 10px var(--hs-gutter);
	display: flex;
	align-items: center;
	gap: 32px;
}
.hs-topbar__label { flex-grow: 1; color: var(--hs-dim); }
.hs-clock { display: flex; align-items: center; gap: 8px; }
.hs-clock strong { font-weight: 500; }
.hs-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.hs-dot--tokyo { background: var(--hs-tokyo); }
.hs-dot--berlin { background: var(--hs-berlin); }
.hs-dot--mexico { background: var(--hs-mexico); }

/* ============================================================
 * 4. Header
 * ============================================================ */
.hs-headerwrap {
	position: sticky;
	top: 0;
	z-index: 20;
}
.hs-header {
	background: color-mix(in srgb, var(--hs-paper) 88%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(18, 18, 18, 0.1);
}
.hs-nav {
	max-width: var(--hs-max);
	margin-inline: auto;
	padding: 18px var(--hs-gutter);
	display: flex;
	align-items: center;
	gap: 40px;
}
.hs-wordmark {
	text-decoration: none;
	color: var(--hs-ink);
	display: flex;
	align-items: center;
	gap: 12px;
	white-space: nowrap;
}
.hs-seal {
	font-family: var(--hs-jp);
	width: 40px; height: 40px;
	background: var(--hs-acc);
	color: var(--hs-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
	border-radius: var(--hs-r-sm);
	flex: none;
}
.hs-wordmark__text { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }

.hs-nav__links {
	flex-grow: 1;
	display: flex;
	gap: 36px;
	justify-content: flex-end;
	font-size: 16px;
	font-weight: 500;
}
.hs-navlink { position: relative; text-decoration: none; }
.hs-navlink::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -6px;
	height: 2px;
	background: var(--hs-acc);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.35s;
}
.hs-navlink:hover::after,
.hs-navlink[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* The language switcher sits with the nav; it is a shared sfp-blocks block. */
.hs-nav .wp-block-sfp-blocks-language-switcher { flex: none; font-family: var(--hs-mono); font-size: 13px; }

/* ============================================================
 * 5. Burger + drawer
 * ============================================================ */
.hs-burger {
	display: none;
	width: 48px; height: 48px;
	border-radius: 50%;
	/* 3:1 against white — the reference's rgba(ink,.2) is 1.54:1. */
	border: 1.5px solid var(--hs-rule-strong);
	background: var(--hs-white);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	cursor: pointer;
	padding: 0;
	margin-left: auto;
}
.hs-burger span { display: block; width: 22px; height: 2px; background: var(--hs-ink); border-radius: 2px; }
.hs-burger span:nth-child(2) { width: 14px; margin-left: 8px; }

/*
 * One viewport-sized clip layer for the scrim and the drawer. The closed
 * drawer is translated a full panel-width past the right edge, and a fixed
 * element counts toward scrollable overflow even at visibility:hidden.
 */
.hs-menu {
	position: fixed;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 90;
}
.hs-menu > * { pointer-events: auto; }

.hs-scrim {
	position: absolute;
	inset: 0;
	background: rgba(18, 18, 18, 0.55);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.4s;
	z-index: 1;
}
.hs-drawer {
	position: absolute;
	top: 0; right: 0;
	height: 100%;
	width: min(84vw, 340px);
	background: var(--hs-ink);
	color: var(--hs-paper);
	transform: translateX(100%);
	transition: transform 0.55s var(--hs-ease-draw);
	z-index: 2;
	padding: 20px 26px 28px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	overflow-y: auto;
	visibility: hidden;
}
.hs-drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.hs-drawer__seal {
	font-family: var(--hs-jp);
	width: 34px; height: 34px;
	background: var(--hs-acc);
	color: var(--hs-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 700;
	border-radius: var(--hs-r-sm);
}
.hs-drawer__close {
	width: 48px; height: 48px;
	border-radius: 50%;
	border: 1.5px solid rgba(242, 239, 233, 0.4);
	background: transparent;
	color: var(--hs-paper);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.hs-drawer__links { display: flex; flex-direction: column; gap: 4px; }
.hs-dlink {
	display: flex;
	align-items: baseline;
	gap: 14px;
	min-height: 54px;
	text-decoration: none;
	color: var(--hs-paper);
	font-size: 44px;
	font-weight: 700;
	letter-spacing: -0.04em;
	opacity: 0;
	transform: translateX(30px);
	transition: opacity 0.45s, transform 0.45s var(--hs-ease);
}
.hs-dlink:hover { color: var(--hs-drawer-hover); }
.hs-dlink span { font-family: var(--hs-mono); font-size: 12px; font-weight: 400; color: var(--hs-dim); letter-spacing: 0; }

.hs-drawer__photo { flex: 1; min-height: 140px; border-radius: var(--hs-r); overflow: hidden; position: relative; }
.hs-drawer__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hs-drawer__clocks { display: flex; flex-direction: column; gap: 8px; font-family: var(--hs-mono); font-size: 13px; }
.hs-drawer__clocks > div {
	display: flex;
	justify-content: space-between;
	border-top: 1px solid var(--hs-rule-on-ink);
	padding-top: 8px;
}
.hs-drawer__clocks i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }

.hs-menu-open { overflow: hidden; }
.hs-menu-open .hs-scrim { opacity: 1; }
.hs-menu-open .hs-drawer { transform: none; visibility: visible; }
.hs-menu-open .hs-dlink { opacity: 1; transform: none; }
.hs-menu-open .hs-dlink:nth-child(1) { transition-delay: 0.18s; }
.hs-menu-open .hs-dlink:nth-child(2) { transition-delay: 0.25s; }
.hs-menu-open .hs-dlink:nth-child(3) { transition-delay: 0.32s; }
.hs-menu-open .hs-dlink:nth-child(4) { transition-delay: 0.39s; }

/* ============================================================
 * 6. Hero
 * ============================================================ */
.hs-hero {
	position: relative;
	max-width: var(--hs-max);
	margin-inline: auto;
	padding: 80px var(--hs-gutter) 64px;
	align-items: end;
}
.hs-hero__copy { grid-column: span 8; display: flex; flex-direction: column; gap: 36px; }
.hs-hero__title { margin: 0; font-size: 116px; line-height: 0.92; font-weight: 700; letter-spacing: -0.055em; }
/* The headline's own emphasis: "across" and "and" light, "cultures" accent. */
.hs-hero__title .hs-light { font-weight: 300; }
.hs-hero__title .hs-accent { color: var(--hs-acc); }

/*
 * Japanese line breaking.
 *
 * Japanese has no spaces, so a browser will break a heading anywhere it
 * likes — including through the middle of a katakana word, which is how
 * the Japanese homepage rendered "デザイン" as "デザイ / ン". `auto-phrase`
 * breaks at phrase boundaries instead, which is what the language actually
 * wants; browsers without it fall back to the old behaviour, which is what
 * they do today.
 *
 * Scoped with :lang() rather than a body class so it follows the text, not
 * the page — the 橋 and 東京 on the English page are single glyphs and never
 * need to break.
 */
:lang(ja) :is(.hs-hero__title, .hs-headrow__title, .hs-contact__title, .hs-practice__statement, .hs-row__head h3) {
	word-break: auto-phrase;
	line-break: strict;
}
.hs-hero__lede { margin: 0; max-width: 640px; font-size: 21px; line-height: 1.55; color: var(--hs-body); }
.hs-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hs-hero__actions .wp-block-button { margin: 0; }

.hs-hero__kanji {
	grid-column: span 4;
	position: relative;
	height: 460px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hs-hero__kanji > svg { position: absolute; }
.hs-hero__kanji > svg.hs-kanji-figure { position: relative; }
.hs-stamp {
	position: absolute;
	right: 0; bottom: 36px;
	background: var(--hs-ink);
	color: var(--hs-paper);
	padding: 10px 14px;
	font-family: var(--hs-mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: var(--hs-r-sm);
}
.hs-stamp em { font-style: normal; color: var(--hs-stamp-accent); }

/* ============================================================
 * 7. Bridge band
 * ============================================================ */
.hs-bandwrap { padding: 0 var(--hs-gutter); }
.hs-band {
	max-width: 1344px;
	margin-inline: auto;
	position: relative;
	height: 640px;
	border-radius: var(--hs-r-lg);
	overflow: hidden;
	background: var(--hs-navy);
}
.hs-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-band figure { margin: 0; }
.hs-band__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 16, 28, 0.65) 0%, rgba(12, 16, 28, 0.1) 45%, rgba(12, 16, 28, 0.55) 100%);
}
.hs-band__svg { position: absolute; inset: 0; }
.hs-band__labels {
	position: absolute;
	left: 0; right: 0; bottom: 40px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 0 var(--hs-gutter);
	color: var(--hs-paper);
}
.hs-band__city { display: flex; flex-direction: column; gap: 4px; }
.hs-band__city--start { align-items: flex-start; text-align: left; }
.hs-band__city--center { align-items: center; text-align: center; }
.hs-band__city--end { align-items: flex-end; text-align: right; }
.hs-band__name { font-family: var(--hs-jp); font-size: 34px; font-weight: 700; line-height: 1; }
.hs-band__meta { font-family: var(--hs-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--hs-band-label); }

/* ============================================================
 * 8. Marquee
 * ============================================================ */
.hs-marqueewrap {
	margin-top: 72px;
	border-top: 1px solid var(--hs-rule-soft);
	border-bottom: 1px solid var(--hs-rule-soft);
	padding: 22px 0;
	overflow: hidden;
}
.hs-marquee__text { font-size: 44px; font-weight: 300; letter-spacing: -0.02em; white-space: nowrap; }
.hs-marquee__text > span { padding-right: 40px; }
.hs-marquee__sep { color: var(--hs-acc); }

/* ============================================================
 * 9. Practice + stats
 * ============================================================ */
.hs-practice {
	max-width: var(--hs-max);
	margin-inline: auto;
	padding: 120px var(--hs-gutter) 80px;
	row-gap: 56px;
}
.hs-practice__mark { grid-column: span 4; display: flex; flex-direction: column; gap: 14px; }
.hs-practice__kanji { font-family: var(--hs-jp); font-size: 120px; line-height: 1; color: var(--hs-acc); font-weight: 700; }
.hs-practice__statement {
	grid-column: span 8;
	margin: 0;
	font-size: 44px;
	line-height: 1.15;
	font-weight: 400;
	letter-spacing: -0.025em;
}
.hs-practice__statement .hs-accent { color: var(--hs-acc); }

.hs-stats {
	grid-column: span 12;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	border-top: 1px solid var(--hs-rule-soft);
	padding-top: 40px;
}
.hs-stat { display: flex; flex-direction: column; gap: 8px; }
.hs-stat__value { font-size: 120px; line-height: 0.85; font-weight: 700; letter-spacing: -0.05em; }
.hs-stat--accent .hs-stat__value { color: var(--hs-acc); }
.hs-stat--light .hs-stat__value { font-weight: 300; }
.hs-stat__label {
	font-family: var(--hs-mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hs-muted);
}

/* ============================================================
 * 10. Offices (dark)
 * ============================================================ */
.hs-offices { background: var(--hs-ink); color: var(--hs-paper); padding: 120px 0; }
.hs-offices__inner {
	max-width: var(--hs-max);
	margin-inline: auto;
	padding-inline: var(--hs-gutter);
	display: flex;
	flex-direction: column;
	gap: 56px;
}
.hs-headrow { display: flex; align-items: flex-end; gap: 48px; }
.hs-headrow__main { flex-grow: 1; display: flex; flex-direction: column; gap: 14px; }
.hs-headrow__title { margin: 0; font-size: 96px; line-height: 0.9; font-weight: 700; letter-spacing: -0.05em; }
.hs-headrow__intro { margin: 0; max-width: 380px; font-size: 18px; line-height: 1.55; color: var(--hs-on-dark-muted); }
.hs-headrow__link { font-size: 18px; font-weight: 600; flex: none; }

.hs-officegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hs-office { display: flex; flex-direction: column; gap: 22px; }
.hs-office__photo {
	position: relative;
	height: 380px;
	border-radius: var(--hs-r);
	overflow: hidden;
	background: var(--hs-photo-bg);
}
.hs-office__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-office__photo figure { margin: 0; height: 100%; }
.hs-office__clock {
	position: absolute;
	left: 16px; top: 16px;
	background: rgba(18, 18, 18, 0.78);
	color: var(--hs-paper);
	padding: 8px 12px;
	border-radius: var(--hs-r-sm);
	font-family: var(--hs-mono);
	font-size: 13px;
	letter-spacing: 0.06em;
	display: flex;
	align-items: center;
	gap: 8px;
}
.hs-office__glyph {
	font-family: var(--hs-jp);
	position: absolute;
	right: 18px; bottom: 6px;
	font-size: 64px;
	font-weight: 900;
	color: var(--hs-white);
	opacity: 0.92;
	line-height: 1.2;
}
.hs-office__bar { height: 3px; }
.hs-office__bar--tokyo { background: var(--hs-tokyo); }
.hs-office__bar--berlin { background: var(--hs-berlin); }
.hs-office__bar--mexico { background: var(--hs-mexico); }
.hs-office__name { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hs-office__name h3 { margin: 0; font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.hs-office__native { font-family: var(--hs-jp); font-size: 18px; color: var(--hs-on-dark-muted); }
.hs-office p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--hs-on-dark); }
.hs-office__meta {
	font-family: var(--hs-mono);
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--hs-on-dark-muted);
	border-top: 1px solid var(--hs-rule-on-ink);
	padding-top: 16px;
}
.hs-office__meta a { color: var(--hs-paper); min-height: 32px; display: flex; align-items: center; }

/* ============================================================
 * 11. Selected work
 * ============================================================ */
.hs-work {
	max-width: var(--hs-max);
	margin-inline: auto;
	padding: 120px var(--hs-gutter);
	row-gap: 48px;
	align-items: start;
}
.hs-work .hs-headrow { grid-column: span 12; }
.hs-work__list { grid-column: span 5; display: flex; flex-direction: column; border-top: 1px solid var(--hs-rule); }

/*
 * The whole row is clickable but only the heading is a link.
 *
 * The reference makes the row itself an <a> wrapping the meta line and the
 * title, which means the copy inside it cannot be core blocks. Here the row
 * is a group of real editable blocks and the heading's link stretches over it
 * with a pseudo-element — the standard accessible card pattern, and one tab
 * stop per case study rather than one per row plus its contents.
 */
.hs-row {
	position: relative;
	text-decoration: none;
	color: var(--hs-quiet);
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 32px 0;
	border-bottom: 1px solid var(--hs-rule);
}
.hs-row.is-active { color: var(--hs-ink); }
.hs-row__meta {
	font-family: var(--hs-mono);
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hs-muted);
}
.hs-row__head { display: flex; align-items: flex-start; gap: 16px; }
.hs-row__head h3 { flex-grow: 1; margin: 0; font-size: 32px; line-height: 1.08; font-weight: 600; letter-spacing: -0.025em; }
.hs-row__head h3 a { text-decoration: none; color: inherit; }
.hs-row__head h3 a::after { content: ""; position: absolute; inset: 0; }
.hs-row:has(a:focus-visible) { outline: 3px solid var(--hs-acc); outline-offset: 3px; }
.hs-row__head h3 a:focus-visible { outline: none; }
.hs-row__arrow { font-size: 30px; color: inherit; }
.hs-row.is-active .hs-row__arrow { color: var(--hs-acc); }

.hs-work__preview {
	grid-column: 7 / span 6;
	position: sticky;
	top: 110px;
	height: 560px;
	border-radius: var(--hs-r);
	overflow: hidden;
	background: var(--hs-preview-bg);
}
.hs-pv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-pv figure { margin: 0; height: 100%; }
.hs-pv__caption {
	position: absolute;
	left: 20px; bottom: 20px;
	background: var(--hs-paper);
	color: var(--hs-ink);
	padding: 10px 14px;
	border-radius: var(--hs-r-sm);
	font-family: var(--hs-mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ============================================================
 * 12. Contact
 * ============================================================ */
.hs-contactwrap { padding: 0 var(--hs-gutter) 96px; }
.hs-contact {
	/* 1344 content + 2 x 72 padding, matching the reference's content box. */
	max-width: 1488px;
	margin-inline: auto;
	position: relative;
	overflow: hidden;
	background: var(--hs-acc);
	color: var(--hs-white);
	border-radius: var(--hs-r-lg);
	padding: 88px 72px;
	display: flex;
	flex-direction: column;
	gap: 56px;
}
.hs-contact__kanji {
	font-family: var(--hs-jp);
	position: absolute;
	right: -40px; top: -90px;
	font-size: 520px;
	line-height: 1;
	font-weight: 900;
	color: var(--hs-white);
	opacity: 0.1;
	pointer-events: none;
}
.hs-contact__title {
	position: relative;
	margin: 0;
	font-size: 104px;
	line-height: 0.9;
	font-weight: 700;
	letter-spacing: -0.05em;
	max-width: 900px;
}
.hs-contact__cards { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hs-mailcard {
	text-decoration: none;
	color: var(--hs-ink);
	background: var(--hs-paper);
	border-radius: var(--hs-r);
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.hs-mailcard__label {
	font-family: var(--hs-mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hs-muted);
}
.hs-mailcard__address { font-size: 22px; font-weight: 600; }

/* ============================================================
 * 13. Footer
 * ============================================================ */
.hs-footer {
	max-width: var(--hs-max);
	margin-inline: auto;
	padding: 0 var(--hs-gutter) 48px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.hs-footer__big {
	font-size: 200px;
	line-height: 0.8;
	font-weight: 700;
	letter-spacing: -0.06em;
	display: flex;
	align-items: flex-end;
	gap: 24px;
}
.hs-footer__big .hs-jp { font-size: 150px; color: var(--hs-acc); }
.hs-footer__row {
	border-top: 1px solid var(--hs-rule);
	padding-top: 22px;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	font-size: 15px;
	color: var(--hs-muted);
	flex-wrap: wrap;
}
.hs-footer__links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ============================================================
 * 14. Tablet — 1024
 * ============================================================ */
@media (max-width: 1024px) {
	.hs-hero,
	.hs-practice,
	.hs-work {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 40px;
	}
	.hs-hero > *,
	.hs-practice > *,
	.hs-work > * { grid-column: auto; }

	.hs-hero__title { font-size: 88px; }
	.hs-hero__kanji { height: 320px; align-self: center; }
	.hs-hero__kanji svg { width: 300px; height: 300px; }

	.hs-practice__statement { font-size: 34px; }
	.hs-headrow { flex-direction: column; align-items: flex-start; gap: 18px; }
	.hs-headrow__title { font-size: 72px; }

	/* The preview stops being sticky and moves above the list. */
	.hs-work__preview { position: relative; top: 0; height: 440px; order: 1; }
	.hs-work__list { order: 2; }

	.hs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
	.hs-stat__value { font-size: 100px; }

	.hs-office__photo { height: 340px; }
	.hs-contact__title { font-size: 72px; }
	.hs-footer__big { font-size: 140px; }
	.hs-footer__big .hs-jp { font-size: 104px; }
}

/* ============================================================
 * 15. Burger — 900
 * ============================================================ */
@media (max-width: 900px) {
	/* Scoped to .hs-header so these outrank .hs-btn:not(.wp-block-button),
	   which is two classes and would otherwise keep the links laid out. */
	.hs-header .hs-nav__links { display: none; }
	.hs-burger { display: flex; }
	.hs-nav { padding: 10px 12px 10px 20px; }

	.hs-topbar__label { display: none; }
	.hs-topbar__inner { justify-content: space-between; padding: 8px 20px; gap: 12px; }

	.hs-officegrid,
	.hs-contact__cards { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.hs-contact__cards { gap: 10px; }
}

/* ============================================================
 * 16. Phone — 720
 * ============================================================ */
@media (max-width: 720px) {
	.hs-bandwrap,
	.hs-contactwrap { padding-left: 12px; padding-right: 12px; }

	.hs-hero { position: relative; padding-top: 28px; padding-bottom: 32px; gap: 24px; }
	/* The 橋 shrinks into the top-right corner rather than stacking. */
	.hs-hero__kanji {
		position: absolute;
		right: 6px; top: 6px;
		height: 150px;
		width: 150px;
		align-self: auto;
	}
	.hs-hero__kanji svg { width: 150px; height: 150px; }
	.hs-hero__kanji .hs-stamp { display: none; }
	.hs-hero__copy { gap: 22px; }
	.hs-hero__copy > .hs-eyebrow { max-width: 200px; }
	.hs-hero__title { font-size: 56px; margin-top: 64px; }
	.hs-hero__lede { font-size: 17px; }
	.hs-hero__actions { flex-direction: column; align-items: stretch; }
	.hs-hero__actions .hs-btn { text-align: center; width: 100%; }

	.hs-band { height: 440px; }
	.hs-band img { object-position: 40% 50%; }
	.hs-band__labels { padding: 0 16px; bottom: 22px; }
	.hs-band__name { font-size: 18px; }
	.hs-band__meta { font-size: 11px; }

	.hs-marquee__text { font-size: 26px; }

	.hs-practice,
	.hs-work { padding-top: 64px; padding-bottom: 48px; }
	.hs-practice__kanji { font-size: 72px; }
	.hs-practice__statement { font-size: 28px; }
	.hs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
	.hs-stat__value { font-size: 76px; }

	.hs-offices { padding: 64px 0; }
	.hs-headrow__title { font-size: 54px; }
	.hs-office__photo { height: 250px; }
	.hs-office__name h3 { font-size: 32px; }

	.hs-work__preview { height: 240px; }
	.hs-row { padding: 20px 0; }
	.hs-row:hover, .hs-row:focus-visible { padding-left: 0; }
	.hs-row__head h3 { font-size: 23px; }

	.hs-contact { padding: 44px 20px; gap: 28px; }
	.hs-contact__title { font-size: 50px; }
	.hs-contact__kanji { font-size: 240px; top: -40px; right: -30px; }
	.hs-mailcard__address { font-size: 18px; }

	.hs-footer__big { font-size: 96px; }
	.hs-footer__big .hs-jp { font-size: 70px; }
	.hs-footer__row { flex-direction: column; }
}
