// Shared data + copy for Ajiko no Yado
// Real photography, final A-direction (editorial / HOSHINOYA-esque).

const _R = (window.__resources) || {};
const PHOTOS = {
  sunset:   _R.sunset    || 'img/sunset.jpg',
  bedroom:  _R.bedroom   || 'img/bedroom.jpg',
  bathWide: _R.bathWide  || 'img/bath-wide.jpg',
  bathWater:_R.bathWater || 'img/bath-water.jpg',
  dining:   _R.dining    || 'img/dining.jpg',
  tatamiL:  _R.tatamiL   || 'img/tatami-large.jpg',
  tatamiTV: _R.tatamiTV  || 'img/tatami-tv.jpg',
  garden:   _R.garden    || 'img/garden.jpg',
  corridor: _R.corridor  || 'img/corridor.jpg',
  port:     _R.port      || 'img/port.jpg',
  himono:   _R.himono    || 'img/himono.jpg',
  floorplan:_R.floorplan || 'img/floorplan.png',
};

// Guest reviews — shown in both languages as authentic Japanese voices
const REVIEWS = [
  { text: '建物の中は綺麗で、寝具類も綺麗で快適で過ごしやすかったです。調理器具やお皿も揃っていて、使いやすかったです。' },
  { text: 'お得！\n管理人さんが親切で丁寧な対応でした。' },
  { text: '綺麗に清掃してくれてあり、家族一同楽しいお正月を過ごすことができました。' },
  { text: '管理人の方が優しかった。夜の景色がきれい。周りが暗いので、遠くの熱海の夜景がよく見える。建物が広い。' },
  { text: 'とてもいい滞在ができました。ありがとうございました。\nお家が広くて良かったです。管理されている方が近くに住んでいて、チェックイン時に親切に対応して下さいました。神社が目の前にあり、守られている感じがして最高でした。日当たりが良いからか、２階のお部屋が畳を干したようないい匂いで、おじいちゃんとおばあちゃんの家を思い出し懐かしい感じがしました。' },
  { text: '連泊でもう一度泊まりたい！\n広くて綺麗でした。古民家らしい古い建物の作りを残しつつも、綺麗にリノベーションされて清潔感ありました。おばあちゃんの家に来たような安心感。' },
];

