:root {
  color-scheme: light;
  --ink: #071f12;
  --body: #111711;
  --background: #fefefe;
  --green: #a8cc80;
  --green-hover: #97c06a;
  --pale: #ebf3e6;
  --line: #dce7e0;
  --outline: #a6c3b3;
  font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;
  color: var(--body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); }
[hidden] { display: none !important; }
.page { max-width: 1440px; margin-inline: auto; container-type: inline-size; }
.container { width: 94.2%; margin-inline: auto; }
h1, h2, p, figure { margin: 0; }
h1, h2 { color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; min-width: 0; }
button { color: inherit; cursor: pointer; }
section[id] { scroll-margin-top: 1rem; }
:focus-visible { outline: 2px solid #377d4b; outline-offset: 3px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  border: 1px solid transparent;
  border-radius: max(6px, .85cqw);
  background: var(--green);
  padding: .42em .8em;
  color: #071108;
  font-weight: 800;
  line-height: 1.2;
  min-height: 2rem;
}
.button:hover { background: var(--green-hover); }
.button.outline { background: var(--background); border-color: var(--outline); }
.button.outline:hover { background: var(--pale); }
.arrow { font: 700 1.3em / .8 Arial, sans-serif; }

.art { background: var(--art-image, none) center / cover no-repeat; }
.logo {
  display: block;
  width: 10.73cqw;
  flex: none;
  aspect-ratio: 1705 / 600;
  /* 依透明圖的可見範圍對齊既有的標誌框。 */
  background: url("../assets/company-images/logo.png") 50.141% 56.442% / 120.82% 127.17% no-repeat;
}

.header { display: flex; align-items: center; justify-content: space-between; }
.header { min-height: 7.62cqw; padding-inline: 1.07cqw .75cqw; gap: 2.05cqw; }
.brand { display: inline-flex; align-items: center; gap: .48cqw; color: #0b0d0b; font-weight: 900; }
.header .brand > :last-child { font-size: max(1rem, 2.15cqw); white-space: nowrap; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 1.35cqw; font-size: max(.85rem, 1.46cqw); font-weight: 800; }
.nav a, .languages button { white-space: nowrap; }
.nav a:hover, .languages button:hover { text-decoration: underline; text-underline-offset: .25em; }
.header .nav { flex: 1; border-left: 1px solid var(--outline); padding: .5cqw 0 .5cqw 2.9cqw; }
.header-actions { display: grid; gap: .42cqw; justify-items: stretch; margin-left: 5.6cqw; }
.languages { display: flex; justify-content: center; align-items: center; }
.languages button { border: 0; background: none; padding: 0 .63em; font-size: max(.85rem, 1.18cqw); font-weight: 700; line-height: 1.05; }
.languages button + button { border-left: 1px solid var(--outline); }
.header .button { width: 13.3cqw; font-size: max(.85rem, 1.62cqw); }

.hero { display: grid; grid-template-columns: 343fr 284fr 230fr; align-items: end; gap: 1.12cqw; }
.hero-copy { align-self: start; padding: 4.27cqw 0 0 1.14cqw; }
.hero h1 { display: grid; font-size: clamp(2.25rem, 6.22cqw, 5.6rem); font-weight: 900; line-height: .985; letter-spacing: -.023em; }
.hero h1 > span + span { font-size: .93em; letter-spacing: .06em; margin-top: .12em; }
.hero-copy p { margin-top: 1.74cqw; font-size: max(1rem, 2.93cqw); font-weight: 900; white-space: nowrap; color: var(--ink); }
.hero-buttons { display: flex; gap: 1.23cqw; margin-top: 4.02cqw; }
.hero-buttons .button { min-height: 4.42cqw; white-space: nowrap; font-size: max(.85rem, 1.72cqw); }
.hero-buttons .button:first-child { min-width: 20.72cqw; }
.hero-buttons .button:last-child { min-width: 13.48cqw; }
.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: .86cqw;
}
.photo-caption {
  position: absolute;
  top: 1.03cqw;
  left: 1.03cqw;
  display: block;
  padding: .18em .45em;
  border-radius: .64cqw;
  background: #003a21;
  color: white;
  font-weight: 800;
  font-size: max(.85rem, 1.72cqw);
  line-height: 1.42;
}

