/*
Theme Name: Soup Shop Accessible
Theme URI: https://www.eatsoupshop.com/
Author: Soup Shop
Description: A polished, accessible, mobile-first theme for Soup Shop Vietnamese Noodle House.
Version: 1.0.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: soup-shop-accessible
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--cream: #fff8ed;
	--cream-deep: #f1e5d4;
	--paper: #ffffff;
	--ink: #211a16;
	--ink-soft: #5f5148;
	--red: #a61f2b;
	--red-dark: #7f1520;
	--red-bright: #cf2f3d;
	--yellow: #f5c45a;
	--line: #d9cbbb;
	--success: #12643b;
	--error: #9d1824;
	--focus: #0069c2;
	--shadow: 0 18px 50px rgba(43, 24, 14, 0.12);
	--radius: 22px;
	--shell: 1180px;
	--font-body: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
	--font-display: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 104px;
}

body {
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	margin: 0;
	min-width: 0;
}

body.nav-open {
	overflow: hidden;
}

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

a {
	color: var(--red-dark);
	text-decoration-thickness: 0.1em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--red);
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	touch-action: manipulation;
}

:where(a, button, input, textarea, select, summary):focus-visible {
	border-radius: 4px;
	outline: 3px solid var(--focus);
	outline-offset: 4px;
}

h1,
h2,
h3,
h4 {
	color: inherit;
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.03;
	margin: 0 0 0.65em;
	overflow-wrap: anywhere;
}

h1 {
	font-size: clamp(2.7rem, 6.2vw, 5.4rem);
	max-width: 13ch;
}

h2 {
	font-size: clamp(2.25rem, 4.2vw, 4.35rem);
	max-width: 14ch;
}

h3 {
	font-size: clamp(1.3rem, 2vw, 1.75rem);
}

p,
ul,
ol,
blockquote {
	margin-top: 0;
}

.shell {
	margin-inline: auto;
	max-width: var(--shell);
	padding-inline: clamp(20px, 4vw, 48px);
	width: 100%;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	white-space: nowrap;
	width: 1px;
}

.skip-link {
	background: var(--paper);
	border: 3px solid var(--focus);
	color: var(--ink);
	font-weight: 800;
	left: 16px;
	padding: 12px 18px;
	position: fixed;
	top: -100px;
	z-index: 9999;
}

.skip-link:focus {
	top: 16px;
}

#main-content:focus {
	outline: none;
}

.site-header {
	background: rgba(255, 248, 237, 0.98);
	border-bottom: 1px solid rgba(33, 26, 22, 0.12);
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-header__inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
	min-height: 88px;
}

.brand {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	min-height: 56px;
	padding-block: 4px;
}

.brand img {
	height: auto;
	width: 86px;
}

.primary-nav,
.primary-nav .menu {
	align-items: center;
	display: flex;
}

.primary-nav {
	gap: 22px;
}

.primary-nav .menu {
	gap: clamp(16px, 2vw, 28px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav .menu a {
	color: var(--ink);
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 750;
	min-height: 44px;
	align-items: center;
	text-decoration: none;
}

.primary-nav .menu a:hover {
	color: var(--red);
}

.menu-toggle {
	align-items: center;
	background: transparent;
	border: 2px solid var(--red);
	border-radius: 12px;
	color: var(--ink);
	cursor: pointer;
	display: none;
	gap: 10px;
	min-height: 48px;
	padding: 8px 12px;
}

.menu-toggle__label {
	font-size: 0.875rem;
	font-weight: 800;
}

.menu-toggle__icon {
	display: grid;
	gap: 4px;
}

.menu-toggle__icon span {
	background: currentColor;
	display: block;
	height: 2px;
	transition: transform 180ms ease, opacity 180ms ease;
	width: 22px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.button {
	align-items: center;
	background: var(--red-bright);
	border: 2px solid var(--red-bright);
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-weight: 850;
	justify-content: center;
	line-height: 1.2;
	min-height: 52px;
	padding: 13px 24px;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
	background: var(--red-dark);
	border-color: var(--red-dark);
	color: #fff;
	transform: translateY(-2px);
}

.button-small {
	font-size: 0.9rem;
	min-height: 44px;
	padding: 9px 18px;
}

.button-light {
	background: #fff;
	border-color: #fff;
	color: var(--ink);
}

.button-light:hover {
	background: var(--yellow);
	border-color: var(--yellow);
	color: var(--ink);
}

.hero {
	align-items: center;
	background-color: #3a2118;
	background-image: linear-gradient(90deg, rgba(22, 13, 9, 0.9) 0%, rgba(22, 13, 9, 0.65) 50%, rgba(22, 13, 9, 0.34) 100%), url("assets/images/hero-food-spread.webp");
	background-position: center;
	background-size: cover;
	color: #fff;
	display: flex;
	min-height: min(760px, calc(100svh - 88px));
	position: relative;
}

.hero::after {
	background: linear-gradient(180deg, transparent 65%, rgba(22, 13, 9, 0.28));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.hero__inner {
	position: relative;
	z-index: 1;
}

.hero__copy {
	max-width: 760px;
	padding-block: clamp(68px, 7vw, 94px);
}

.hero__description {
	font-size: clamp(1.05rem, 1.7vw, 1.3rem);
	max-width: 640px;
}

.eyebrow {
	color: var(--yellow);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.16em;
	margin-bottom: 18px;
	text-transform: uppercase;
}

.eyebrow-red {
	color: var(--red);
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.order-strip {
	background: var(--red-dark);
	color: #fff;
}

.order-strip__inner {
	align-items: center;
	display: grid;
	gap: 18px 30px;
	grid-template-columns: auto 1fr;
	padding-block: 22px;
}

.order-strip p {
	margin: 0;
	white-space: nowrap;
}

.order-strip ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.order-strip a {
	align-items: center;
	border: 1px solid rgba(255,255,255,0.48);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 750;
	min-height: 44px;
	padding: 8px 15px;
	text-decoration: none;
}

.order-strip a:hover {
	background: #fff;
	color: var(--red-dark);
}

.section {
	padding-block: clamp(76px, 10vw, 138px);
	scroll-margin-top: 90px;
}

.section > .shell[id] {
	scroll-margin-top: 90px;
}

.story__grid {
	align-items: center;
	display: grid;
	gap: clamp(44px, 8vw, 100px);
	grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
}

.lead {
	color: var(--ink-soft);
	font-size: clamp(1.05rem, 1.7vw, 1.24rem);
	max-width: 62ch;
}

.brand-points {
	display: grid;
	gap: 14px;
	list-style: none;
	margin: 34px 0 0;
	padding: 0;
}

.brand-points li {
	align-items: center;
	border-top: 1px solid var(--line);
	display: grid;
	gap: 4px 14px;
	grid-template-columns: 44px 1fr;
	padding-top: 14px;
}

.brand-points li > span {
	color: var(--red);
	font-weight: 900;
	grid-row: 1 / 3;
}

.brand-points strong {
	font-family: var(--font-display);
	font-size: 1.2rem;
}

.brand-points small {
	color: var(--ink-soft);
}

.story__photos {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(140px, 0.58fr);
	min-height: 550px;
	position: relative;
}

.story__photo {
	box-shadow: var(--shadow);
	object-fit: cover;
}

.story__photo-main {
	border-radius: 140px 140px 22px 22px;
	height: 560px;
	width: 100%;
}

.story__photo-side {
	align-self: end;
	border: 8px solid var(--cream);
	border-radius: var(--radius);
	height: 230px;
	margin-left: -38px;
	margin-bottom: 22px;
	position: relative;
	width: calc(100% + 38px);
	object-position: center;
}

.food {
	background: var(--ink);
	color: #fff;
}

.section-heading {
	align-items: end;
	display: grid;
	gap: 36px;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
	margin-bottom: clamp(42px, 6vw, 72px);
}

.section-heading h2,
.section-heading p:last-child {
	margin-bottom: 0;
}

.section-heading > p {
	color: inherit;
	font-size: 1.08rem;
	opacity: 0.82;
}

.dish-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dish-card {
	align-items: center;
	background: #302822;
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: var(--radius);
	display: grid;
	gap: 18px;
	grid-template-columns: 136px minmax(0, 1fr);
	min-width: 0;
	overflow: hidden;
	padding: 10px 18px 10px 10px;
}

.dish-card img {
	border-radius: 14px;
	height: 196px;
	object-fit: cover;
	width: 130px;
}

.dish-card h3 {
	font-size: 1.25rem;
	margin: 0;
}

.dish-card__number {
	color: var(--yellow);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	margin-bottom: 12px;
}

.menu-callout {
	align-items: center;
	background: var(--cream);
	border-radius: var(--radius);
	color: var(--ink);
	display: flex;
	gap: 28px;
	justify-content: space-between;
	margin-top: 24px;
	padding: clamp(28px, 4vw, 46px);
}

.menu-callout h3 {
	font-size: clamp(1.75rem, 3vw, 2.6rem);
	margin-bottom: 6px;
}

.menu-callout p:last-child {
	margin-bottom: 0;
}

.reviews {
	background: var(--red-dark);
	color: #fff;
	position: relative;
}

.reviews::before {
	background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
	background-size: 18px 18px;
	content: "";
	inset: 0;
	opacity: 0.35;
	pointer-events: none;
	position: absolute;
}

.reviews .shell {
	position: relative;
}

.review-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 50px;
}

.review-grid blockquote {
	background: rgba(255,255,255,0.09);
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	margin: 0;
	min-height: 350px;
	padding: clamp(26px, 4vw, 44px);
}

.quote-mark {
	color: var(--yellow);
	font-family: Georgia, serif;
	font-size: 5rem;
	line-height: 0.7;
	margin-bottom: 22px;
}

.review-grid blockquote > p {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	line-height: 1.5;
}

.review-grid blockquote footer {
	font-size: 0.86rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	margin-top: auto;
	padding-top: 24px;
	text-transform: uppercase;
}

.locations {
	background: var(--cream);
}

.location-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.location-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: clamp(24px, 3vw, 34px);
	position: relative;
	transition: box-shadow 160ms ease, transform 160ms ease;
}

.location-card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}

.location-card__number {
	color: var(--red);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.14em;
}

.location-card h3 {
	font-size: 1.45rem;
	margin-bottom: 18px;
}

.location-card address {
	font-style: normal;
	font-weight: 650;
	margin-bottom: 12px;
}

.location-card__hours {
	color: var(--ink-soft);
}

.phone-link {
	align-items: center;
	display: inline-flex;
	font-weight: 800;
	min-height: 44px;
}

.location-card__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	margin-top: auto;
	padding-top: 20px;
}

.text-link {
	font-weight: 800;
	min-height: 44px;
	align-items: center;
	display: inline-flex;
}

.catering {
	align-items: center;
	background: var(--red-dark);
	border-radius: var(--radius);
	color: #fff;
	display: flex;
	gap: 28px;
	justify-content: space-between;
	margin-top: 24px;
	padding: clamp(28px, 5vw, 54px);
}

.catering h3 {
	font-size: clamp(1.75rem, 3.4vw, 3rem);
	margin-bottom: 8px;
}

.catering p:last-child {
	margin-bottom: 0;
}

.contact {
	background: var(--ink);
	color: #fff;
}

.contact__grid {
	display: grid;
	gap: clamp(42px, 8vw, 100px);
	grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.22fr);
}

.contact-links {
	list-style: none;
	margin: 40px 0 0;
	padding: 0;
}

.contact-links li {
	border-top: 1px solid rgba(255,255,255,0.22);
	display: grid;
	gap: 4px;
	padding-block: 17px;
}

.contact-links span {
	color: var(--yellow);
	font-size: 0.74rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.contact-links a {
	align-items: center;
	color: #fff;
	display: inline-flex;
	font-size: 1.08rem;
	font-weight: 750;
	min-height: 44px;
	overflow-wrap: anywhere;
}

.contact__form-wrap {
	background: var(--paper);
	border-radius: var(--radius);
	color: var(--ink);
	padding: clamp(24px, 5vw, 52px);
}

.form-instructions {
	color: var(--ink-soft);
	font-size: 0.9rem;
}

.contact-form {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.field-full,
.form-summary,
.honeypot {
	grid-column: 1 / -1;
}

.field label {
	font-weight: 800;
}

.field input,
.field textarea {
	background: #fff;
	border: 2px solid #8a7a70;
	border-radius: 10px;
	color: var(--ink);
	min-height: 50px;
	padding: 11px 13px;
	width: 100%;
}

.field textarea {
	min-height: 150px;
	resize: vertical;
}

.field input:hover,
.field textarea:hover {
	border-color: var(--ink);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
	border-color: var(--error);
	box-shadow: 0 0 0 1px var(--error);
}

.field small {
	color: var(--ink-soft);
}

.field .field-error {
	color: var(--error);
	font-weight: 750;
}

.form-notice,
.form-summary {
	border-left: 5px solid;
	border-radius: 8px;
	margin-bottom: 20px;
	padding: 14px 17px;
}

.form-notice p:last-child,
.form-summary p:last-child,
.form-summary ul {
	margin-bottom: 0;
}

.form-notice-success {
	background: #e8f7ee;
	border-color: var(--success);
}

.form-notice-error,
.form-summary {
	background: #fff0f1;
	border-color: var(--error);
}

.honeypot {
	height: 1px;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.tracking-frame {
	display: none;
	visibility: hidden;
}

.site-footer {
	background: #140f0c;
	color: #fff;
	padding-block: 56px 26px;
}

.site-footer__grid {
	align-items: start;
	display: grid;
	gap: 38px;
	grid-template-columns: 1.3fr 1fr 1fr;
}

.footer-brand {
	align-items: center;
	display: flex;
	gap: 18px;
}

.footer-brand img {
	height: auto;
	width: 88px;
}

.footer-brand p {
	line-height: 1.45;
	margin: 0;
}

.social-links,
.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.social-links a,
.footer-links a {
	align-items: center;
	color: #fff;
	display: inline-flex;
	min-height: 44px;
}

.social-links a {
	border: 1px solid rgba(255,255,255,0.28);
	border-radius: 999px;
	padding: 7px 13px;
	text-decoration: none;
}

.social-links a:hover {
	background: #fff;
	color: var(--ink);
}

.site-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.18);
	color: #d9d0cb;
	font-size: 0.86rem;
	margin-top: 38px;
	padding-top: 24px;
}

.site-footer__bottom p {
	margin: 0;
}

.page-main {
	min-height: 60vh;
	padding-block: clamp(70px, 9vw, 120px);
}

.prose {
	max-width: 850px;
}

.prose h1 {
	max-width: 16ch;
}

.prose h2 {
	font-size: clamp(1.75rem, 3vw, 2.65rem);
	margin-top: 1.6em;
	max-width: none;
}

.prose :where(p, li) {
	max-width: 72ch;
}

.prose li + li {
	margin-top: 0.55em;
}

.statement-contact {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	list-style: none;
	padding: 22px 26px;
}

.statement-date {
	color: var(--ink-soft);
	font-size: 0.9rem;
	margin-top: 38px;
}

.post-summary {
	border-top: 1px solid var(--line);
	padding-block: 30px;
}

@media (max-width: 1020px) {
	.site-header__inner {
		min-height: 78px;
	}

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

	.primary-nav {
		align-items: stretch;
		background: var(--cream);
		box-shadow: 0 22px 34px rgba(33, 26, 22, 0.16);
		display: none;
		flex-direction: column;
		gap: 16px;
		left: 0;
		max-height: calc(100svh - 78px);
		overflow-y: auto;
		padding: 20px clamp(20px, 4vw, 48px) 30px;
		position: absolute;
		right: 0;
		top: 100%;
	}

	.primary-nav.is-open {
		display: flex;
	}

	.primary-nav .menu {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.primary-nav .menu a {
		border-bottom: 1px solid var(--line);
		font-size: 1.08rem;
		min-height: 50px;
	}

	.nav-order {
		align-self: stretch;
	}

	.hero {
		min-height: calc(100svh - 78px);
	}

	.story__grid {
		gap: 54px;
		grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
	}

	.dish-grid,
	.location-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact__grid {
		grid-template-columns: 1fr;
	}

	.contact__intro {
		max-width: 720px;
	}
}

@media (max-width: 760px) {
	html {
		scroll-padding-top: 82px;
	}

	.brand img {
		width: 72px;
	}

	.hero {
		background-image: linear-gradient(90deg, rgba(22, 13, 9, 0.86), rgba(22, 13, 9, 0.52)), url("assets/images/hero-food-spread.webp");
		background-position: 58% center;
		min-height: auto;
	}

	.hero__copy {
		padding-block: 74px 80px;
	}

	.hero h1 {
		font-size: clamp(2.65rem, 12.8vw, 4.4rem);
	}

	.button-row,
	.button-row .button {
		width: 100%;
	}

	.order-strip__inner {
		grid-template-columns: 1fr;
	}

	.order-strip p {
		white-space: normal;
	}

	.story__grid,
	.section-heading {
		grid-template-columns: 1fr;
	}

	.story__photos {
		grid-template-columns: minmax(0, 1fr) minmax(110px, 0.52fr);
		min-height: 420px;
	}

	.story__photo-main {
		border-radius: 90px 90px 18px 18px;
		height: 420px;
	}

	.story__photo-side {
		height: 165px;
		margin-left: -26px;
		width: calc(100% + 26px);
	}

	.section-heading {
		gap: 0;
	}

	.dish-grid,
	.location-grid,
	.review-grid {
		grid-template-columns: 1fr;
	}

	.dish-card {
		grid-template-columns: 120px minmax(0, 1fr);
	}

	.dish-card img {
		height: 170px;
		width: 112px;
	}

	.menu-callout,
	.catering {
		align-items: stretch;
		flex-direction: column;
	}

	.review-grid blockquote {
		min-height: 0;
	}

	.contact-form {
		grid-template-columns: 1fr;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.shell {
		padding-inline: 18px;
	}

	.menu-toggle__label {
		clip: rect(1px, 1px, 1px, 1px);
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.menu-toggle {
		justify-content: center;
		width: 48px;
	}

	.hero__description {
		font-size: 1.05rem;
	}

	.story__photos {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.story__photo-main {
		height: auto;
		max-height: none;
		object-fit: initial;
		width: 100%;
	}

	.story__photo-side {
		height: auto;
		margin: -28px 16px 0 auto;
		width: 58%;
	}

	.dish-card {
		grid-template-columns: 100px minmax(0, 1fr);
		padding-right: 12px;
	}

	.dish-card img {
		height: 145px;
		width: 96px;
	}

	.location-card__actions .button,
	.location-card__actions .text-link,
	.catering .button,
	.menu-callout .button,
	.contact-form .button {
		width: 100%;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media (forced-colors: active) {
	.button,
	.order-strip a,
	.social-links a {
		border: 2px solid currentColor;
	}

	:where(a, button, input, textarea, select, summary):focus-visible {
		outline: 3px solid Highlight;
	}
}