const COPY = {
  ja: {
    brand: '網代温泉・源泉かけ流し',
    name: '阿治古の宿',
    nameRuby: 'あじこのやど',
    heroLead: '好きな時間に湯を満たし、夜更けに縁側で笑い合う。旅館のチャイムも、他人の視線もない——そんな旅が、ここにある。\n二〇二六年一月リニューアルオープン。熱海・網代に灯る、築百年の源泉かけ流し一棟貸し。',
    book: 'ご予約',
    nav: {
      concept: 'コンセプト',
      rooms: '客室・間取り',
      onsen: '温泉',
      area: '網代の街',
      price: '料金・ご予約',
      reviews: 'お客様の声',
      info: 'ご確認事項',
      gallery: 'ギャラリー',
    },
    concept: {
      kicker: '01 — CONCEPT',
      title: '集う夜と、\nひとりになる朝が、同居する家。',
      lead: '大広間で語り合う深夜も、縁側でひとり茶を淹れる早朝も。\n三世代の家族でも、十数人の仲間でも、男女混じりの旅でも——\n同じ屋根の下にいながら、互いの時間を尊重できる。\nそれが、阿治古の宿が一棟まるごとお渡しする理由です。',
      points: [
        { n: '壱', k: '集まる場所と、戻る場所', v: '大広間・LDK・縁側で全員が集い、二階の和室で各自の時間に戻る。一日に何度も、関係の濃度を切り替えられる家です。' },
        { n: '弐', k: '三世代でも、仲間うちでも', v: '世帯ごと・男女ごとに六部屋を割り当て可能。気心の知れた仲間旅から、三世代の家族旅行、合宿利用まで対応します。' },
        { n: '参', k: '古民家のまま、水回りは最新', v: '築百年の柱と梁はそのままに、キッチン・浴室・トイレだけをモダンに。"不便という贅沢"を、ゆっくりと。' },
      ],
    },
    onsen: {
      kicker: '02 — ONSEN',
      title: '二十四時間、\n自分たちだけの「本物の温泉」。',
      lead: '浴室には網代温泉の源泉を注げます。落ち着いた改修後の空間で、誰にも気兼ねなく深夜も早朝も、掛け流しを堪能。湯上がりに畳でごろりと横になる——この究極の動線は、一棟貸しだけの特権です。',
      meta: [
        { k: '源泉', v: '網代温泉' },
        { k: '湯の種類', v: '源泉かけ流し' },
        { k: 'ご利用時間', v: '24 時間' },
        { k: '貸切', v: '一棟・家族のみ' },
      ],
    },
    rooms: {
      kicker: '03 — ROOMS',
      title: '分けて、集まる。\n一棟を自由に使う間取り。',
      lead: '和室・洋間・縁側。世帯ごとに部屋を割り当てるもよし、皆で大広間に集うもよし。誰かが湯に入り、誰かが縁側で茶を飲む。そんな、家族の時間のかたちを選べます。',
      stats: [
        { n: '15', u: '名まで', en: 'Max guests' },
        { n: '6', u: '室', en: 'Rooms' },
        { n: '100', u: '年', en: 'Years old' },
        { n: '1', u: '棟貸切', en: 'Whole house' },
      ],
    },
    area: {
      kicker: '04 — AREA',
      title: '網代は、暮らしの匂いのする港町。',
      lead: 'かつて「ひもの銀座」と呼ばれた漁港の街。干物店や海鮮料理の名店が徒歩圏内に軒を連ね、網代駅からも平坦な道を歩いて約十五分。\n日中は熱海で遊び、夜は網代で静かにくつろぐ——そんな旅の拠点として。',
      spots: [
        { k: '網代漁港', v: '徒歩 5 分' },
        { k: '干物店街', v: '徒歩 5–10 分' },
        { k: '網代駅', v: '徒歩 15 分' },
        { k: '熱海駅', v: '電車 7 分' },
      ],
    },
    price: {
      kicker: '05 — RESERVE',
      title: '料金・ご予約',
      lead: '最新の料金・空室状況・プランはBooking.comにてご確認いただけます。\n素泊まりプランから連泊割引まで、各種プランをご用意しております。',
    },
    reviews: {
      kicker: '06 — REVIEWS',
      title: 'お客様の声',
      source: 'Booking.com ゲストレビューより',
    },
    info: {
      kicker: '07 — NOTES',
      title: '古民家の、ありのままを\n愛していただくために。',
      items: [
        { k: '水回りは最新設備', v: 'キッチン・トイレ・浴室はリノベーションを行っております。' },
        { k: '古民家の特徴', v: '階段の傾斜や気密性など、百年前の構造をあえて残しています。現代のホテルにはない「不便という贅沢」をお楽しみください。' },
        { k: '静寂を守るために', v: '住宅街のため、22時以降の宴会騒ぎ等は厳禁です。静かに語らう大人の夜を。' },
        { k: 'キッチンについて', v: '調味料類のご用意はございません。お好みのものをご持参ください。コンロはカセットコンロをご利用いただけます。' },
        { k: 'アクセス', v: '最寄駅から徒歩15分ですが、お車でのご来訪を推奨しております。' },
      ],
    },
    footer: {
      addr: '〒413-0103 静岡県熱海市網代',
      since: 'Renewed in January 2026 · 築百年',
    },
  },
  en: {
    brand: 'Ajiro Onsen · free-flowing from the source',
    name: 'Ajiko no Yado',
    nameRuby: 'A century-old machiya, yours alone',
    heroLead: 'Fill the bath whenever you like. Laugh on the engawa past midnight.\nNo bells, no schedules, no strangers — just your people, your pace.\nGrand reopening January 2026. A century-old kominka in Ajiro, Atami.',
    book: 'Reserve',
    nav: {
      concept: 'Concept',
      rooms: 'Rooms',
      onsen: 'Hot Spring',
      area: 'Ajiro',
      price: 'Reserve',
      reviews: 'Reviews',
      info: 'Notes',
      gallery: 'Gallery',
    },
    concept: {
      kicker: '01 — CONCEPT',
      title: 'The night we gather.\nThe morning we each wander.\nBoth live here.',
      lead: 'Late-night talk around the main hall, or a quiet cup of tea alone on the engawa at dawn.\nFamily across three generations, a dozen friends, a mixed group —\nunder one roof, each person\'s time remains their own.\nThat is why Ajiko no Yado is handed to you, whole.',
      points: [
        { n: 'i',   k: 'A place to gather, and a place to return to', v: 'Everyone meets in the main hall, the living room, the engawa — then retreats to their own tatami room. The closeness of the group can shift several times in a single day.' },
        { n: 'ii',  k: 'Three generations or a crowd of friends', v: 'Six rooms can be split by household, by gender, or by mood. Family trips, friend getaways, mixed-group retreats — all welcome.' },
        { n: 'iii', k: 'Old frame, new plumbing', v: 'The hundred-year columns and beams stand as they always have; only the kitchen, bath, and toilet have been updated. Please enjoy the luxury of mild inconvenience.' },
      ],
    },
    onsen: {
      kicker: '02 — ONSEN',
      title: 'A real hot spring,\ntwenty-four hours, for you alone.',
      lead: 'The bath draws directly from the Ajiro source. In the newly refitted space, at midnight or dawn — whenever — the water runs free. A quick collapse onto the tatami after a soak. This is what a whole-house stay is for.',
      meta: [
        { k: 'Source', v: 'Ajiro Onsen' },
        { k: 'Type', v: 'Free-flowing' },
        { k: 'Hours', v: '24 h' },
        { k: 'Private', v: 'Whole house' },
      ],
    },
    rooms: {
      kicker: '03 — ROOMS',
      title: 'Divide, then gather.\nA whole house to arrange as you like.',
      lead: 'Tatami rooms, a western parlor, an engawa verandah. Assign rooms by household, or all gather in the main hall. Someone in the bath, someone sipping tea on the porch — the shape of family time is yours to choose.',
      stats: [
        { n: '15', u: 'guests', en: 'Max guests' },
        { n: '6',  u: 'rooms',  en: 'Rooms' },
        { n: '100',u: 'years',  en: 'Years old' },
        { n: '1',  u: 'house',  en: 'Whole house' },
      ],
    },
    area: {
      kicker: '04 — AREA',
      title: 'Ajiro — a port town\nwhere everyday life still lingers.',
      lead: 'Once nicknamed "Himono Ginza" for its dried-fish shops, Ajiro is a working harbor. Markets and seafood restaurants are within a short walk, and the station is a flat fifteen minutes away.\nSpend the day in Atami, and return to the quiet of Ajiro at night.',
      spots: [
        { k: 'Ajiro Harbor', v: '5 min walk' },
        { k: 'Himono Row',   v: '5–10 min' },
        { k: 'Ajiro Sta.',   v: '15 min walk' },
        { k: 'Atami Sta.',   v: '7 min by train' },
      ],
    },
    price: {
      kicker: '05 — RESERVE',
      title: 'Rates & Reservations',
      lead: 'Current rates, availability, and all plans are available on Booking.com.\nFrom single-night stays to extended multi-night discounts.',
    },
    reviews: {
      kicker: '06 — REVIEWS',
      title: 'Guest Voices',
      source: 'From Booking.com guest reviews',
    },
    info: {
      kicker: '07 — NOTES',
      title: 'Please love the old house\nfor what it is.',
      items: [
        { k: 'Modern water lines', v: 'Kitchen, toilet, and bath have been fully renovated.' },
        { k: 'The old frame',      v: 'Steep stairs, drafty joinery — the 100-year structure is kept on purpose. An inconvenience you will come to love.' },
        { k: 'Please be quiet',    v: 'This is a residential street. No loud parties after 22:00. A grown-up evening of soft conversation, please.' },
        { k: 'About the kitchen',  v: 'No seasonings are stocked; please bring your own. A portable cassette stove is provided for cooking.' },
        { k: 'Access',             v: '15 min walk from the station, but arriving by car is recommended.' },
      ],
    },
    footer: {
      addr: 'Ajiro, Atami-shi, Shizuoka 413-0103',
      since: 'Renewed in January 2026 · c. 1926',
    },
  },
};

Object.assign(window, { PHOTOS, COPY, REVIEWS });