.services {
  display: grid;
  grid-template-columns: 35.2% 1fr auto;
  align-items: center;
  min-height: 9.45cqw;
  margin-top: 1.72cqw;
  border-radius: .9cqw;
  padding: 1.1cqw 3.05cqw 1.1cqw 6.05cqw;
  background: var(--pale);
}
.service + .service { border-left: 1px solid #b2cdb6; padding-left: 8.05cqw; }
.service h2 { font-size: max(1.1rem, 3.15cqw); font-weight: 900; line-height: 1.12; }
.service p { margin-top: .41cqw; font-size: max(.85rem, 1.79cqw); font-weight: 800; letter-spacing: .035em; }
.services .button { width: 15.12cqw; min-height: 4.18cqw; font-size: max(.85rem, 1.72cqw); }

.find { margin-top: 2.48cqw; }
.find h2 { text-align: center; font-size: max(1.5rem, 3.78cqw); font-weight: 900; line-height: 1.2; }
.search {
  display: flex;
  width: 86.4%;
  height: max(2.65rem, 4.4cqw);
  margin: 1.55cqw auto 0;
  border: 1px solid #a9bbb2;
  border-radius: max(6px, .95cqw);
  background: white;
}
.search-field { display: flex; flex: 1; align-items: center; gap: 1.52cqw; padding: 0 2cqw; }
.search input { flex: 1; width: 100%; height: 100%; border: 0; background: transparent; font-size: max(.85rem, 1.83cqw); font-weight: 700; }
.search input::placeholder { color: #656970; opacity: 1; }
.magnifier { flex: none; width: 1em; height: 1em; border: .14em solid currentColor; border-radius: 50%; position: relative; }
.magnifier::after { content: ""; position: absolute; width: .48em; height: .14em; border-radius: 1px; background: currentColor; bottom: -.19em; right: -.34em; transform: rotate(47deg); }
.search .button { min-width: 9.65cqw; margin: -1px; font-size: max(.9rem, 1.94cqw); letter-spacing: .05em; }
.search-status { width: 86.4%; margin: .4rem auto 0; min-height: 1.2em; font-size: .95rem; }

.directories { display: grid; grid-template-columns: 438fr 420fr; gap: 2.5cqw; margin-top: 2.42cqw; }
.directory { border: 1px solid var(--line); border-radius: .9cqw; overflow: hidden; }
.directory h2 { background: var(--pale); padding: .55cqw 2.75cqw .64cqw; font-size: max(1.1rem, 2.68cqw); line-height: 1.23; font-weight: 900; }
.category-list { list-style: none; margin: 0; padding: .73cqw 2.65cqw 1.16cqw 3.43cqw; }
.manufacturing {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(8, auto);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 4.64cqw;
}
.category-list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .42em;
  width: 100%;
  min-height: max(1.45rem, 2.72cqw);
  border: 0;
  border-bottom: 1px solid #e9ebeb;
  padding: 0 .05em;
  background: transparent;
  text-align: left;
  font-size: max(.85rem, 1.73cqw);
  line-height: 1.2;
  font-weight: 800;
}
.category-list button:hover { background: var(--pale); }
.category-list button .arrow { color: var(--ink); }
.household .ungrouped { margin: .5cqw -1.7cqw 0; }
.household .ungrouped button { border: 1px solid var(--outline); border-radius: .73cqw; min-height: max(2rem, 3.73cqw); padding-inline: 1.15cqw 1.55cqw; }
.ungrouped button > :first-child { display: inline-flex; align-items: center; gap: 1em; }
.grid-icon {
  width: 1.24em;
  height: 1.24em;
  display: inline-grid;
  grid-template: repeat(2, 1fr) / repeat(2, 1fr);
  gap: 2px;
}
.grid-icon i { border: 1px solid #426c52; border-radius: 1px; }

.featured { margin-top: 1.91cqw; }
.featured h2 { display: flex; gap: 2.15cqw; align-items: center; font-size: max(1.28rem, 3.16cqw); line-height: 1.2; font-weight: 900; }
.featured h2::after { content: ""; height: 1px; flex: 1; background: var(--outline); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.52cqw 1.7cqw; margin: 2cqw .2cqw 0; }
.card {
  overflow: hidden;
  padding: 0;
  border: 1px solid #e9ebed;
  border-radius: .86cqw;
  background: var(--background);
  text-align: left;
}
.card:hover { border-color: var(--outline); background: var(--pale); }
.card .art { display: block; width: 100%; aspect-ratio: var(--w) / var(--h); }
.card-title { display: flex; align-items: center; gap: .8em; padding: .46cqw 1.55cqw .7cqw; min-height: max(1.85rem, 3.53cqw); font-size: max(.85rem, 1.68cqw); font-weight: 800; }

.contact { margin-top: 2.25cqw; background: var(--pale); }
.contact-inner { display: grid; grid-template-columns: 30.7% minmax(0, 1fr); gap: 4.38cqw; align-items: center; padding: 1cqw .55cqw 1.18cqw 1.25cqw; }
.contact-brand { border-right: 1px solid #ccddcf; padding-right: 1.6cqw; }
.contact-brand .logo { margin-bottom: .62cqw; }
.contact-brand h2 { font-size: max(1.05rem, 2.65cqw); font-weight: 900; }
.contact-brand p { margin-top: .75cqw; font-size: max(.85rem, 1.5cqw); font-weight: 800; line-height: 1.4; }
.contact-form h2 { font-size: max(1.06rem, 2.46cqw); line-height: 1.2; margin-bottom: .58cqw; }
#inquiry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .61cqw 1.42cqw; }
#inquiry input, #inquiry textarea { border: 1px solid #d5e0d8; border-radius: .62cqw; padding: 0 1.15cqw; background: white; font-size: max(.85rem, 1.43cqw); font-weight: 700; }
#inquiry input { min-height: max(1.35rem, 2.26cqw); }
#inquiry textarea { grid-column: 1 / -1; min-height: 4.76cqw; resize: vertical; padding-block: .24cqw; }
#inquiry input::placeholder, #inquiry textarea::placeholder { color: #60626a; opacity: 1; }
#inquiry .button { grid-column: 1 / -1; min-height: max(1.65rem, 2.8cqw); padding-block: .13em; font-size: max(.85rem, 1.66cqw); }


dialog { width: min(90vw, 28rem); padding: 1.25rem; color: var(--body); border: 1px solid var(--line); border-radius: .9rem; }
dialog::backdrop { background: #08241575; }
dialog h2 { font-size: 1.3rem; }
dialog p, .detail-photo { margin-top: .85rem; }
.detail-photo { aspect-ratio: var(--w) / var(--h); border-radius: .5rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }

[lang="en"] .header-actions { margin-left: 0; }
[lang="en"] .header .brand > :last-child { white-space: normal; }
[lang="en"] .nav { flex-wrap: wrap; }
[lang="en"] .hero h1 > span + span { font-size: .59em; letter-spacing: 0; }
[lang="en"] .hero-copy p { font-size: max(.9rem, 2cqw); white-space: normal; }

@media (max-width: 920px) {
  .header-actions { margin-left: 0; }
}

@media (max-width: 780px) {
  .container { width: calc(100% - 2rem); }
  .header { flex-wrap: wrap; gap: .65rem; padding: .7rem 0; }
  .header .brand { gap: .4rem; }
  .header .logo { width: 5.25rem; }
  .header-actions .button { width: auto; padding-inline: .9rem; }
  .header .nav { order: 1; flex: 1 0 100%; border: 0; padding: .45rem 0; justify-content: space-between; }
  .hero { grid-template-columns: 1.235fr 1fr; gap: .7rem; }
  .hero-copy { grid-column: 1 / -1; padding: .5rem 0 .35rem; }
  .hero h1 { font-size: clamp(2.5rem, 9cqw, 4.4rem); }
  .hero-copy p { margin-top: .75rem; font-size: clamp(1rem, 4.6cqw, 1.6rem); white-space: normal; }
  .hero-buttons { gap: .65rem; margin-top: 1rem; }
  .hero-buttons .button { padding: .65rem .9rem; }
  .hero-photo { border-radius: .48rem; }
  .photo-caption { top: .42rem; left: .42rem; border-radius: .32rem; }
  .services { margin-top: 1rem; padding: .8rem; gap: .7rem; }
  .service + .service { padding-left: .7rem; }
  .services .button { width: auto; }
  .find { margin-top: 1.3rem; }
  .search { width: 100%; margin-top: .65rem; }
  .search-field { gap: .8rem; padding-inline: .8rem; }
  .search .button { min-width: 3.4rem; }
  .search-status { width: 100%; }
  .directories { margin-top: 1rem; gap: .8rem; }
  .directory { border-radius: .5rem; }
  .directory h2 { padding: .38rem .7rem; }
  .category-list { padding: .36rem .7rem .65rem; }
  .manufacturing { column-gap: .65rem; }
  .category-list button { min-height: 1.75rem; }
  .household .ungrouped { margin: .35rem 0 0; }
  .household .ungrouped button { padding-inline: .5rem; }
  .featured { margin-top: 1rem; }
  .cards { gap: .6rem; margin-top: .7rem; }
  .card { border-radius: .45rem; }
  .card-title { padding: .35rem .5rem; }
  .contact { margin-top: 1.2rem; }
  .contact-inner { padding: 1rem 0; gap: 1rem; grid-template-columns: 35% 1fr; }
  .contact-brand .logo { width: 5rem; }
  .contact-brand p { margin-top: .38rem; }
  #inquiry { gap: .35rem; }
  #inquiry input, #inquiry textarea { min-height: 2rem; padding: .25rem .45rem; border-radius: .3rem; }
  #inquiry .button { min-height: 2rem; }
}

@media (max-width: 540px) {
  .header .logo { width: 4.15rem; }
  .header .brand > :last-child { font-size: .92rem; white-space: normal; }
  .header-actions .button { display: none; }
  .header-actions .languages button { padding-inline: .38em; }
  .header .nav { flex-wrap: wrap; }
  .services { grid-template-columns: 1fr 1fr; }
  .services .button { grid-column: 1 / -1; justify-self: start; }
  .directories { grid-template-columns: 1fr; }
  .category-list button { min-height: 2rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-inner { grid-template-columns: 1fr; gap: .9rem; }
  .contact-brand { padding-bottom: .75rem; border-right: 0; border-bottom: 1px solid #ccddcf; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* 參考圖的標題為同一行縮寫，斜線與文字分開對齊。 */
.hero-acronym {
  display: flex;
  align-items: center;
  gap: .071em;
  white-space: nowrap;
}
.hero-slash {
  position: relative;
  inline-size: .64em;
  block-size: .8em;
}
.hero-slash::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: .065em;
  height: .95em;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(43deg);
}
.hero h1 > span + span {
  -webkit-text-stroke: .36px currentColor;
}
@media (min-width: 781px) {
  .header { padding-bottom: 1.63cqw; }
  .hero-buttons { margin-top: 3.67cqw; }
  .find { margin-top: 2.26cqw; }
  .search { height: max(2.55rem, 4.36cqw); }
}
@media (min-width: 921px) {
  .header .nav { margin-left: 1.48cqw; }
  .header-actions .button { justify-self: end; }
}
@media (max-width: 540px) {
  [lang="en"] .header .nav { gap: .5rem .8rem; }
}


.hero-photo {
  container-type: inline-size;
}
.cnc {
  --caption-offset: 3.05cqw;
  --caption-width: 42.5cqw;
  --caption-height: 10.3cqw;
  --caption-font: 5.64cqw;
}
.stamping {
  --caption-offset: 3.74cqw;
  --caption-width: 43.75cqw;
  --caption-height: 12.45cqw;
  --caption-font: 6.94cqw;
}
.hero-photo .photo-caption {
  display: flex;
  align-items: center;
  inset: var(--caption-offset) auto auto var(--caption-offset);
  min-width: var(--caption-width);
  min-height: var(--caption-height);
  padding: .13em .42em;
  border-radius: .38em;
  font-size: max(.85rem, var(--caption-font));
  font-weight: 750;
  line-height: 1.22;
}
.category-list button, .card-title { font-weight: 720; }
@media (min-width: 781px) {
  .hero-acronym { font-size: .945em; }
  .hero-copy p { margin-top: 1.47cqw; }
}

/* 全幅版面、字級與間距。 */
:root {
  --page-gutter: clamp(1rem, 2.15vw, 2.75rem);
  --ink: #10271a;
  --body: #243127;
  --background: #fdfefd;
  --green: #a9cc82;
  --green-hover: #9bbf73;
  --pale: #eef5e9;
  --line: #dfe9e0;
  --outline: #adc6b4;
}

.page { width: 100%; max-width: none; }
.container { width: calc(100% - 2 * var(--page-gutter)); }
.button {
  min-height: 2.625rem;
  border-radius: .5rem;
  padding: .5em 1.05em;
  font-size: clamp(.875rem, .82rem + .26vw, 1rem);
  font-weight: 700;
}
.arrow { font-size: 1.15em; }

.header {
  width: 100%;
  padding-inline: var(--page-gutter);
  gap: clamp(1rem, 2vw, 2.25rem);
}
.header {
  padding-block: .72rem;
  min-height: 4.45rem;
  border-bottom: 1px solid var(--line);
}
.brand { gap: .58rem; font-weight: 750; }
.header .logo, .contact-brand .logo { width: clamp(4.5rem, 6vw, 6.25rem); }
.header .brand > :last-child { font-size: clamp(.95rem, .83rem + .34vw, 1.25rem); }
.nav {
  font-size: clamp(.85rem, .8rem + .25vw, .975rem);
  font-weight: 650;
  gap: clamp(.85rem, 2.3vw, 2.55rem);
}
.header .nav {
  justify-content: center;
  border: 0;
  margin: 0;
  padding: 0;
}
.header-actions {
  margin: 0;
  gap: .32rem;
  justify-items: stretch;
}
.header .button, .services .button {
  width: auto;
  min-height: 2.4rem;
  font-size: clamp(.85rem, .8rem + .24vw, .975rem);
}
.languages button {
  font-size: .85rem;
  font-weight: 600;
  padding-inline: .52em;
  line-height: 1.25;
}
.languages [aria-pressed="true"] { color: #255c37; }

.hero {
  margin-top: clamp(.85rem, 1.6vw, 1.9rem);
  grid-template-columns: 1.06fr 1.08fr .87fr;
  gap: clamp(.65rem, 1.35vw, 1.65rem);
}
.hero-copy {
  align-self: center;
  min-width: 0;
  padding: .75rem 0;
}
.hero h1 {
  font-size: clamp(2rem, 1.45rem + 2.25vw, 4rem);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.hero-acronym { font-size: .95em; }
.hero-slash::before { width: .045em; }
.hero h1 > span + span {
  margin-top: .18em;
  font-size: .87em;
  letter-spacing: .04em;
  -webkit-text-stroke: 0;
}
[lang="en"] .hero h1 > span + span { font-size: .69em; letter-spacing: 0; }
.hero-copy p, [lang="en"] .hero-copy p {
  margin-top: .95rem;
  color: #395646;
  font-size: clamp(1rem, .91rem + .7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
  white-space: normal;
}
.hero-buttons {
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: clamp(1rem, 2.1vw, 1.95rem);
}
.hero-buttons .button, .hero-buttons .button:first-child, .hero-buttons .button:last-child {
  min-width: 0;
  min-height: 2.625rem;
  font-size: clamp(.875rem, .8rem + .33vw, 1rem);
}

/* 保留核准的主圖比例，重新設定照片可見範圍及標籤。 */
.hero-photo {
  height: var(--photo-height);
  aspect-ratio: auto;
  min-width: 0;
  border-radius: clamp(.55rem, .8vw, .95rem);
  background: #e9eeeb;
}
.cnc {
  --photo-height: clamp(19rem, 35vw, 35rem);
  --hero-image: url("../assets/company-images/cnc.png");
  --hero-focus: center 53%;
}
.stamping {
  --photo-height: clamp(13rem, 25vw, 24rem);
  --hero-image: url("../assets/company-images/stamping.png");
  --hero-focus: center 52%;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-image) var(--hero-focus) / cover no-repeat;
}
.hero-photo .photo-caption {
  inset: auto auto .72rem .72rem;
  min-width: 0;
  min-height: 0;
  max-width: calc(100% - 1.44rem);
  padding: .4em .66em;
  border-radius: .32rem;
  background: #143421;
  font-size: .875rem;
  font-weight: 650;
}

.services.container {
  width: 100%;
  border-radius: 0;
  gap: clamp(.8rem, 2vw, 2rem);
  padding: clamp(.85rem, 1.5vw, 1.45rem) var(--page-gutter);
  min-height: 0;
  margin-top: clamp(1rem, 2vw, 2rem);
  border-block: 1px solid #e6efe3;
}
.service h2 {
  font-size: clamp(1.125rem, 1rem + .65vw, 1.65rem);
  line-height: 1.25;
  font-weight: 720;
}
.service p {
  font-size: clamp(.85rem, .83rem + .22vw, 1rem);
  margin-top: .3rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
}
.service + .service { padding-left: clamp(.85rem, 3vw, 3.6rem); }

.find, .featured { margin-top: clamp(1.25rem, 2.5vw, 2.65rem); }
.find h2, .featured h2 {
  font-size: clamp(1.3rem, 1.05rem + .85vw, 1.95rem);
  font-weight: 725;
  line-height: 1.3;
  letter-spacing: .015em;
}
.search, .search-status { width: 100%; }
.search {
  height: 2.875rem;
  margin-top: .9rem;
  border-radius: .6rem;
  border-color: var(--outline);
}
.search-field { padding-inline: .95rem; gap: .9rem; }
.search input {
  font-size: clamp(.875rem, .84rem + .22vw, 1rem);
  font-weight: 550;
}
.search .button {
  min-width: clamp(3.5rem, 6vw, 6.2rem);
  font-size: clamp(.875rem, .83rem + .23vw, 1rem);
  letter-spacing: 0;
}

.directories {
  gap: clamp(.8rem, 1.45vw, 1.7rem);
  margin-top: clamp(1rem, 1.75vw, 1.8rem);
}
.directory, .card { border-color: var(--line); border-radius: .7rem; }
.directory h2 {
  font-size: clamp(1.08rem, .98rem + .43vw, 1.4rem);
  font-weight: 720;
  padding: .67rem clamp(.75rem, 1.45vw, 1.45rem);
  line-height: 1.3;
}
.category-list {
  padding: .28rem clamp(.75rem, 1.45vw, 1.45rem) .7rem;
}
.manufacturing { column-gap: clamp(.7rem, 2vw, 2.5rem); }
.category-list button {
  min-height: 2.3rem;
  padding: .2rem .08rem;
  font-size: clamp(.85rem, .83rem + .2vw, 1rem);
  font-weight: 575;
  line-height: 1.4;
  border-bottom-color: #e8eee9;
}
.household .ungrouped { margin: .4rem 0 0; }
.household .ungrouped button {
  min-height: 2.45rem;
  border-radius: .4rem;
  padding-inline: .55rem;
}
.featured h2 { gap: clamp(.75rem, 1.5vw, 1.6rem); }
.cards { gap: clamp(.7rem, 1.2vw, 1.4rem); margin: .95rem 0 0; }
.card-title {
  min-height: 2.8rem;
  padding: .5rem .7rem;
  font-size: clamp(.85rem, .81rem + .24vw, 1rem);
  font-weight: 625;
  line-height: 1.4;
}

.contact { margin-top: clamp(1.4rem, 2.4vw, 2.65rem); }
.contact-inner {
  padding-block: clamp(1.2rem, 2vw, 2rem);
  padding-inline: 0;
  grid-template-columns: 30% minmax(0, 1fr);
  gap: clamp(1rem, 2.6vw, 2.7rem);
}
.contact-brand { padding-right: 1rem; }
.contact-brand .logo { margin-bottom: .48rem; }
.contact-brand h2, .contact-form h2 {
  font-size: clamp(1.1rem, 1rem + .55vw, 1.55rem);
  font-weight: 720;
  line-height: 1.35;
}
.contact-brand p {
  margin-top: .65rem;
  font-size: clamp(.85rem, .82rem + .23vw, 1rem);
  font-weight: 500;
  line-height: 1.6;
}
.contact-form h2 { margin-bottom: .6rem; }
#inquiry { gap: .5rem .65rem; }
#inquiry input, #inquiry textarea {
  min-height: 2.55rem;
  border-radius: .45rem;
  padding: .4rem .62rem;
  font-size: clamp(.85rem, .82rem + .22vw, 1rem);
  font-weight: 500;
}
#inquiry textarea { min-height: 4.25rem; }
#inquiry .button {
  min-height: 2.625rem;
  font-size: clamp(.875rem, .8rem + .26vw, 1rem);
}

dialog { border-radius: .7rem; }
dialog h2 { font-size: 1.12rem; font-weight: 720; }

@media (max-width: 780px) {
  .header { flex-wrap: wrap; padding-block: .65rem; row-gap: .5rem; }
  .header .nav { padding-block: .4rem; justify-content: space-between; }
  .hero { grid-template-columns: 1.2fr 1fr; }
  .hero h1 { font-size: clamp(1.9rem, 1.25rem + 2.65vw, 3rem); }
  .hero-copy { padding: .3rem 0 .55rem; }
  .hero-copy p, [lang="en"] .hero-copy p { margin-top: .65rem; }
  .hero-buttons { margin-top: .9rem; }
  .cnc { --photo-height: clamp(10.5rem, 52vw, 21rem); }
  .stamping { --photo-height: clamp(8.5rem, 39vw, 16rem); }
  .service + .service { padding-left: .85rem; }
  .search { margin-top: .65rem; }
}
@media (max-width: 540px) {
  .header { column-gap: .5rem; }
  .header .logo { width: 4.05rem; }
  .header .brand { gap: .38rem; flex: 1; }
  .header .nav { column-gap: .65rem; row-gap: .55rem; }
  .brand > :last-child { min-width: 0; }
  .hero h1 > span + span { font-size: .88em; }
  .hero-photo .photo-caption { bottom: .48rem; left: .48rem; max-width: calc(100% - .96rem); }
  .services .button { min-height: 2.35rem; }
  .category-list button { min-height: 2.5rem; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-brand { padding-right: 0; }
}


@media (min-width: 541px) and (max-width: 780px) {
  .contact-brand p br { display: none; }
}

.company-footer {
  border-top: 1px solid var(--line);
  background: var(--background);
  color: #46564b;
  padding-block: .9rem;
  text-align: center;
  font-size: .875rem;
  line-height: 1.55;
}
.company-footer p { margin: 0 var(--page-gutter); }
.company-footer-credit { display: inline-block; }
.company-footer-credit a { color: #265c36; font-weight: normal; text-decoration: none; }
.company-footer-credit a:hover { text-decoration: underline; text-underline-offset: .25em; }
.company-footer-credit a:focus-visible { outline: 2px solid #377d4b; outline-offset: 3px; }
